diff options
-rw-r--r-- | generic/Types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/Types.h b/generic/Types.h index 7065c4e..41b1aff 100644 --- a/generic/Types.h +++ b/generic/Types.h @@ -394,6 +394,7 @@ typedef struct { #ifdef PTK #define Tcl_NumUtfChars(str, len) ((len)<0?strlen(str):(len)) #define Tcl_UtfAtIndex(str, index) (&(str)[(index)]) +#define Tcl_GetString(str) (Tcl_GetStringFromObj(str, NULL)) #endif #ifdef __CPLUSPLUS__ |