Displaying 2 results from an estimated 2 matches for "jsobjectop".
Did you mean:
jsobjectops
2007 Jan 16
0
9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_cache.c libswfdec/swfdec_cached.c libswfdec/swfdec_cached.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_image.c
...ect *proto, JSObject *parent);
extern JS_PUBLIC_API(JSBool)
JS_SealObject(JSContext *cx, JSObject *obj, JSBool deep);
diff --git a/libswfdec/js/jsobj.c b/libswfdec/js/jsobj.c
index e7bb433..2033c97 100644
--- a/libswfdec/js/jsobj.c
+++ b/libswfdec/js/jsobj.c
@@ -1692,7 +1692,7 @@ JS_FRIEND_DATA(JSObjectOps) js_WithObjec
};
static JSObjectOps *
-with_getObjectOps(JSContext *cx, JSClass *clasp)
+with_getObjectOps(JSContext *cx, const JSClass *clasp)
{
return &js_WithObjectOps;
}
@@ -1782,7 +1782,7 @@ js_InitObjectClass(JSContext *cx, JSObje
void
js_InitObjectMap(JSObjectMap *map, js...
2007 Sep 28
1
SwfDec in Windows
...:
undefined reference to '_imp__js_ObjectOps'
C:/msys/1.0/home/Administrador/swfdec-0.4.3/libswfdec/js/jsapi.c:598:
undefined reference to '_imp__js_FunctionClass'
The lines are:
JS_PUBLIC_API(JSType)
JS_TypeOfValue(JSContext *cx, jsval v)
{
JSType type;
JSObject *obj;
JSObjectOps *ops;
JSClass *clasp;
CHECK_REQUEST(cx);
if (JSVAL_IS_OBJECT(v)) {
/* XXX JSVAL_IS_OBJECT(v) is true for null too! Can we change ECMA? */
obj = JSVAL_TO_OBJECT(v);
if (obj &&
(ops = obj->map->ops,
ops == &js_ObjectOps...