proper call typing?

This commit is contained in:
pommicket 2022-02-07 14:52:50 -05:00
parent c2377fa40f
commit 9372a72d43
4 changed files with 93 additions and 8 deletions

View file

@ -222,7 +222,7 @@
; array of n t's: TYPE_ARRAY {n as 8 bytes} t
; struct/union: TYPE_STRUCT {8-byte pointer to struct/union data (see structures in main.b)}
; note: incomplete structs/unions are replaced with void.
; function: TYPE_FUNCTION {arg1 type} {arg2 type} ... {argn type} 0 {return type}
; function: TYPE_FUNCTION {arg1 type} {arg2 type} ... {argn type} 0 {return type} - NB: varargs (...) are ignored
; note that enum types are just treated as ints.
#define TYPE_VOID 1
#define TYPE_CHAR 3