mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed slow const eval detection
This commit is contained in:
parent
73b643d298
commit
0952f3f278
4 changed files with 29 additions and 12 deletions
|
@ -70,6 +70,9 @@ namespace IDE.Compiler
|
|||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern int32 BfCompiler_GetCompileRevision(void* bfCompiler);
|
||||
|
||||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern int32 BfCompiler_GetCurConstEvalExecuteId(void* bfCompiler);
|
||||
|
||||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern void BfCompiler_Delete(void* bfCompiler);
|
||||
|
||||
|
@ -670,6 +673,11 @@ namespace IDE.Compiler
|
|||
return BfCompiler_GetCompileRevision(mNativeBfCompiler);
|
||||
}
|
||||
|
||||
public int32 GetCurConstEvalExecuteId()
|
||||
{
|
||||
return BfCompiler_GetCurConstEvalExecuteId(mNativeBfCompiler);
|
||||
}
|
||||
|
||||
public void GetTypeDefList(String outStr)
|
||||
{
|
||||
outStr.Append(BfCompiler_GetTypeDefList(mNativeBfCompiler));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue