mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
17 lines
389 B
C++
17 lines
389 B
C++
#include "ngtcl.hpp"
|
|
|
|
#include <inctcl.hpp>
|
|
|
|
namespace netgen
|
|
{
|
|
void Ng_Tcl_SetResult(Tcl_Interp *interp, char *result, const int freeProc)
|
|
{
|
|
Tcl_SetResult(interp, result, (Tcl_FreeProc*)freeProc);
|
|
}
|
|
|
|
void Ng_Tcl_CreateCommand(Tcl_Interp *interp, const char *cmdName, Tcl_CmdProc *proc)
|
|
{
|
|
Tcl_CreateCommand(interp, cmdName, proc, nullptr, nullptr);
|
|
}
|
|
}
|