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

Method ExternalPrimitive

src/hx/Lib.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 void operator delete( void *) { }
128
129 ExternalPrimitive(void *inProc,int inArgCount,const String &inName) :
130 mProc(inProc), mArgCount(inArgCount), mName(inName.makePermanent())
131 {
132 functionName = ("extern::cffi "+mName).makePermanent().raw_ptr();
133 }
134
135 int __GetType() const HXCPP_OVERRIDE { return vtFunction; }
136 String __ToString() const HXCPP_OVERRIDE { return mName; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected