X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=hbytes%2Fhbytes.c;h=41fc12a943de4f78359c7bf68ec1b92fbeb78a57;hb=aa983421528c717a29c402c0cb4c8438b96fd860;hp=4bbf8f67663b54d904512f7f98c4c1921f006829;hpb=2cf1bfc63e73a424f9f3899c204025a8346b38e0;p=chiark-tcl.git diff --git a/hbytes/hbytes.c b/hbytes/hbytes.c index 4bbf8f6..41fc12a 100644 --- a/hbytes/hbytes.c +++ b/hbytes/hbytes.c @@ -6,7 +6,6 @@ #include "hbytes.h" #include "tables.h" -#include "hbintern.h" #define COMPLEX(hb) ((HBytes_ComplexValue*)hb->begin_complex) #define SIMPLE_LEN(hb) ((Byte*)(hb)->end_0 - (Byte*)(hb)->begin_complex) @@ -26,7 +25,7 @@ Byte *hbytes_data(const HBytes_Value *hb) { } int hbytes_issentinel(const HBytes_Value *hb) { - return HBYTES_ISCOMPLEX(hb); + return HBYTES_ISSENTINEL(hb); } /* constructors */