|
Scalar types
|
Array types
|
Special types
|
Boolean
|
pass/return
|
int as bool
|
array as bool
|
handle as bool
|
|
|
|
Character (1-byte)
|
|
pass/return
|
bool as char array
|
int as char array
|
double as char array
|
handle as char array
|
|
|
Double (8-byte fp)
|
pass/return
|
bool as double
|
array as double
|
handle as double
|
|
pass/return
|
bool as double array
|
int as double array
|
double as double array
|
handle as double array
|
|
|
Integer (4-byte)
|
pass/return
|
bool as int
|
array as int
|
handle as int
|
|
pass/return
|
bool as int array
|
int as int array
|
double as int array
|
handle as int array
|
|
|
Strings (NUL-terminated)
|
|
|
send to NaCl
|
bool as string
|
int as string
|
double as string
|
array as string
|
return from NaCl
|
|
Handle (descriptor)
|
|
|
send to NaCl
|
bool as handle
|
int as handle
|
double as handle
|
array as handle
|
return from NaCl
|
send invalid to NaCl
|
return invalid from NaCl
|
|