Displaying 4 results from an estimated 4 matches for "context_run".
Did you mean:
context_fin
2007 Oct 26
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c
...ntext.h
+++ b/libswfdec/swfdec_as_context.h
@@ -63,6 +63,8 @@ struct _SwfdecAsContext {
unsigned int call_depth; /* current depth of call stack (equals length of frame list) */
SwfdecAsFrame * frame; /* topmost stack frame */
SwfdecAsFrame * last_frame; /* last frame before calling context_run */
+ gboolean throwing; /* whether we are throwing an error */
+ SwfdecAsValue throw_value; /* the error object being thrown */
/* stack */
SwfdecAsValue * base; /* stack base */
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index af79c7b..3ab6fc0 10064...
2007 Oct 26
0
8 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c test/trace
...ntext.h
+++ b/libswfdec/swfdec_as_context.h
@@ -63,8 +63,8 @@ struct _SwfdecAsContext {
unsigned int call_depth; /* current depth of call stack (equals length of frame list) */
SwfdecAsFrame * frame; /* topmost stack frame */
SwfdecAsFrame * last_frame; /* last frame before calling context_run */
- gboolean throwing; /* whether we are throwing an error */
- SwfdecAsValue throw_value; /* the error object being thrown */
+ gboolean exception; /* whether we are throwing an exception */
+ SwfdecAsValue exception_value; /* value of the exception being thrown, can be anything including...
2007 Apr 12
0
Branch 'as' - 14 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h
...d00ec..efcf513 100644
--- a/libswfdec/swfdec_as_context.c
+++ b/libswfdec/swfdec_as_context.c
@@ -36,6 +36,8 @@
/**
* SwfdecAsContextState
+ * @SWFDEC_AS_CONTEXT_NEW: the context is not yet initialized,
+ * swfdec_as_context_startup() needs to be called.
* @SWFDEC_AS_CONTEXT_RUNNING: the context is running normally
* @SWFDEC_AS_CONTEXT_INTERRUPTED: the context has been interrupted by a
* debugger
@@ -384,7 +386,7 @@ start:
goto out;
if (frame->function && frame->function->native) {
if (frame->argc >= fram...
2007 Jul 02
0
Branch 'as' - 24 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c
...c->add - spec->remove);
+ swfdec_as_stack_ensure_free (stack, spec->add - spec->remove);
} else {
if (spec->add > 0)
- swfdec_as_stack_ensure_left (stack, spec->add);
+ swfdec_as_stack_ensure_free (stack, spec->add);
}
if (context->state != SWFDEC_AS_CONTEXT_RUNNING)
goto error;
diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c
index 3195a8c..649ec36 100644
--- a/libswfdec/swfdec_as_interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -321,7 +321,7 @@ swfdec_action_push (SwfdecAsContext *cx,
while (swfdec_bits_left (&...