MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / FieldMapGet

Function FieldMapGet

src/hx/Anon.cpp:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6Dynamic FieldMapCreate() { return Dynamic(); }
7
8bool FieldMapGet(FieldMap *inMap, const String &inName, Dynamic &outValue)
9{
10 if (!inMap || !inMap->mPtr)
11 return false;
12
13 if (!__string_hash_exists(*inMap,inName))
14 return false;
15 outValue = __string_hash_get(*inMap, inName);
16 return true;
17}
18
19
20bool FieldMapGet(FieldMap *inMap, int inId, Dynamic &outValue)

Callers 3

toStringMethod · 0.85
toStringMethod · 0.85
getFieldMethod · 0.85

Calls 2

__string_hash_existsFunction · 0.85
__string_hash_getFunction · 0.85

Tested by

no test coverage detected