search for: native_func

Displaying 6 results from an estimated 6 matches for "native_func".

Did you mean: native_funcs
2007 Jul 26
0
5 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player_as.c
.../swfdec_player_as.c @@ -21,15 +21,20 @@ #include "config.h" #endif +/* NB: include this first, it redefines SWFDEC_AS_NATIVE */ +#include "swfdec_asnative.h" + #include "swfdec_player_internal.h" #include "swfdec_as_function.h" #include "swfdec_as_native_function.h" #include "swfdec_as_object.h" #include "swfdec_as_strings.h" -#include "swfdec_asnative.h" #include "swfdec_debug.h" #include "swfdec_internal.h" #include "swfdec_interval.h" +/* FIXME: to avoid duplicate definitions */ +#...
2007 Dec 03
0
libswfdec/Makefile.am
...func) SWFDEC_AS_CONSTRUCTOR(x,y,func,NULL)" \ && echo "#define SWFDEC_AS_CONSTRUCTOR(x,y,func,type) { x, y, func, G_STRINGIFY (func), type }," \ && echo "static const struct { guint x, y; SwfdecAsNative func; const char *name; GType (* get_type) (void); } native_funcs[] = {" \ - && grep -he "^SWFDEC_AS_CONSTRUCTOR" $(libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES) \ - && grep -he "^SWFDEC_AS_NATIVE" $(libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES) \ + && grep -he "^SWFDEC_AS_CONSTRUCTOR" $(libswfdec_so...
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
...at SWFDEC_MAJORMINOR@_la_SOURCES) \ + && echo "#undef SWFDEC_AS_NATIVE" \ + && echo "#define SWFDEC_AS_NATIVE(x,y,func) { x, y, func, G_STRINGIFY (func) }," \ + && echo "static const struct { guint x, y; SwfdecAsNative func; const char *name; } native_funcs[] = {" \ + && grep -he "^SWFDEC_AS_NATIVE" $(libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES) \ + && echo " { 0, 0, NULL }" \ + && echo "};") >> xgen-san \ + && (cmp -s xgen-san swfdec_asnative.h || cp xgen-san swfdec_asna...
2008 Jun 15
1
14 commits - configure.ac swfdec/.gitignore swfdec-gtk/swfdec_gtk_loader.c swfdec-gtk/swfdec_playback_alsa.c swfdec/Makefile.am swfdec/swfdec_asnative.h swfdec/swfdec_as_string.c swfdec/swfdec_audio.c swfdec/swfdec_audio_load.c swfdec/swfdec_audio_load.h
...func) SWFDEC_AS_CONSTRUCTOR(x,y,func,NULL)" \ && echo "#define SWFDEC_AS_CONSTRUCTOR(x,y,func,type) { x, y, func, G_STRINGIFY (func), type }," \ - && echo "static const struct { guint x, y; SwfdecAsNative func; const char *name; GType (* get_type) (void); } native_funcs[] = {" \ + && echo "const struct { guint x, y; SwfdecAsNative func; const char *name; GType (* get_type) (void); } native_funcs[] = {" \ && grep -he "^SWFDEC_AS_CONSTRUCTOR" $(libswfdec_source_files) \ && grep -he "^SWFDEC_AS_NATIVE&q...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...fdec_as_frame_internal.h | 2 libswfdec/swfdec_as_function.c | 37 - libswfdec/swfdec_as_function.h | 4 libswfdec/swfdec_as_internal.h | 6 libswfdec/swfdec_as_interpret.c | 28 - libswfdec/swfdec_as_native_function.c | 34 + libswfdec/swfdec_as_native_function.h | 3 libswfdec/swfdec_as_number.c | 26 - libswfdec/swfdec_as_object.c | 98 +++- libswfdec/swfdec_as_object.h | 10 libswfdec/swfdec_as_script_function...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
...SWFDEC_AS_STR_rightMargin, + SWFDEC_AS_STR_indent, + SWFDEC_AS_STR_leading, + NULL + }; SwfdecAsFunction *function; SwfdecAsObject *tmp; SwfdecAsValue val; @@ -1172,37 +1188,14 @@ swfdec_text_format_construct (SwfdecAsContext *cx, SwfdecAsObject *object, function = swfdec_as_native_function_new (cx, SWFDEC_AS_STR_getTextExtent, swfdec_text_format_getTextExtent, 0, NULL); cx->Function = tmp; + if (function != NULL) { + SWFDEC_AS_VALUE_SET_OBJECT (&val, SWFDEC_AS_OBJECT (function)); + swfdec_as_object_set_variable (object, SWFDEC_AS_STR_getTextExtent, &va...