mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Expose function pointer of MethodInfo
This commit is contained in:
parent
e7c05068a7
commit
9ca3fbd0dd
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ namespace System.Reflection
|
|||
public StringView Name => Compiler.IsComptime ?
|
||||
Type.[Friend]Comptime_Method_GetName(mData.mComptimeMethodInstance) :
|
||||
mData.mMethodData.[Friend]mName;
|
||||
public void* Ptr => Compiler.IsComptime ?
|
||||
null :
|
||||
mData.mMethodData.[Friend]mFuncPtr;
|
||||
|
||||
public int ParamCount => Compiler.IsComptime ?
|
||||
Type.[Friend]Comptime_Method_GetInfo(mData.mComptimeMethodInstance).mParamCount :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue