Merge pull request #7 from pandamicro/master
Update android lib chipmunk and lib spidermonkey
This commit is contained in:
commit
52409e59c0
|
|
@ -22,9 +22,6 @@
|
||||||
|
|
||||||
#include "js-config.h"
|
#include "js-config.h"
|
||||||
|
|
||||||
// Needed for cocos2d-js
|
|
||||||
#define JS_NO_JSVAL_JSID_STRUCT_TYPES
|
|
||||||
|
|
||||||
struct JSContext;
|
struct JSContext;
|
||||||
class JSFunction;
|
class JSFunction;
|
||||||
class JSObject;
|
class JSObject;
|
||||||
|
|
|
||||||
|
|
@ -342,7 +342,10 @@ typedef union jsval_layout
|
||||||
# endif /* JS_PUNBOX64 */
|
# endif /* JS_PUNBOX64 */
|
||||||
#endif /* defined(IS_LITTLE_ENDIAN) */
|
#endif /* defined(IS_LITTLE_ENDIAN) */
|
||||||
|
|
||||||
|
//this is a workaround for fixing binding-generator errors
|
||||||
|
#ifndef NO_JS_ASSERT
|
||||||
JS_STATIC_ASSERT(sizeof(jsval_layout) == 8);
|
JS_STATIC_ASSERT(sizeof(jsval_layout) == 8);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For codesize purposes on some platforms, it's important that the
|
* For codesize purposes on some platforms, it's important that the
|
||||||
|
|
@ -1331,7 +1334,10 @@ class Value
|
||||||
JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
|
JS_STATIC_ASSERT(sizeof(JSValueType) == 1);
|
||||||
JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
|
JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);
|
||||||
JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
|
JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4);
|
||||||
|
//this is a workaround for fixing binding-generator errors
|
||||||
|
#ifndef NO_JS_ASSERT
|
||||||
JS_STATIC_ASSERT(sizeof(Value) == 8);
|
JS_STATIC_ASSERT(sizeof(Value) == 8);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
friend jsval_layout (::JSVAL_TO_IMPL)(Value);
|
friend jsval_layout (::JSVAL_TO_IMPL)(Value);
|
||||||
|
|
|
||||||
0
android/arm64-v8a/include/spidermonkey/mozilla/IntegerPrintfMacros.h
Normal file → Executable file
0
android/arm64-v8a/include/spidermonkey/mozilla/IntegerPrintfMacros.h
Normal file → Executable file
0
android/arm64-v8a/include/spidermonkey/mozilla/TaggedAnonymousMemory.h
Normal file → Executable file
0
android/arm64-v8a/include/spidermonkey/mozilla/TaggedAnonymousMemory.h
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue