| 1 | #include "tk.h" |
| 2 | #include "tkInt.h" |
| 3 | #include "tkOption.h" |
| 4 | #include "tkOption_f.h" |
| 5 | static unsigned TkoptionVSize(void) { return sizeof(TkoptionVtab);} |
| 6 | static TkoptionVtab TkoptionVtable = |
| 7 | { |
| 8 | TkoptionVSize, |
| 9 | #define VFUNC(type,name,mem,args) name, |
| 10 | #define VVAR(type,name,mem) &name, |
| 11 | #include "tkOption.t" |
| 12 | #undef VFUNC |
| 13 | #undef VVAR |
| 14 | }; |
| 15 | TkoptionVtab *TkoptionVptr; |
| 16 | TkoptionVtab *TkoptionVGet() { return TkoptionVptr = &TkoptionVtable;} |