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

Method __GetFields

src/Dynamic.cpp:159–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 int __ToInt() const HXCPP_OVERRIDE { return (int)mValue; }
158 cpp::Int64 __ToInt64() const HXCPP_OVERRIDE { return mValue; }
159 void __GetFields(Array<String>& outFields) HXCPP_OVERRIDE
160 {
161 outFields->push( HX_HCSTRING("hi","\x01","\x5b","\x00","\x00") );
162 outFields->push( HX_HCSTRING("lo","\x83","\x5e","\x00","\x00") );
163 }
164 hx::Val __Field(const String &inName, hx::PropertyAccess inCallProp) HXCPP_OVERRIDE
165 {
166 if (HX_FIELD_EQ(inName,"hi") ) { return hx::Val( (int)(mValue>>32)); }

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected