MCPcopy Create free account
hub / github.com/ZDoom/Raze / DEFINE_ACTION_FUNCTION_NATIVE

Function DEFINE_ACTION_FUNCTION_NATIVE

source/common/scripting/backend/codegen.cpp:5869–5876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5867}
5868
5869DEFINE_ACTION_FUNCTION_NATIVE(DObject, BuiltinNew, BuiltinNew)
5870{
5871 PARAM_PROLOGUE;
5872 PARAM_CLASS(cls, DObject);
5873 PARAM_INT(outerside);
5874 PARAM_INT(compatible);
5875 ACTION_RETURN_OBJECT(BuiltinNew(cls, outerside, compatible));
5876}
5877
5878ExpEmit FxNew::Emit(VMFunctionBuilder *build)
5879{

Callers

nothing calls this directly

Calls 9

BuiltinNewFunction · 0.85
NativeRandomFunction · 0.85
NativeFRandomFunction · 0.85
NativeNameToClassFunction · 0.85
NativeClassCastFunction · 0.85
Random2Method · 0.80
InitMethod · 0.45
GetIndexMethod · 0.45

Tested by

no test coverage detected