Displaying 2 results from an estimated 2 matches for "a790e47".
Did you mean:
1790447
2007 Jun 06
0
Branch 'as' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
...UE;
+ }
+ /* 2) the global object */
+ return swfdec_as_object_delete_variable (SWFDEC_AS_OBJECT (frame)->context->global, variable);
+}
+
/**
* swfdec_as_frame_set_target:
* @frame: a #SwfdecAsFrame
diff --git a/libswfdec/swfdec_as_frame.h b/libswfdec/swfdec_as_frame.h
index 7bb41b4..a790e47 100644
--- a/libswfdec/swfdec_as_frame.h
+++ b/libswfdec/swfdec_as_frame.h
@@ -76,6 +76,8 @@ void swfdec_as_frame_preload (SwfdecAs
SwfdecAsObject *swfdec_as_frame_find_variable (SwfdecAsFrame * frame,
const char * variable);
+gboolean swfdec_as_frame_delete_variable (SwfdecAsFrame *...
2007 Jun 27
0
Branch 'as' - 16 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_script_function.c
...turn_if_fail (target == NULL || SWFDEC_IS_AS_OBJECT (target));
- frame->target = target;
+ if (target) {
+ frame->target = target;
+ } else {
+ frame->target = frame->original_target;
+ }
}
void
diff --git a/libswfdec/swfdec_as_frame.h b/libswfdec/swfdec_as_frame.h
index a790e47..1473fa4 100644
--- a/libswfdec/swfdec_as_frame.h
+++ b/libswfdec/swfdec_as_frame.h
@@ -47,11 +47,12 @@ struct _SwfdecAsFrame {
const SwfdecAsValue * argv; /* arguments */
/* debugging */
char * function_name; /* name of function */
- /* normal execution */
+ /* script execution */...