diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/yosys.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index ae73146b8..1076fb215 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -74,6 +74,16 @@ #ifdef YOSYS_ENABLE_TCL # include <tcl.h> +# ifdef YOSYS_MXE_HACKS +extern Tcl_Command Tcl_CreateCommand(Tcl_Interp *interp, const char *cmdName, Tcl_CmdProc *proc, ClientData clientData, Tcl_CmdDeleteProc *deleteProc); +extern Tcl_Interp *Tcl_CreateInterp(void); +extern void Tcl_DeleteInterp(Tcl_Interp *interp); +extern int Tcl_Eval(Tcl_Interp *interp, const char *script); +extern int Tcl_EvalFile(Tcl_Interp *interp, const char *fileName); +extern void Tcl_Finalize(void); +extern int Tcl_GetCommandInfo(Tcl_Interp *interp, const char *cmdName, Tcl_CmdInfo *infoPtr); +extern const char *Tcl_GetStringResult(Tcl_Interp *interp); +# endif #endif #ifdef _WIN32 |