| 102 | |
| 103 | |
| 104 | UInt64 ScriptWriter::beginObject(const char* type) { |
| 105 | start(); |
| 106 | lua_newtable(_pState); |
| 107 | if(type) { |
| 108 | lua_pushstring(_pState,type); |
| 109 | lua_setfield(_pState,-2,"__type"); |
| 110 | } |
| 111 | _layers.push_back(0); |
| 112 | return reference(); |
| 113 | } |
| 114 | |
| 115 | UInt64 ScriptWriter::beginArray(UInt32 size) { |
| 116 | start(); |
nothing calls this directly
no outgoing calls
no test coverage detected