- void myFunction(int param1, char *param2)
- {
- [...]
- }
- int otherFunction(int meow, bool bla, bool blubb)
- {
- [...]
- return 42;
- }
- ScriptInterface myInterface (
- TYPE_VOID, myFunction, "myFunction", 2, TYPE_INT, TYPE_STRING,
- TYPE_INT, otherFunction, "otherFunction, 3, TYPE_INT, TYPE_BOOL, TYPE_BOOL,
- END
- );