Displaying 3 results from an estimated 3 matches for "swfdec_as_array_move_range".
2007 Aug 17
0
2 commits - libswfdec/swfdec_as_array.c test/trace
...flags, gpointer data)
+swfdec_as_array_foreach_move_range (SwfdecAsObject *object,
+ const char *variable, SwfdecAsValue *value, guint flags, gpointer data)
{
ForeachMoveRangeData *fdata = data;
gint32 idx;
@@ -172,12 +186,12 @@ swfdec_as_array_foreach_move_range (Swfd
}
static void
-swfdec_as_array_move_range (SwfdecAsArray *array, gint32 from_index, gint32 num, gint32 to_index)
+swfdec_as_array_move_range (SwfdecAsObject *object, gint32 from_index,
+ gint32 num, gint32 to_index)
{
- SwfdecAsObject *object = SWFDEC_AS_OBJECT (array);
ForeachMoveRangeData fdata = { from_index, num, to_index };...
2007 Aug 17
0
Branch 'vivi' - 9 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c
...flags, gpointer data)
+swfdec_as_array_foreach_move_range (SwfdecAsObject *object,
+ const char *variable, SwfdecAsValue *value, guint flags, gpointer data)
{
ForeachMoveRangeData *fdata = data;
gint32 idx;
@@ -172,12 +186,12 @@ swfdec_as_array_foreach_move_range (Swfd
}
static void
-swfdec_as_array_move_range (SwfdecAsArray *array, gint32 from_index, gint32 num, gint32 to_index)
+swfdec_as_array_move_range (SwfdecAsObject *object, gint32 from_index,
+ gint32 num, gint32 to_index)
{
- SwfdecAsObject *object = SWFDEC_AS_OBJECT (array);
ForeachMoveRangeData fdata = { from_index, num, to_index };...
2008 Jan 07
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_array.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_types.c libswfdec/swfdec_xml.c
...8,7 @@ swfdec_as_array_do_shift (SwfdecAsContext *cx, SwfdecAsObject *object,
if (length <= 0)
return;
- var = swfdec_as_double_to_string (object->context, 0);
- swfdec_as_object_get_variable (object, var, ret);
+ swfdec_as_object_get_variable (object, SWFDEC_AS_STR_0, ret);
swfdec_as_array_move_range (object, 1, length - 1, 0);
@@ -731,12 +729,12 @@ swfdec_as_array_do_shift (SwfdecAsContext *cx, SwfdecAsObject *object,
// we have to put the last element back, because we used move, not copy
SwfdecAsValue val;
if (length > 1) {
- var = swfdec_as_double_to_string (object-&...