add helper functions to get queue indices

This commit is contained in:
Greg Wells
2025-05-23 21:03:15 -04:00
parent 02432e04d3
commit 84a29764c0
4 changed files with 45 additions and 5 deletions

View File

@@ -13,3 +13,12 @@ gnReturnCode gnCreateDebugger(gnDebugger* debugger, gnInstance* instance, const
void gnDestroyDebugger(gnDebugger* debugger) {
debugger->instance->functions->_gnDestroyDebugger(debugger);
}
void gnDebuggerSetErrorMessage(gnDebugger* debugger, gnMessageData data) {
debugger->info.callback(
GN_MESSAGE_ERROR,
GN_DEBUG_MESSAGE_VALIDATION,
data,
debugger->info.userData
);
}