Hi,
Under Ubuntu 12.04.3 32-bit with doxygen 1.7.6.1, "make docs" in doc folder
says:

libusbx/libusb/libusb.h:153: warning: no matching file member found for
libusb_cpu_to_le16()Possible candidates:
  static uint16_t libusb_cpu_to_le16(const uint16_t x)

doxygen doc says:
\fn (function declaration)

Indicates that a comment block contains documentation for a function
(either global or as a member of a class). This command is *only* needed if
a comment block is *not* placed in front (or behind) the function
declaration or definition.

If your comment block *is* in front of the function declaration or
definition this command can (and to avoid redundancy should) be omitted.

A full function declaration including arguments should be specified after
the \fn command on a *single* line, since the argument ends at the end of
the line!

This command is equivalent to \var, \typedef, and \property.
*Warning:*Do not use this command if it is not absolutely needed, since it
will lead to duplication of information and thus to errors.
Attached is a tiny patch for a fix.
thx..
--- libusb/libusb.h
+++ libusb/libusb.h
@@ -150,8 +150,7 @@
 extern "C" {
 #endif
 
-/** \fn libusb_cpu_to_le16
- * \ingroup misc
+/** \ingroup misc
  * Convert a 16-bit value from host-endian to little-endian format. On
  * little endian systems, this function does nothing. On big endian systems,
  * the bytes are swapped.
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to