================ @@ -62,12 +62,15 @@ typedef void *thread_arg_t; // Host thread argument type typedef void *thread_result_t; // Host thread result type typedef void *(*thread_func_t)(void *); // Host thread function type typedef int pipe_t; // Host pipe type +typedef int destroy_callback_token_t; // Debugger destroy callback token type #endif // _WIN32 #define LLDB_INVALID_PROCESS ((lldb::process_t)-1) #define LLDB_INVALID_HOST_THREAD ((lldb::thread_t)NULL) #define LLDB_INVALID_PIPE ((lldb::pipe_t)-1) +#define LLDB_INVALID_DESTROY_CALLBACK_TOKEN \ + ((lldb::destroy_callback_token_t) - 1) ---------------- clayborg wrote:
Remove "DESTROY" from bot the #define and _t type: ``` #define LLDB_INVALID_CALLBACK_TOKEN ((lldb::callback_token_t) - 1) ``` https://github.com/llvm/llvm-project/pull/89868 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits