| 65 | } |
| 66 | |
| 67 | bool ccAddExternalScriptObjectHandle(const String &name, void *ptr) |
| 68 | { |
| 69 | return simp.Add(name, RuntimeScriptValue().SetScriptObject(ptr, &GlobalStaticManager), nullptr, kScValHint_Handle) != UINT32_MAX; |
| 70 | } |
| 71 | |
| 72 | bool ccAddExternalScriptSymbol(const String &name, const RuntimeScriptValue &prval, RuntimeScript *script) |
| 73 | { |
no test coverage detected