X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLTree.h;fp=XMLTree.h;h=d809bfcd080abe3d3876a26649aece5470e9b2a3;hb=fc8aa5183419843130789c6f0e84461481cb22af;hp=1cab2aacf36da23962fd39ecc22591ce868d2266;hpb=00d137d79d67d8a79c8ff7ab6623a00a3783df5f;p=SXSI%2FXMLTree.git diff --git a/XMLTree.h b/XMLTree.h index 1cab2aa..d809bfc 100644 --- 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