koperative.h (390B)
1 /* 2 ** koperative.h 3 ** Kernel Operatives 4 ** See Copyright Notice in klisp.h 5 */ 6 7 #ifndef koperative_h 8 #define koperative_h 9 10 #include "kobject.h" 11 #include "kstate.h" 12 13 /* TODO: make some specialized constructors for 0, 1 and 2 parameters */ 14 15 /* GC: Assumes all argps are rooted */ 16 TValue kmake_operative(klisp_State *K, klisp_CFunction fn, int32_t xcount, 17 ...); 18 19 #endif