MCPcopy Create free account
hub / github.com/Snapchat/Valdi / makeCFNumber

Function makeCFNumber

valdi_core/src/valdi_core/cpp/Apple/CFConversions.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39static CFRef<CFTypeRef> makeCFNumber(CFNumberType type, const void* value) {
40 return CFRef<CFTypeRef>(CFNumberCreate(kCFAllocatorDefault, type, value));
41}
42
43CFRef<CFTypeRef> toCFNumber(int32_t value) {
44 return makeCFNumber(kCFNumberSInt32Type, &value);

Callers 1

toCFNumberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected