blob: cdda5e0508fd9f6910f9dd38ac4458e3354f5e13 [file] [log] [blame]
// prototypes
forward bar()
native baz()
foo();
enum rect { left, top , right, bottom }
native intersect[rect](src1[rect], src2[rect])
native getparam(a[], b[], size) = host_getparam
// function w/o brace
main()
printf("hello\n")
foo() bar()
stock ts_is_waiting(id) return(ts_get_message(id) == TSMSG_WAITING)
// regular old functions
baz() {
do_something()
}