Displaying 3 results from an estimated 3 matches for "27ef714".
Did you mean:
274f714
2007 Apr 17
0
Branch 'as' - 2 commits -
...uthor: Benjamin Otte <otte@gnome.org>
Date: Tue Apr 17 14:57:06 2007 +0200
Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec into as
Conflicts:
libswfdec/Makefile.am
libswfdec/swfdec_script.h
diff --cc libswfdec/swfdec_script.h
index 27ef714,b58252b..4b443b8
@@@ -50,10 -50,9 +50,10 @@@
/* must be first arg */
JSFunction * fun; /* function script belongs to or NULL */
SwfdecBuffer * buffer; /* buffer holding the script */
- unsigned int refcount; /* reference count */
+ guint refcount; /* reference count */...
2007 Mar 29
0
Branch 'as' - 9 commits - configure.ac doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_stack.c
...pt *script)
{
- g_return_if_fail (script != NULL);
+ g_return_val_if_fail (script != NULL, NULL);
+ g_return_val_if_fail (script->refcount > 0, NULL);
script->refcount++;
+ return script;
}
void
diff --git a/libswfdec/swfdec_script.h b/libswfdec/swfdec_script.h
index b8fdcbb..27ef714 100644
--- a/libswfdec/swfdec_script.h
+++ b/libswfdec/swfdec_script.h
@@ -79,7 +79,7 @@ SwfdecScript * swfdec_script_new_for_pla
SwfdecBits * bits,
const char * name,
unsigned int version);
-void swfdec_script_ref (SwfdecScript * script);
+SwfdecScript * swfdec_...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...-}
-
/**
* swfdec_script_execute:
* @script: a #SwfdecScript to execute
@@ -3149,6 +3083,7 @@ swfdec_script_execute (SwfdecScript *scr
return ok ? frame.rval : JSVAL_VOID;
}
+#endif
/*** UTILITY FUNCTIONS ***/
diff --git a/libswfdec/swfdec_script.h b/libswfdec/swfdec_script.h
index 27ef714..8a3741e 100644
--- a/libswfdec/swfdec_script.h
+++ b/libswfdec/swfdec_script.h
@@ -23,7 +23,6 @@
#include <libswfdec/swfdec.h>
#include <libswfdec/swfdec_types.h>
#include <libswfdec/swfdec_bits.h>
-#include <libswfdec/js/jsapi.h>
G_BEGIN_DECLS
@@ -48,7 +47,7 @@ typ...