xref: /freebsd/sys/contrib/zstd/lib/module.modulemap (revision a90b9d0159070121c221b966469c3e36d912bf82)
1module libzstd [extern_c] {
2    header "zstd.h"
3    export *
4    config_macros [exhaustive] /* zstd.h */ \
5        ZSTD_STATIC_LINKING_ONLY, \
6        ZSTDLIB_VISIBLE, \
7        ZSTD_DLL_EXPORT, \
8        ZSTDLIB_STATIC_API, \
9        ZSTD_DISABLE_DEPRECATE_WARNINGS, \
10        ZSTD_CLEVEL_DEFAULT, \
11        /* zdict.h */ ZDICT_STATIC_LINKING_ONLY, \
12        ZDICTLIB_VISIBILITY, \
13        ZDICT_DISABLE_DEPRECATE_WARNINGS, \
14        /* zstd_errors.h */ ZSTDERRORLIB_VISIBILITY
15
16    module dictbuilder [extern_c] {
17        header "zdict.h"
18        export *
19    }
20
21    module errors [extern_c] {
22        header "zstd_errors.h"
23        export *
24    }
25}
26