proper call typing?
This commit is contained in:
parent
c2377fa40f
commit
9372a72d43
4 changed files with 93 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue