[libdvdcss-devel] doxygen: Document LIBDVDCSS_EXPORT definition in dvdcss.h
Diego Biurrun
git at videolan.org
Mon Oct 20 19:14:57 CEST 2014
libdvdcss | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Oct 20 11:59:08 2014 +0200| [4bf3511134f3cae12f6ec063c8a0764c5bd80cf8] | committer: Jean-Baptiste Kempf
doxygen: Document LIBDVDCSS_EXPORT definition in dvdcss.h
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=4bf3511134f3cae12f6ec063c8a0764c5bd80cf8
---
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)
More information about the libdvdcss-devel
mailing list