Displaying 1 result from an estimated 1 matches for "_print_action".
Did you mean:
print_action
2007 Apr 12
0
Branch 'as' - 15 commits - 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 libswfdec/swfdec_as_interpret.c
..._add_command (gconstpoint
SwfdecDebuggerCommand command;
command.code = bytecode;
- if (action == 0x96) {
- /* PUSH */
+ if (action == SWFDEC_AS_ACTION_PUSH) {
command.description = swfdec_debugger_print_push (parser, data, len);
} else {
command.description = swfdec_script_print_action (action, data, len);
}
+ g_assert (command.description != NULL);
g_array_append_val (parser->commands, command);
- if (action == 0x88) {
- /* constant pool */
+ if (action == SWFDEC_AS_ACTION_CONSTANT_POOL) {
if (parser->constant_pool)
swfdec_constant_pool_free (parser...