MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / StringSetupFunc

Function StringSetupFunc

common/script/cstdlib/string.c:247–255  ·  view source on GitHub ↗

creates various system-dependent definitions */

Source from the content-addressed store, hash-verified

245
246/* creates various system-dependent definitions */
247void StringSetupFunc(Picoc* pc)
248{
249 /* define NULL */
250 if (!VariableDefined(pc, TableStrRegister(pc, "NULL")))
251 {
252 VariableDefinePlatformVar(
253 pc, NULL, "NULL", &pc->IntType, (union AnyValue*)&String_ZeroValue, false);
254 }
255}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected