diff options
author | Yong Bakos <ybakos@humanoriented.com> | 2016-05-12 15:52:37 -0500 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2016-06-01 17:34:17 -0700 |
commit | 3e58aa1e0621f9183188bc79c51e0a3eca932465 (patch) | |
tree | ba06b6dbe4c77806fdb4f86b0f8b78521dd2fc34 /doc | |
parent | 98d94b5c1d1cc21f5c963cdebc1cd535c6ae5b4f (diff) | |
download | wayland-3e58aa1e0621f9183188bc79c51e0a3eca932465.tar.gz |
doc: Unpublish wl_display_get_additional_shm_formats
The Wayland docbook and the doxygen html docs had been presenting
wl_display_get_additional_shm_formats as part of the public API, but the
prototype for this function is in wayland-private.h.
Add a \private annotation to the doc comment, preventing doxygen from
publishing this function as public.
Add logic to the publican xsl to only transform elements with a "prot"
attribute value of "public".
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/publican/doxygen-to-publican.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl index 7c3b507..e13dcd7 100644 --- a/doc/publican/doxygen-to-publican.xsl +++ b/doc/publican/doxygen-to-publican.xsl @@ -101,7 +101,7 @@ <!-- methods --> <xsl:template match="memberdef" > - <xsl:if test="@kind = 'function' and @static = 'no' or + <xsl:if test="@kind = 'function' and @static = 'no' and @prot = 'public' or @kind !='function' and normalize-space(briefdescription) != ''"> <varlistentry id="{$which}-{@id}"> <term> |