summaryrefslogtreecommitdiff
path: root/array.h
diff options
context:
space:
mode:
authorFelix von Leitner <felix-libowfat@fefe.de>2003-09-02 00:14:04 +0000
committerFelix von Leitner <felix-libowfat@fefe.de>2003-09-02 00:14:04 +0000
commitbb3243fbe239521f5f2661954aba246aaed50b3f (patch)
tree20faf67d381eda4b14f0f1e71779ae900205fcff /array.h
parent58bf3e91a36e7097c99a97cd2a65cfadd9574bfd (diff)
downloadlibowfat-bb3243fbe239521f5f2661954aba246aaed50b3f.tar.gz
libowfat-bb3243fbe239521f5f2661954aba246aaed50b3f.zip
beginnings of the io library
Diffstat (limited to 'array.h')
-rw-r--r--array.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/array.h b/array.h
index 0889f23..0afbdc9 100644
--- a/array.h
+++ b/array.h
@@ -31,4 +31,7 @@ void array_cats0(array* to,const char* from);
void array_cat0(array* to);
void array_cate(array* to,const array* const from,int64 pos,int64 stop);
+#define array_failed(x) (array_bytes(x)==-1)
+#define array_allocated(x) (array_bytes(x)==0)
+
#endif