[libdvdcss-devel] [PATCH 15/25] doxygen: Document LIBDVDCSS_EXPORT definition in dvdcss.h

Diego Biurrun diego at biurrun.de
Mon Oct 20 11:59:08 CEST 2014


---
 src/dvdcss/dvdcss.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/dvdcss/dvdcss.h b/src/dvdcss/dvdcss.h
index dc4af62..fb05a30 100644
--- a/src/dvdcss/dvdcss.h
+++ b/src/dvdcss/dvdcss.h
@@ -55,6 +55,9 @@ typedef struct dvdcss_s* dvdcss_t;
 #define DVDCSS_SEEK_KEY        (1 << 1)
 
 
+/** Macro for setting symbol storage-class or visibility.
+ * Define LIBDVDCSS_IMPORTS before importing this header to get the
+ * correct DLL storage-class when using \e libdvdcss from MSVC. */
 #if defined(LIBDVDCSS_EXPORTS)
 #define LIBDVDCSS_EXPORT __declspec(dllexport) extern
 #elif defined(LIBDVDCSS_IMPORTS)
-- 
1.9.1



More information about the libdvdcss-devel mailing list