Fixes
This commit is contained in:
parent
7450930ae8
commit
5fa9c3c34c
|
@ -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) + '])'
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
mp_event _OrcaRawEvent;
|
mp_event _OrcaRawEvent;
|
||||||
|
|
||||||
ORCA_EXPORT mp_event *_OrcaRawEventPtr;
|
ORCA_EXPORT mp_event *_OrcaRawEventPtr = &_OrcaRawEvent;
|
||||||
|
|
Loading…
Reference in New Issue