2022-05-07 18:13:00 +05:00
|
|
|
#include <inctcl.hpp>
|
2022-05-06 15:02:28 +05:00
|
|
|
#include "../libsrc/meshing/visual_interface.hpp"
|
2021-10-11 19:04:00 +05:00
|
|
|
|
2022-05-07 18:13:00 +05:00
|
|
|
|
2022-05-07 22:40:16 +05:00
|
|
|
static void Impl_Ng_Tcl_SetResult(Tcl_Interp *interp, char *result, Tcl_FreeProc *freeProc)
|
2022-05-07 18:13:00 +05:00
|
|
|
{
|
2022-05-07 22:40:16 +05:00
|
|
|
Tcl_SetResult(interp, result, freeProc);
|
2022-05-07 18:13:00 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
static void Impl_Ng_Tcl_CreateCommand(Tcl_Interp *interp, const char *cmdName, Tcl_CmdProc *proc)
|
|
|
|
{
|
|
|
|
Tcl_CreateCommand(interp, cmdName, proc, nullptr, nullptr);
|
|
|
|
}
|
2021-10-11 19:04:00 +05:00
|
|
|
|
2022-05-06 15:02:28 +05:00
|
|
|
static bool dummy_init_pointers = [](){
|
2022-05-07 18:13:00 +05:00
|
|
|
netgen::Ptr_Ng_Tcl_SetResult = Impl_Ng_Tcl_SetResult;
|
|
|
|
netgen::Ptr_Ng_Tcl_CreateCommand = Impl_Ng_Tcl_CreateCommand;
|
2022-05-06 15:02:28 +05:00
|
|
|
return true;
|
|
|
|
}();
|