mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +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
|
||||
|
||||
#ifndef LIBMDBX_API
|
||||
#if defined(LIBMDBX_EXPORTS)
|
||||
#if defined(LIBMDBX_EXPORTS) || defined(DOXYGEN)
|
||||
#define LIBMDBX_API __dll_export
|
||||
#elif defined(LIBMDBX_IMPORTS)
|
||||
#define LIBMDBX_API __dll_import
|
||||
@ -631,7 +631,7 @@ extern "C" {
|
||||
#endif /* LIBMDBX_API */
|
||||
|
||||
#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")))
|
||||
#else
|
||||
#define LIBMDBX_API_TYPE LIBMDBX_API
|
||||
|
Loading…
Reference in New Issue
Block a user