From bac77b1f58d2ae317ca697b2738476f0bcd5e6f7 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sat, 7 May 2022 19:54:43 +0200 Subject: [PATCH] define ng_tcl_volatile, ... --- libsrc/meshing/visual_interface.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libsrc/meshing/visual_interface.hpp b/libsrc/meshing/visual_interface.hpp index e5da6521..5f856a24 100644 --- a/libsrc/meshing/visual_interface.hpp +++ b/libsrc/meshing/visual_interface.hpp @@ -21,16 +21,16 @@ typedef int (Tcl_CmdProc) (void * clientData, Tcl_Interp *interp, typedef void (Tcl_FreeProc) (char *blockPtr); namespace netgen { - /* - inline constexpr int NG_TCL_VOLATILE = 1; - inline constexpr int NG_TCL_STATIC = 0; - inline constexpr int NG_TCL_DYNAMIC = 3; + inline constexpr int NG_TCL_VOLATILE = 1; + inline constexpr int NG_TCL_STATIC = 0; + inline constexpr int NG_TCL_DYNAMIC = 3; */ -#define TCL_VOLATILE ((Tcl_FreeProc *) 1) -#define TCL_STATIC ((Tcl_FreeProc *) 0) -#define TCL_DYNAMIC ((Tcl_FreeProc *) 3) - + +#define NG_TCL_VOLATILE ((Tcl_FreeProc *) 1) +#define NG_TCL_STATIC ((Tcl_FreeProc *) 0) +#define NG_TCL_DYNAMIC ((Tcl_FreeProc *) 3) + inline constexpr int NG_TCL_OK = 0; inline constexpr int NG_TCL_ERROR = 1; inline constexpr int NG_TCL_RETURN = 2;