chiark / gitweb /
Serpent seems to work. Byte order is very strange.
[chiark-tcl.git] / hbytes / hbytes.c
index 4bbf8f67663b54d904512f7f98c4c1921f006829..41fc12a943de4f78359c7bf68ec1b92fbeb78a57 100644 (file)
@@ -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 */