DISPATCH_HEADER -> X_DISPATCH_HEADER
This commit is contained in:
@@ -28,7 +28,7 @@ void XEvent::Initialize(bool manual_reset, bool initial_state) {
|
||||
native_handle_ = CreateEvent(NULL, manual_reset, initial_state, NULL);
|
||||
}
|
||||
|
||||
void XEvent::InitializeNative(void* native_ptr, DISPATCH_HEADER& header) {
|
||||
void XEvent::InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header) {
|
||||
assert_null(native_handle_);
|
||||
|
||||
bool manual_reset;
|
||||
|
||||
@@ -22,7 +22,7 @@ class XEvent : public XObject {
|
||||
virtual ~XEvent();
|
||||
|
||||
void Initialize(bool manual_reset, bool initial_state);
|
||||
void InitializeNative(void* native_ptr, DISPATCH_HEADER& header);
|
||||
void InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header);
|
||||
|
||||
int32_t Set(uint32_t priority_increment, bool wait);
|
||||
int32_t Pulse(uint32_t priority_increment, bool wait);
|
||||
|
||||
@@ -27,7 +27,7 @@ void XMutant::Initialize(bool initial_owner) {
|
||||
native_handle_ = CreateMutex(NULL, initial_owner ? TRUE : FALSE, NULL);
|
||||
}
|
||||
|
||||
void XMutant::InitializeNative(void* native_ptr, DISPATCH_HEADER& header) {
|
||||
void XMutant::InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header) {
|
||||
assert_null(native_handle_);
|
||||
|
||||
// Haven't seen this yet, but it's possible.
|
||||
|
||||
@@ -22,7 +22,7 @@ class XMutant : public XObject {
|
||||
virtual ~XMutant();
|
||||
|
||||
void Initialize(bool initial_owner);
|
||||
void InitializeNative(void* native_ptr, DISPATCH_HEADER& header);
|
||||
void InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header);
|
||||
|
||||
X_STATUS ReleaseMutant(uint32_t priority_increment, bool abandon, bool wait);
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ void XSemaphore::Initialize(int32_t initial_count, int32_t maximum_count) {
|
||||
native_handle_ = CreateSemaphore(NULL, initial_count, maximum_count, NULL);
|
||||
}
|
||||
|
||||
void XSemaphore::InitializeNative(void* native_ptr, DISPATCH_HEADER& header) {
|
||||
void XSemaphore::InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header) {
|
||||
assert_null(native_handle_);
|
||||
|
||||
// NOT IMPLEMENTED
|
||||
|
||||
@@ -22,7 +22,7 @@ class XSemaphore : public XObject {
|
||||
virtual ~XSemaphore();
|
||||
|
||||
void Initialize(int32_t initial_count, int32_t maximum_count);
|
||||
void InitializeNative(void* native_ptr, DISPATCH_HEADER& header);
|
||||
void InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header);
|
||||
|
||||
int32_t ReleaseSemaphore(int32_t release_count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user