| 1 | #include "Lang.h" |
| 2 | #ifdef WIN32 |
| 3 | #include "tkWin.h" |
| 4 | #include "tkPlatDecls_f.h" |
| 5 | static unsigned TkplatdeclsVSize(void) { return sizeof(TkplatdeclsVtab);} |
| 6 | static TkplatdeclsVtab TkplatdeclsVtable = |
| 7 | { |
| 8 | TkplatdeclsVSize, |
| 9 | #define VFUNC(type,name,mem,args) name, |
| 10 | #define VVAR(type,name,mem) &name, |
| 11 | #include "tkPlatDecls.t" |
| 12 | #undef VFUNC |
| 13 | #undef VVAR |
| 14 | }; |
| 15 | TkplatdeclsVtab *TkplatdeclsVptr; |
| 16 | TkplatdeclsVtab *TkplatdeclsVGet() { return TkplatdeclsVptr = &TkplatdeclsVtable;} |
| 17 | #endif |