diff options
author | Pete Batard <pbatard@gmail.com> | 2010-08-13 11:59:49 +0100 |
---|---|---|
committer | Daniel Drake <dan@reactivated.net> | 2010-08-23 18:48:55 -0600 |
commit | 29f9f9e3af3340df6a955881a93caf9d2a6d08d6 (patch) | |
tree | e956c2db4aa538c1f83550ee7bd24ca7ceba6f4a /doc | |
parent | be523f1fe7c136c3fca06ae9c96aff44a22482ba (diff) | |
download | libusb-29f9f9e3af3340df6a955881a93caf9d2a6d08d6.tar.gz |
Introduced calling convention (for Windows)
Under Windows, a variety of compilers and configurations are available,
meaning that the manner of parameter passing (e.g. registers vs stack)
can vary.
Match the Windows API calling convention and document this appropriately.
This calling convention will be used regardless of the configuration of
the user's development platform.
The only user-level complication is that all functions used as libusb
callbacks must use the same calling convention as libusb. The
LIBUSB_CALL macro is provided to make this easy.
Signed-off-by: Michael Plante <michael.plante@gmail.com>
Signed-off-by: Pete Batard <pbatard@gmail.com>
[dsd: slight change of strategy, add documentation]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doxygen.cfg.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doxygen.cfg.in b/doc/doxygen.cfg.in index 574b52f..128e1de 100644 --- a/doc/doxygen.cfg.in +++ b/doc/doxygen.cfg.in @@ -1054,7 +1054,7 @@ INCLUDE_FILE_PATTERNS = # undefined via #undef or recursively expanded use the := operator # instead of the = operator. -PREDEFINED = API_EXPORTED= +PREDEFINED = API_EXPORTED= LIBUSB_CALL= DEFAULT_VISIBILITY= # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. |