allow debugger to be created before the instance and attached to it

later
This commit is contained in:
Greg Wells
2025-05-25 07:32:05 -04:00
parent 5b6360f26f
commit 6c4bd6a572
7 changed files with 55 additions and 22 deletions

View File

@@ -50,7 +50,7 @@ typedef struct gnDebugger_t {
gnInstance* instance;
} gnDebugger;
gnReturnCode gnCreateDebugger(gnDebugger* debugger, gnInstance* instance, const struct gnDebuggerInfo_t info);
gnReturnCode gnCreateDebugger(gnDebugger* debugger, const struct gnDebuggerInfo_t info);
void gnDestroyDebugger(gnDebugger* debugger);
static void gnDebuggerSetErrorMessage(gnDebugger* debugger, gnMessageData data) {