mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-19 18:50:52 +00:00
cleanup.
This commit is contained in:
parent
0ce4b3e7fb
commit
23c21b23c3
1 changed files with 0 additions and 16 deletions
|
@ -1364,19 +1364,3 @@ DEFINE_ACTION_FUNCTION_NATIVE(DObject, FindFunction, FindFunctionPointer)
|
||||||
ACTION_RETURN_POINTER(FindFunctionPointer(cls, fn.GetIndex()));
|
ACTION_RETURN_POINTER(FindFunctionPointer(cls, fn.GetIndex()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
PFunction * FindMethodPointer(PClass * cls, int fn_name)
|
|
||||||
{
|
|
||||||
auto fn = dyn_cast<PFunction>(cls->FindSymbol(ENamedName(fn_name), true));
|
|
||||||
return (fn && fn->GetImplicitArgs() == 1) ? fn : nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION_NATIVE(DObject, FindMethod, FindMethodPointer)
|
|
||||||
{
|
|
||||||
PARAM_PROLOGUE;
|
|
||||||
PARAM_CLASS(cls, DObject);
|
|
||||||
PARAM_NAME(fn);
|
|
||||||
|
|
||||||
ACTION_RETURN_POINTER(FindMethodPointer(cls, fn.GetIndex()));
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
Loading…
Reference in a new issue