axmol/cocos/scripting/js-bindings/manual/network
Ricardo Quesada f023d5a378 no more uthash
Instead of using two uthash entires, it uses two unordered_map entries.
Benefits are:

easier to debug. I can inspect the contents of the unorderd_map with the
debugger
less memory. I don't need to allocate two proxies. I only allocate one
proxy and I added it into both maps
If also fixes an important bug when unrooting objects. Unroot was
cleaning the heap object. So now proxy adds a _jsobj, which is a raw
pointer. Needed under certain cases.
2015-12-16 17:37:44 -08:00
..
XMLHTTPRequest.cpp Use rooted object for js_proxy new and get 2015-11-27 10:19:13 +08:00
XMLHTTPRequest.h Use JS::PersistentRooted instead of JS::Heap to prevent delegates and wrappers internal js object from GC 2015-11-25 14:32:19 +08:00
jsb_socketio.cpp ccvector_to / ccmap_to converted to new API 2015-12-15 17:37:48 -08:00
jsb_socketio.h Update js bindings & js tests. 2015-05-05 10:50:19 +08:00
jsb_websocket.cpp no more uthash 2015-12-16 17:37:44 -08:00
jsb_websocket.h Update js bindings & js tests. 2015-05-05 10:50:19 +08:00