Emulates the effects of janet_pcall using a thread-local fiber and D-like varargs.
Makes a function globally available with Janet.
Wraps around a function, allowing it to be called in Janet.
The same, but requires a type and an instance of that type as an argument. This is due to many class methods requiring context pointers. This is mostly only useful for class/struct registering.