Benjamin Otte
2007-Mar-07 12:42 UTC
[Swfdec] 2 commits - libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.h
libswfdec/swfdec_js_movie.c | 3 +++ libswfdec/swfdec_root_movie.h | 4 ++++ 2 files changed, 7 insertions(+) New commits: diff-tree bb4cc0da47ef8cc6978c1b51e55a0da1339ed5b9 (from 637a8dcb5663fc692c8b2e222e3555609759f7ff) Author: Benjamin Otte <otte@gnome.org> Date: Wed Mar 7 21:41:23 2007 +0100 warn about not handling initObject diff --git a/libswfdec/swfdec_js_movie.c b/libswfdec/swfdec_js_movie.c index 3d04d92..200f706 100644 --- a/libswfdec/swfdec_js_movie.c +++ b/libswfdec/swfdec_js_movie.c @@ -395,6 +395,9 @@ swfdec_js_movie_attachMovie (JSContext * export = swfdec_js_to_string (cx, argv[0]); name = swfdec_js_to_string (cx, argv[1]); + if (argc > 3) { + SWFDEC_ERROR ("attachMovie's initObject isn't implemented"); + } if (export == NULL || name == NULL) return JS_FALSE; sprite = swfdec_root_movie_get_export (SWFDEC_ROOT_MOVIE (movie->root), export); diff-tree 637a8dcb5663fc692c8b2e222e3555609759f7ff (from 079beedc71d1fc60cf29451ba622c1d576b6a019) Author: Benjamin Otte <otte@gnome.org> Date: Wed Mar 7 21:41:03 2007 +0100 whoops, forgot to update this file diff --git a/libswfdec/swfdec_root_movie.h b/libswfdec/swfdec_root_movie.h index f1ae02b..f5a57d6 100644 --- a/libswfdec/swfdec_root_movie.h +++ b/libswfdec/swfdec_root_movie.h @@ -45,6 +45,7 @@ struct _SwfdecRootMovie guint unnamed_count; /* variable used for naming unnamed movies */ guint root_actions_performed; /* root actions been performed in all frames < this*/ + GHashTable * exports; /* string->SwfdecCharacter mapping of exported characters */ }; struct _SwfdecRootMovieClass @@ -61,5 +62,8 @@ void swfdec_root_movie_load (SwfdecRo void swfdec_root_movie_perform_root_actions (SwfdecRootMovie * root, guint frame); +gpointer swfdec_root_movie_get_export (SwfdecRootMovie * root, + const char * name); + G_END_DECLS #endif
Maybe Matching Threads
- 13 commits - libswfdec/Makefile.am libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
- 17 commits - libswfdec/js libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
- 11 commits - configure.ac libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_decoder.c
- 2 commits - libswfdec/js libswfdec/swfdec_js_movie.c
- 4 commits - libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c player/swfdec_slow_loader.c