1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 07:14:09 +02:00

Added ability to retrieve module name for Beef DLL projects

This commit is contained in:
Brian Fiete 2019-09-11 10:06:10 -07:00
parent 5fce0af004
commit 84f03abcc7
4 changed files with 31 additions and 1 deletions

View file

@ -70,6 +70,13 @@ namespace System
static extern int32 Test_Query();
static extern void Test_Finish();
static void* sModuleHandle;
[AlwaysInclude]
static void SetModuleHandle(void* handle)
{
sModuleHandle = handle;
}
public static Object ObjectAlloc(TypeInstance typeInst, int size)
{
#if BF_ENABLE_OBJECT_DEBUG_FLAGS