Displaying 2 results from an estimated 2 matches for "swfdec_as_string_split".
Did you mean:
swfdec_as_string_split_5
2007 Aug 24
0
7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_string.c test/trace
...AsContext *cx, SwfdecAsObject *object,
guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
{
- const char *string = swfdec_as_object_to_string (cx, object);
+ const char *string = swfdec_as_string_object_to_string (cx, object);
int i;
const char *s;
gunichar c;
@@ -309,7 +322,7 @@ swfdec_as_string_split_5 (SwfdecAsContex
const char *str, *end, *delim;
int count;
- str = swfdec_as_object_to_string (cx, object);
+ str = swfdec_as_string_object_to_string (cx, object);
arr = SWFDEC_AS_ARRAY (swfdec_as_array_new (cx));
if (arr == NULL)
return;
@@ -363,7 +376,7 @@ swfdec_as_string_s...
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
...bject_set_variable_and_flags (proto, SWFDEC_AS_STR_constructor,
&val, SWFDEC_AS_VARIABLE_HIDDEN | SWFDEC_AS_VARIABLE_PERMANENT);
@@ -739,6 +736,9 @@ swfdec_as_string_init_context (SwfdecAsC
} else {
swfdec_as_object_add_function (proto, SWFDEC_AS_STR_split, SWFDEC_TYPE_AS_STRING, swfdec_as_string_split, 1);
}
+ SWFDEC_AS_VALUE_SET_OBJECT (&val, context->Object_prototype);
+ swfdec_as_object_set_variable_and_flags (proto, SWFDEC_AS_STR___proto__, &val,
+ SWFDEC_AS_VARIABLE_HIDDEN | SWFDEC_AS_VARIABLE_PERMANENT);
/* add properties to global object */
swfdec_as_object_ad...