search for: swfdec_action_is_instance_of

Displaying 3 results from an estimated 3 matches for "swfdec_action_is_instance_of".

2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c test/trace
...+ val = swfdec_as_stack_pop (cx); + if (SWFDEC_AS_VALUE_IS_OBJECT (val)) { + object = SWFDEC_AS_VALUE_GET_OBJECT (val); + } else { + object = NULL; + } + + + if (object == NULL || constructor == NULL) { + SWFDEC_AS_VALUE_SET_NULL (swfdec_as_stack_push (cx)); + return; + } + + if (swfdec_action_is_instance_of (object, constructor)) { + SWFDEC_AS_VALUE_SET_OBJECT (swfdec_as_stack_push (cx), object); + } else { + SWFDEC_AS_VALUE_SET_NULL (swfdec_as_stack_push (cx)); + } +} + +static void swfdec_action_extends (SwfdecAsContext *cx, guint action, const guint8 *data, guint len) { SwfdecAsValue *...
2007 Oct 26
0
2 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h test/trace
...fi> Date: Fri Oct 26 12:08:53 2007 +0300 Implement Implements ActionScript action diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c index e701ecf..1605a1a 100644 --- a/libswfdec/swfdec_as_interpret.c +++ b/libswfdec/swfdec_as_interpret.c @@ -2180,6 +2180,7 @@ swfdec_action_is_instance_of (SwfdecAsObject *object, { SwfdecAsValue val; SwfdecAsObject *class, *prototype; + GSList *iter; g_return_val_if_fail (SWFDEC_IS_AS_OBJECT (object), FALSE); g_return_val_if_fail (SWFDEC_IS_AS_OBJECT (constructor), FALSE); @@ -2194,6 +2195,10 @@ swfdec_action_is_instance_of (SwfdecAs...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):