refactor: replace UInt32 with uint32_t

This commit is contained in:
sithlord48
2025-01-10 21:13:19 -05:00
committed by Nick Bolton
parent 27eb83c981
commit 96092df4fc
119 changed files with 684 additions and 684 deletions

View File

@ -60,7 +60,7 @@ void OSXEventQueueBuffer::waitForEvent(double timeout)
ReceiveNextEvent(0, NULL, timeout, false, &event);
}
IEventQueueBuffer::Type OSXEventQueueBuffer::getEvent(Event &event, UInt32 &dataID)
IEventQueueBuffer::Type OSXEventQueueBuffer::getEvent(Event &event, uint32_t &dataID)
{
// release the previous event
if (m_event != NULL) {
@ -78,7 +78,7 @@ IEventQueueBuffer::Type OSXEventQueueBuffer::getEvent(Event &event, UInt32 &data
} else if (error != noErr) {
return kNone;
} else {
UInt32 eventClass = GetEventClass(m_event);
uint32_t eventClass = GetEventClass(m_event);
switch (eventClass) {
case 'Syne':
dataID = GetEventKind(m_event);
@ -91,7 +91,7 @@ IEventQueueBuffer::Type OSXEventQueueBuffer::getEvent(Event &event, UInt32 &data
}
}
bool OSXEventQueueBuffer::addEvent(UInt32 dataID)
bool OSXEventQueueBuffer::addEvent(uint32_t dataID)
{
EventRef event;
OSStatus error = CreateEvent(kCFAllocatorDefault, 'Syne', dataID, 0, kEventAttributeNone, &event);