mirror of https://github.com/axmolengine/axmol.git
a2b5916301
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. |
||
---|---|---|
.. | ||
HelloCpp | ||
HelloLua | ||
TestCpp | ||
TestJavascript | ||
TestLua |