mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
418 B
27 lines
418 B
#pragma once |
|
|
|
#if defined(_MSC_VER) |
|
#define DLL_API __declspec(dllexport) |
|
|
|
#ifndef STDCALL |
|
#define STDCALL __stdcall |
|
#endif |
|
|
|
#ifndef CDECL |
|
#define CDECL __cdecl |
|
#endif |
|
#else |
|
#define DLL_API __attribute__ ((visibility ("default"))) |
|
|
|
#ifndef STDCALL |
|
#define STDCALL __attribute__((stdcall)) |
|
#endif |
|
|
|
#ifndef CDECL |
|
#define CDECL __attribute__((cdecl)) |
|
#endif |
|
#endif |
|
|
|
#define CS_OUT |
|
#define CS_IN_OUT |
|
#define CS_VALUE_TYPE
|
|
|