don't crash when loading images > 65kB (fixes #13529)
[swfdec.git] / libswfdec / swfdec_system_ime.c
blob35068063e7c2687701ffbbf4f425200a61aa1e1f
1 /* Swfdec
2 * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>
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.
8 *
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 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
24 #include "swfdec_as_internal.h"
25 #include "swfdec_debug.h"
27 SWFDEC_AS_NATIVE (13, 0, swfdec_system_ime_getEnabled)
28 void
29 swfdec_system_ime_getEnabled (SwfdecAsContext *cx,
30 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
31 SwfdecAsValue *ret)
33 SWFDEC_STUB ("System.IME.getEnabled (static)");
36 SWFDEC_AS_NATIVE (13, 1, swfdec_system_ime_setEnabled)
37 void
38 swfdec_system_ime_setEnabled (SwfdecAsContext *cx,
39 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
40 SwfdecAsValue *ret)
42 SWFDEC_STUB ("System.IME.setEnabled (static)");
45 SWFDEC_AS_NATIVE (13, 2, swfdec_system_ime_getCovnersionMode)
46 void
47 swfdec_system_ime_getCovnersionMode (SwfdecAsContext *cx,
48 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
49 SwfdecAsValue *ret)
51 SWFDEC_STUB ("System.IME.getCovnersionMode (static)");
54 SWFDEC_AS_NATIVE (13, 3, swfdec_system_ime_setConversionMode)
55 void
56 swfdec_system_ime_setConversionMode (SwfdecAsContext *cx,
57 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
58 SwfdecAsValue *ret)
60 SWFDEC_STUB ("System.IME.setConversionMode (static)");
63 SWFDEC_AS_NATIVE (13, 4, swfdec_system_ime_setCompositionString)
64 void
65 swfdec_system_ime_setCompositionString (SwfdecAsContext *cx,
66 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
67 SwfdecAsValue *ret)
69 SWFDEC_STUB ("System.IME.setCompositionString (static)");
72 SWFDEC_AS_NATIVE (13, 5, swfdec_system_ime_doConversion)
73 void
74 swfdec_system_ime_doConversion (SwfdecAsContext *cx,
75 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
76 SwfdecAsValue *ret)
78 SWFDEC_STUB ("System.IME.doConversion (static)");