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

Method Class_obj

src/hx/Class.cpp:60–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60Class_obj::Class_obj(const String &inClassName,String inStatics[], String inMembers[],
61 ConstructEmptyFunc inConstructEmpty, ConstructArgsFunc inConstructArgs,
62 Class *inSuperClass,ConstructEnumFunc inConstructEnum,
63 CanCastFunc inCanCast, MarkFunc inFunc
64 #ifdef HXCPP_VISIT_ALLOCS
65 ,VisitFunc inVisitFunc
66 #endif
67 #ifdef HXCPP_SCRIPTABLE
68 ,const hx::StorageInfo *inStorageInfo
69 ,const hx::StaticInfo *inStaticInfo
70 #endif
71 )
72{
73 mName = inClassName.makePermanent();
74 mSuper = inSuperClass;
75 mConstructEmpty = inConstructEmpty;
76 mConstructArgs = inConstructArgs;
77 mConstructEnum = inConstructEnum;
78 mMarkFunc = inFunc;
79 #ifdef HXCPP_VISIT_ALLOCS
80 mVisitFunc = inVisitFunc;
81 #endif
82
83 #ifdef HXCPP_SCRIPTABLE
84 mMemberStorageInfo = inStorageInfo;
85 mStaticStorageInfo = inStaticInfo;
86 #endif
87
88 mStatics = dupFunctions(inStatics);
89 mMembers = dupFunctions(inMembers);
90 mCanCast = inCanCast;
91}
92
93bool Class_obj::GetNoStaticField(const String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp)
94{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected