| 1 | #define TCL_EVENT_IMPLEMENT |
| 2 | #include "Lang.h" |
| 3 | #include "tkEvent.h" |
| 4 | #include "tkEvent_f.h" |
| 5 | static unsigned TkeventVSize(void) { return sizeof(TkeventVtab);} |
| 6 | static TkeventVtab TkeventVtable = |
| 7 | { |
| 8 | TkeventVSize, |
| 9 | #define VFUNC(type,name,mem,args) name, |
| 10 | #define VVAR(type,name,mem) &name, |
| 11 | #include "tkEvent.t" |
| 12 | #undef VFUNC |
| 13 | #undef VVAR |
| 14 | }; |
| 15 | TkeventVtab *TkeventVptr; |
| 16 | TkeventVtab *TkeventVGet() { return TkeventVptr = &TkeventVtable;} |