MCPcopy Create free account
hub / github.com/acidanthera/BrcmPatchRAM / setStringInDict

Function setStringInDict

BrcmPatchRAM/BrcmPatchRAM.cpp:594–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592#endif // #ifndef NON_RESIDENT
593
594static void setStringInDict(OSDictionary* dict, const char* key, const char* value)
595{
596 OSString* str = OSString::withCStringNoCopy(value);
597 if (str)
598 {
599 dict->setObject(key, str);
600 str->release();
601 }
602}
603
604static void setNumberInDict(OSDictionary* dict, const char* key, UInt16 value)
605{

Callers 2

removePersonalityMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected