aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node.h
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-05-27 07:03:57 +0800
committerXan Lopez <xan@src.gnome.org>2003-05-27 07:03:57 +0800
commitd24b49b8d86929645b0e6fe2a1cf47d9f35768f6 (patch)
treeeaff27adf4b0bd6775f2ace9cf34be992c38bb17 /lib/ephy-node.h
parent3f91d766156e07b491c27bc447fb7800cc7b4cdd (diff)
downloadgsoc2013-epiphany-d24b49b8d86929645b0e6fe2a1cf47d9f35768f6.tar
gsoc2013-epiphany-d24b49b8d86929645b0e6fe2a1cf47d9f35768f6.tar.gz
gsoc2013-epiphany-d24b49b8d86929645b0e6fe2a1cf47d9f35768f6.tar.bz2
gsoc2013-epiphany-d24b49b8d86929645b0e6fe2a1cf47d9f35768f6.tar.lz
gsoc2013-epiphany-d24b49b8d86929645b0e6fe2a1cf47d9f35768f6.tar.xz
gsoc2013-epiphany-d24b49b8d86929645b0e6fe2a1cf47d9f35768f6.tar.zst
gsoc2013-epiphany-d24b49b8d86929645b0e6fe2a1cf47d9f35768f6.zip
Lots of safety checks on node functions.
Lots of safety checks on node functions.
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