Graphviz 13.0.0~dev.20250419.1008
|
Definitions to enable compatibility across Tcl 8 → Tcl 9. More...
#include <limits.h>
#include <tcl.h>
Go to the source code of this file.
Macros | |
#define | Tcl_GetSizeIntFromObj Tcl_GetIntFromObj |
#define | TCL_SIZE_MAX INT_MAX |
#define | TCL_SIZE_MODIFIER "" |
#define | Tcl_Size int |
Tcl 9 contained multiple breaking changes to the API. To allow compilation under either Tcl 8 or Tcl 9, various shims are needed. • https://core.tcl-lang.org/tcl/wiki?name=Migrating+C+extensions+to+Tcl+9 • https://wiki.tcl-lang.org/page/Porting+extensions+to+Tcl+9
Definition in file tcl-compat.h.
#define Tcl_GetSizeIntFromObj Tcl_GetIntFromObj |
Definition at line 17 of file tcl-compat.h.
#define Tcl_Size int |
size type for Tcl 8
https://core.tcl-lang.org/tcl/wiki?name=Migrating+C+extensions+to+Tcl+9 says:
"Tcl_Size" itself doesn't need to be provided as long as you update the extension to the latest tclconfig release. TEA (latest tcl.m4/rules.vc files) takes care of providing an appropriate preprocessor #define
for Tcl_Size
.
but we assume this has not happened.
Definition at line 33 of file tcl-compat.h.
#define TCL_SIZE_MAX INT_MAX |
Definition at line 18 of file tcl-compat.h.
#define TCL_SIZE_MODIFIER "" |
Definition at line 19 of file tcl-compat.h.