axmol/samples/TestJavascript
James Chen a2b5916301 Using 'getHashCodeByString(typeid(*native_obj).name())' instead of 'reinterpret_cast<long>(typeid(*native_obj).name());'.
Since on win32 platform, 'reinterpret_cast<long>(typeid(*native_obj).name());' invoking in cocos2d.dll and outside cocos2d.dll(in TestJavascript.exe) will return different address.
But the return string from typeid(*native_obj).name() is the same string, so we must convert the string to hash id to make sure we can get unique id.
2012-08-29 14:49:03 -07:00
..
Classes Disable use of chipmunk 2012-08-28 17:44:00 -07:00
Resources Rename Resources/JS to Resources/oldjs to avoid conflict with js 2012-08-28 17:44:00 -07:00
js Remove editor backup file 2012-08-28 17:43:56 -07:00
proj.android -DCOCOS2D_JAVASCRIPT added to APP_FLAGS in Application.mk. Applied to all files. 2012-08-28 19:07:50 -07:00
proj.ios Test project for cocos2d-x js. 2012-08-27 10:07:31 -07:00
proj.linux Updated Makefiles for linux port. 2012-08-27 16:43:02 +08:00
proj.win32 Using 'getHashCodeByString(typeid(*native_obj).name())' instead of 'reinterpret_cast<long>(typeid(*native_obj).name());'. 2012-08-29 14:49:03 -07:00