projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add macro IS_NIL
[SXSI/XMLTree.git]
/
XMLTree.h
diff --git
a/XMLTree.h
b/XMLTree.h
index
1cab2aa
..
d809bfc
100644
(file)
--- a/
XMLTree.h
+++ b/
XMLTree.h
@@
-94,6
+94,7
@@
typedef TagIdMap::const_iterator TagIdMapIT;
// returns NULLT if the test is true
#define NULLT_IF(x) do { if (x) return NULLT; } while (0)
+#define IS_NIL(x) ((x) < 0)
// Direct calls to sarray library