| 1 | #include "tkInt.h" |
| 2 | #include "tkInt_f.h" |
| 3 | static unsigned TkintVSize(void) { return sizeof(TkintVtab);} |
| 4 | static TkintVtab TkintVtable = |
| 5 | { |
| 6 | TkintVSize, |
| 7 | #define VFUNC(type,name,mem,args) name, |
| 8 | #define VVAR(type,name,mem) &name, |
| 9 | #include "tkInt.t" |
| 10 | #undef VFUNC |
| 11 | #undef VVAR |
| 12 | }; |
| 13 | TkintVtab *TkintVptr; |
| 14 | TkintVtab *TkintVGet() { return TkintVptr = &TkintVtable;} |