blob: 853c70adc1aaad6e3036bc4a3a22f87d65df048e [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();
}