mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx: корректировка API-макросов для Doxygen.
This commit is contained in:
parent
bfce1cd24d
commit
06dd50580c
4
mdbx.h
4
mdbx.h
@ -621,7 +621,7 @@ extern "C" {
|
|||||||
#define MDBX_VERSION_MINOR 13
|
#define MDBX_VERSION_MINOR 13
|
||||||
|
|
||||||
#ifndef LIBMDBX_API
|
#ifndef LIBMDBX_API
|
||||||
#if defined(LIBMDBX_EXPORTS)
|
#if defined(LIBMDBX_EXPORTS) || defined(DOXYGEN)
|
||||||
#define LIBMDBX_API __dll_export
|
#define LIBMDBX_API __dll_export
|
||||||
#elif defined(LIBMDBX_IMPORTS)
|
#elif defined(LIBMDBX_IMPORTS)
|
||||||
#define LIBMDBX_API __dll_import
|
#define LIBMDBX_API __dll_import
|
||||||
@ -631,7 +631,7 @@ extern "C" {
|
|||||||
#endif /* LIBMDBX_API */
|
#endif /* LIBMDBX_API */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#if defined(__clang__) || __has_attribute(type_visibility)
|
#if defined(__clang__) || __has_attribute(type_visibility) || defined(DOXYGEN)
|
||||||
#define LIBMDBX_API_TYPE LIBMDBX_API __attribute__((type_visibility("default")))
|
#define LIBMDBX_API_TYPE LIBMDBX_API __attribute__((type_visibility("default")))
|
||||||
#else
|
#else
|
||||||
#define LIBMDBX_API_TYPE LIBMDBX_API
|
#define LIBMDBX_API_TYPE LIBMDBX_API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user