[Lldb-commits] [lldb] [lldb][sbapi] Namespace CommandReturnObjectCallbackResult in SBDefines (PR #126606)
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 10 14:05:15 PST 2025
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/126606
A new callback was added with the type
CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions that have a non-primitive return type in the lldb namespace.
rdar://144553496
>From 24292242731772a603ad35241294faa4ef52c4f3 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: Mon, 10 Feb 2025 14:00:51 -0800
Subject: [PATCH] [lldb][sbapi] Namespace CommandReturnObjectCallbackResult in
SBDefines
A new callback was added with the type
CommandReturnObjectCallbackResult, this commit namespaces that type to
match the format of other callback functions have a return type in the
lldb namespace.
rdar://144553496
---
lldb/include/lldb/API/SBDefines.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/include/lldb/API/SBDefines.h b/lldb/include/lldb/API/SBDefines.h
index b7b5cc06546f86d..ed5a80da117a50a 100644
--- a/lldb/include/lldb/API/SBDefines.h
+++ b/lldb/include/lldb/API/SBDefines.h
@@ -144,7 +144,7 @@ typedef bool (*SBBreakpointHitCallback)(void *baton, lldb::SBProcess &process,
typedef void (*SBDebuggerDestroyCallback)(lldb::user_id_t debugger_id,
void *baton);
-typedef CommandReturnObjectCallbackResult (*SBCommandPrintCallback)(
+typedef lldb::CommandReturnObjectCallbackResult (*SBCommandPrintCallback)(
lldb::SBCommandReturnObject &result, void *baton);
typedef lldb::SBError (*SBPlatformLocateModuleCallback)(
More information about the lldb-commits
mailing list