[Lldb-commits] [lldb] 7c269cf - [lldb][sbapi] Namespace CommandReturnObjectCallbackResult in SBDefines (#126606)

via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 10 14:20:35 PST 2025


Author: Chelsea Cassanova
Date: 2025-02-10T14:20:31-08:00
New Revision: 7c269cf0f6daad4a2a91ac87df89c3d134843ecd

URL: https://github.com/llvm/llvm-project/commit/7c269cf0f6daad4a2a91ac87df89c3d134843ecd
DIFF: https://github.com/llvm/llvm-project/commit/7c269cf0f6daad4a2a91ac87df89c3d134843ecd.diff

LOG: [lldb][sbapi] Namespace CommandReturnObjectCallbackResult in SBDefines (#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

Added: 
    

Modified: 
    lldb/include/lldb/API/SBDefines.h

Removed: 
    


################################################################################
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