lldb-sys 0.0.31

Raw bindings to the LLDB C++ API. LLDB is the debugger that is part of the LLVM project and is the default system debugger on Mac OS X. Building and using this is currently slightly tricky, so be sure to see the README.md in the repository.
Documentation
//===-- SBQueueBinding.h ----------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLDB_SBQueueBinding_h_
#define LLDB_SBQueueBinding_h_

#include "lldb/Bindings/SBBindingDefines.h"

#ifdef __cplusplus
extern "C" {
#endif

LLDB_API SBQueueRef CreateSBQueue(void);

LLDB_API SBQueueRef CloneSBQueue(SBQueueRef instance);

LLDB_API void DisposeSBQueue(SBQueueRef instance);

LLDB_API bool SBQueueIsValid(SBQueueRef instance);

LLDB_API void SBQueueClear(SBQueueRef instance);

LLDB_API SBProcessRef SBQueueGetProcess(SBQueueRef instance);

LLDB_API lldb_queue_id_t SBQueueGetQueueID(SBQueueRef instance);

LLDB_API const char *SBQueueGetName(SBQueueRef instance);

LLDB_API uint32_t SBQueueGetIndexID(SBQueueRef instance);

LLDB_API uint32_t SBQueueGetNumThreads(SBQueueRef instance);

LLDB_API SBThreadRef SBQueueGetThreadAtIndex(SBQueueRef instance, uint32_t);

LLDB_API uint32_t SBQueueGetNumPendingItems(SBQueueRef instance);

LLDB_API SBQueueItemRef SBQueueGetPendingItemAtIndex(SBQueueRef instance,
                                                     uint32_t);

LLDB_API uint32_t SBQueueGetNumRunningItems(SBQueueRef instance);

LLDB_API ENUM(QueueKind) SBQueueGetKind(SBQueueRef instance);

#ifdef __cplusplus
}
#endif

#endif // LLDB_SBQueueBinding_h_