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 | a8e3472731bd9d5045558167567afacadceb718d (patch) | |
| tree | 817a59d083b9b491c50a61833f89dcc0113245aa /generic/tclInt.h | |
| parent | 95d020a657adeaec2fb3c6f5a0bf802cc22e766d (diff) | |
| download | tcl-a8e3472731bd9d5045558167567afacadceb718d.zip tcl-a8e3472731bd9d5045558167567afacadceb718d.tar.gz tcl-a8e3472731bd9d5045558167567afacadceb718d.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); /* *---------------------------------------------------------------- |
