Can anyone point me towards the syntax for extern declarations in Genie. Extern decls are supported in Vala, therefore they should also be available in Genie but I cannot seem to hit on the correct syntax. I'm trying to expose the C "exit" function so I can quit the application after an exception has occured.
Vala syntax for extern:
extern void exit(int exit_code);
Genie syntax for extern?
extern def exit(exit_code:int):void
Obviously this syntax is incorrect or I wouldn't be asking this question :) but I think this is approximately the form it should take, can anyone assist?
Thanks - G