mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
define ng_tcl_volatile, ...
This commit is contained in:
parent
1a634c1957
commit
bac77b1f58
@ -21,16 +21,16 @@ typedef int (Tcl_CmdProc) (void * clientData, Tcl_Interp *interp,
|
|||||||
typedef void (Tcl_FreeProc) (char *blockPtr);
|
typedef void (Tcl_FreeProc) (char *blockPtr);
|
||||||
|
|
||||||
namespace netgen {
|
namespace netgen {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
inline constexpr int NG_TCL_VOLATILE = 1;
|
inline constexpr int NG_TCL_VOLATILE = 1;
|
||||||
inline constexpr int NG_TCL_STATIC = 0;
|
inline constexpr int NG_TCL_STATIC = 0;
|
||||||
inline constexpr int NG_TCL_DYNAMIC = 3;
|
inline constexpr int NG_TCL_DYNAMIC = 3;
|
||||||
*/
|
*/
|
||||||
#define TCL_VOLATILE ((Tcl_FreeProc *) 1)
|
|
||||||
#define TCL_STATIC ((Tcl_FreeProc *) 0)
|
#define NG_TCL_VOLATILE ((Tcl_FreeProc *) 1)
|
||||||
#define TCL_DYNAMIC ((Tcl_FreeProc *) 3)
|
#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_OK = 0;
|
||||||
inline constexpr int NG_TCL_ERROR = 1;
|
inline constexpr int NG_TCL_ERROR = 1;
|
||||||
inline constexpr int NG_TCL_RETURN = 2;
|
inline constexpr int NG_TCL_RETURN = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user