| 1 | #include "tix.h" |
| 2 | #include "tix_f.h" |
| 3 | static unsigned TixVSize(void) { return sizeof(TixVtab);} |
| 4 | static TixVtab TixVtable = |
| 5 | { |
| 6 | TixVSize, |
| 7 | #define VFUNC(type,name,mem,args) name, |
| 8 | #define VVAR(type,name,mem) &name, |
| 9 | #include "tix.t" |
| 10 | #undef VFUNC |
| 11 | #undef VVAR |
| 12 | }; |
| 13 | TixVtab *TixVptr; |
| 14 | TixVtab *TixVGet() { return TixVptr = &TixVtable;} |