MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / writeNumber

Method writeNumber

MonaServer/sources/ScriptWriter.h:42–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 Mona::UInt64 beginObjectArray(Mona::UInt32 size);
41
42 void writeNumber(double value) { start(); lua_pushnumber(_pState, value); end(); }
43 void writeString(const char* value,Mona::UInt32 size) { start(); lua_pushlstring(_pState,value,size); end(); }
44 void writeBoolean(bool value) { start(); lua_pushboolean(_pState, value); end(); }
45 void writeNull() { start(); lua_pushnil(_pState); end(); }

Callers 1

readOneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected