1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 16:10:26 +02:00

Removed 'internal' protection - it's all about [Friend] now

This commit is contained in:
Brian Fiete 2020-03-09 06:34:16 -07:00
parent 81af04a1ce
commit 14ac27c977
119 changed files with 1339 additions and 1388 deletions

View file

@ -92,7 +92,7 @@ namespace IDE.Debugger
static extern void* Debugger_GetActiveBreakpoint();
[StdCall, CLink]
internal static extern void* Debugger_CreateMemoryBreakpoint(int addr, int32 byteCount);
static extern void* Debugger_CreateMemoryBreakpoint(int addr, int32 byteCount);
public void* mNativeBreakpoint;
public String mSymbol ~ delete _;
@ -116,7 +116,7 @@ namespace IDE.Debugger
public Event<Action> mOnDelete;
internal ~this()
public ~this()
{
mOnDelete();
mIsDisposed = true;

View file

@ -591,7 +591,7 @@ namespace IDE.Debugger
void* nativeBreakpoint = null;
if (addr != (int)0)
{
nativeBreakpoint = Breakpoint.Debugger_CreateMemoryBreakpoint(addr, (.)byteCount);
nativeBreakpoint = Breakpoint.[Friend]Debugger_CreateMemoryBreakpoint(addr, (.)byteCount);
if (nativeBreakpoint == null)
return null;
}