2 * Copyright (C) 2007 Benjamin Otte <otte@gnome.org>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA
20 #ifndef _SWFDEC_AS_INTERNAL_H_
21 #define _SWFDEC_AS_INTERNAL_H_
23 #include <libswfdec/swfdec_as_object.h>
24 #include <libswfdec/swfdec_as_types.h>
28 /* This header contains all the non-exported symbols that can't go into
32 /* swfdec_as_array.c */
33 void swfdec_as_array_init_context (SwfdecAsContext
* context
,
37 void swfdec_as_function_set_constructor (SwfdecAsFunction
* fun
);
38 void swfdec_as_function_init_context (SwfdecAsContext
* context
,
41 /* swfdec_as_object.c */
42 typedef SwfdecAsVariableForeach SwfdecAsVariableForeachRemove
;
43 typedef const char *(* SwfdecAsVariableForeachRename
) (SwfdecAsObject
*object
,
44 const char *variable
, SwfdecAsValue
*value
, guint flags
, gpointer data
);
46 void swfdec_as_object_collect (SwfdecAsObject
* object
);
47 guint
swfdec_as_object_foreach_remove (SwfdecAsObject
* object
,
48 SwfdecAsVariableForeach func
,
50 void swfdec_as_object_foreach_rename (SwfdecAsObject
* object
,
51 SwfdecAsVariableForeachRename func
,
54 void swfdec_as_object_init_context (SwfdecAsContext
* context
,