summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong Bakos <ybakos@humanoriented.com>2016-05-12 15:52:39 -0500
committerBryce Harrington <bryce@osg.samsung.com>2016-06-01 17:34:30 -0700
commita1bce0ead5a7d46f719e1f890fd7e4d0fa5d7d55 (patch)
tree8651f106424fa85a7e2481ce5cc196732bf751d6
parentd29b9233058004eef321f847a588b94eb86c1d36 (diff)
doc: Unpublish global_zombie_object and wl_interface_equal
Both global_zombie_object and wl_interface_equal are private, yet were part of public documentation despite not being part of the public API. Move these two definitions to the top of an existing doxygen \cond block, which removes them from the public documentation. Signed-off-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
-rw-r--r--src/wayland-util.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/wayland-util.c b/src/wayland-util.c
index 407d1f0..7467366 100644
--- a/src/wayland-util.c
+++ b/src/wayland-util.c
@@ -33,21 +33,6 @@
#include "wayland-util.h"
#include "wayland-private.h"
-struct wl_object global_zombie_object;
-
-int
-wl_interface_equal(const struct wl_interface *a, const struct wl_interface *b)
-{
- /* In most cases the pointer equality test is sufficient.
- * However, in some cases, depending on how things are split
- * across shared objects, we can end up with multiple
- * instances of the interface metadata constants. So if the
- * pointers match, the interfaces are equal, if they don't
- * match we have to compare the interface names.
- */
- return a == b || strcmp(a->name, b->name) == 0;
-}
-
WL_EXPORT void
wl_list_init(struct wl_list *list)
{
@@ -167,6 +152,21 @@ wl_array_copy(struct wl_array *array, struct wl_array *source)
/** \cond */
+struct wl_object global_zombie_object;
+
+int
+wl_interface_equal(const struct wl_interface *a, const struct wl_interface *b)
+{
+ /* In most cases the pointer equality test is sufficient.
+ * However, in some cases, depending on how things are split
+ * across shared objects, we can end up with multiple
+ * instances of the interface metadata constants. So if the
+ * pointers match, the interfaces are equal, if they don't
+ * match we have to compare the interface names.
+ */
+ return a == b || strcmp(a->name, b->name) == 0;
+}
+
union map_entry {
uintptr_t next;
void *data;