diff options
author | dgp <dgp@users.sourceforge.net> | 2016-12-01 13:20:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-12-01 13:20:47 (GMT) |
commit | 5e2fde0cbb66a72f1a7eea2b830c3003696f4ca7 (patch) | |
tree | 817a59d083b9b491c50a61833f89dcc0113245aa /generic/tclInt.h | |
parent | a54acb028826edf1444f2bf6afa4b62b5dd56f68 (diff) | |
download | tcl-5e2fde0cbb66a72f1a7eea2b830c3003696f4ca7.zip tcl-5e2fde0cbb66a72f1a7eea2b830c3003696f4ca7.tar.gz tcl-5e2fde0cbb66a72f1a7eea2b830c3003696f4ca7.tar.bz2 |
Created a new "proper bytearray" Tcl_ObjType so we can use bytearrays
as bytearrays without all this fussing about over purity.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 8f85f19..ca8ad70 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -4427,8 +4427,7 @@ MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr, const char *file, *---------------------------------------------------------------- */ -#define TclIsPureByteArray(objPtr) \ - (((objPtr)->typePtr==&tclByteArrayType) && ((objPtr)->bytes==NULL)) +MODULE_SCOPE int TclIsPureByteArray(Tcl_Obj *objPtr); /* *---------------------------------------------------------------- |