PQLR
Postquantum Crypto Library by QAPP
api.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef __EMSCRIPTEN__
4 #include <emscripten/emscripten.h>
5 #else
6 #define EMSCRIPTEN_KEEPALIVE
7 #endif
8 
9 #ifdef WIN32
10 
11 #ifdef PQLR_EXPORTS
12 #define PQLR_API __declspec(dllexport) EMSCRIPTEN_KEEPALIVE
13 #else
14 #define PQLR_API __declspec(dllimport)
15 #endif
16 
17 #else
18 
19 #ifdef PQLR_EXPORTS
20 #define PQLR_API __attribute((visibility("default"))) EMSCRIPTEN_KEEPALIVE
21 #else
22 #define PQLR_API
23 #endif
24 
25 #endif