aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-node.h')
-rw-r--r--lib/ephy-node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ephy-node.h b/lib/ephy-node.h
index a473c9abb..842001665 100644
--- a/lib/ephy-node.h
+++ b/lib/ephy-node.h
@@ -26,6 +26,10 @@
G_BEGIN_DECLS
+/* convenience macro to check node validity */
+
+#define EPHY_IS_NODE(o) (o != NULL)
+
typedef struct EphyNode EphyNode;
typedef enum