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:
parent
5fce0af004
commit
84f03abcc7
4 changed files with 31 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue