Milepost UI demo #18

Merged
MartinFouilleul merged 7 commits from ilidemi/orca:ui into main 2023-07-16 15:19:09 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 5fa9c3c34c - Show all commits

View File

@ -124,7 +124,7 @@ for decl in data:
s += '*((i64*)&_sp[0]) = ' s += '*((i64*)&_sp[0]) = '
elif retTag == 'f': elif retTag == 'f':
s += '*((f32*)&_sp[0]) = ' s += '*((f32*)&_sp[0]) = '
elif retTag == 'd': elif retTag == 'F':
s += '*((f64*)&_sp[0]) = ' s += '*((f64*)&_sp[0]) = '
elif retTag == 'S': elif retTag == 'S':
retTypeName = decl['ret']['name'] retTypeName = decl['ret']['name']
@ -147,7 +147,7 @@ for decl in data:
s += '*(i64*)&_sp[' + str(firstArgIndex + i) + ']' s += '*(i64*)&_sp[' + str(firstArgIndex + i) + ']'
elif argTag == 'f': elif argTag == 'f':
s += '*(f32*)&_sp[' + str(firstArgIndex + i) + ']' s += '*(f32*)&_sp[' + str(firstArgIndex + i) + ']'
elif argTag == 'd': elif argTag == 'F':
s += '*(f64*)&_sp[' + str(firstArgIndex + i) + ']' s += '*(f64*)&_sp[' + str(firstArgIndex + i) + ']'
elif argTag == 'p': elif argTag == 'p':
s += '(void*)((char*)_mem + *(i32*)&_sp[' + str(firstArgIndex + i) + '])' s += '(void*)((char*)_mem + *(i32*)&_sp[' + str(firstArgIndex + i) + '])'

View File

@ -2,4 +2,4 @@
mp_event _OrcaRawEvent; mp_event _OrcaRawEvent;
ORCA_EXPORT mp_event *_OrcaRawEventPtr; ORCA_EXPORT mp_event *_OrcaRawEventPtr = &_OrcaRawEvent;