MCPcopy Create free account
hub / github.com/WheretIB/nullc / nullcInitStringModule

Function nullcInitStringModule

NULLC/includes/string.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32#define REGISTER_FUNC(funcPtr, name, index) if(!nullcBindModuleFunction("std.string", (void(*)())NULLCString::funcPtr, name, index)) return false;
33bool nullcInitStringModule()
34{
35 REGISTER_FUNC(strstr, "strstr", 0);
36 REGISTER_FUNC(strchr, "strchr", 0);
37 REGISTER_FUNC(strcmp, "strcmp", 0);
38
39 return true;
40}

Callers 2

WinMainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected