Artifact 9aeb5422dd895721d3f223147921abc9609f41b94c1e545864334d5d34560a88:
- File generic/tclCreateInterpWithStubs.c — part of check-in [07d94cad22] at 2019-04-05 20:51:50 on branch tip-531 — Created TIP 531 implementation for Peter Da Silva (user: dkf, size: 402) [annotate] [blame] [check-ins using]
/* must be compiled without stubs */ #undef USE_TCL_STUBS #include <tcl.h> Tcl_Interp * Tcl_CreateInterpWithStubs(const char *version, int exact) { Tcl_Interp *interp = Tcl_CreateInterp(); if (Tcl_Init(interp) == TCL_ERROR || Tcl_InitStubs(interp, version, exact) == NULL || Tcl_PkgRequire(interp, "Tcl", version, exact) == NULL) { return NULL; } return interp; }