Displaying 2 results from an estimated 2 matches for "68e98c5".
2007 Apr 04
0
Branch 'as' - 9 commits - 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_stack.c libswfdec/swfdec_as_stack.h
...ecAsValue value = { SWFDEC_TYPE_AS_UNDEFINED, };
- swfdec_as_stack_push (context->frame->stack, &value);
+ SWFDEC_AS_VALUE_SET_UNDEFINED (swfdec_as_stack_push (context->frame->stack));
}
}
diff --git a/libswfdec/swfdec_as_function.c b/libswfdec/swfdec_as_function.c
index 68e98c5..29ef86e 100644
--- a/libswfdec/swfdec_as_function.c
+++ b/libswfdec/swfdec_as_function.c
@@ -126,9 +126,8 @@ swfdec_as_function_call (SwfdecAsFunctio
if (n_args < function->min_args) {
SwfdecAsStack *stack = context->frame->stack;
if (n_args == 0) {
- SwfdecAsValue v...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am 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
...WFDEC_MAJORMINOR@include_HEA
noinst_HEADERS = \
swfdec_as_context.h \
swfdec_as_frame.h \
+ swfdec_as_function.h \
swfdec_as_object.h \
swfdec_as_stack.h \
swfdec_as_types.h \
diff --git a/libswfdec/swfdec_as_function.c b/libswfdec/swfdec_as_function.c
new file mode 100644
index 0000000..68e98c5
--- /dev/null
+++ b/libswfdec/swfdec_as_function.c
@@ -0,0 +1,146 @@
+/* SwfdecAs
+ * Copyright (C) 2007 Benjamin Otte <otte@gnome.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published...