1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Bug fixes, installer, [Export]

Fixed a bunch of bugs in aggregate const initializers
Fixed ZIP bugs
Fixed a compilation case where we change protection while reifying a type
Added another project kind - Dynamic Library
Added [Export] for DLL method exporting
Fixed some issues of things being  generated as __NOINLINE incorrectly
Fixed an issue with module extensions with not-yet-demanded on-demand methods
Started adding Installer
This commit is contained in:
Brian Fiete 2019-08-27 08:04:41 -07:00
parent efa22e51fb
commit 09016c8dc0
135 changed files with 3615 additions and 2337 deletions

View file

@ -436,15 +436,7 @@ namespace bf
{
private:
BFRT_EXPORT static void Init();
BFRT_EXPORT static void Run();
static void MarkAllStaticMembers()
{
gBfRtCallbacks.GC_MarkAllStaticMembers();
}
static bool CallRootCallbacks()
{
return gBfRtCallbacks.GC_CallRootCallbacks();
}
BFRT_EXPORT static void Run();
BFRT_EXPORT static void ReportTLSMember(intptr tlsIndex, void* ptr, void* markFunc);
BFRT_EXPORT static void StopCollecting();
BFRT_EXPORT static void AddStackMarkableObject(Object* obj);
@ -460,11 +452,11 @@ namespace bf
//static void ToLeakString(Object* obj, String* strBuffer);
static void DoMarkAllStaticMembers()
{
MarkAllStaticMembers();
BFRTCALLBACKS.GC_MarkAllStaticMembers();
}
static bool DoCallRootCallbacks()
{
return CallRootCallbacks();
return BFRTCALLBACKS.GC_CallRootCallbacks();
}
BFRT_EXPORT static void SetAutoCollectPeriod(intptr periodMS);
BFRT_EXPORT static void SetCollectFreeThreshold(intptr freeBytes);