[cpp] spine-cpp-light.h -> spine-cpp-lite.h

This commit is contained in:
Mario Zechner 2024-04-30 12:35:16 +02:00
parent 0e00ce4f07
commit a8e8cfa567
2 changed files with 8 additions and 8 deletions

View File

@ -27,7 +27,7 @@
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/
#include "spine-cpp-light.h"
#include "spine-cpp-lite.h"
#include <spine/spine.h>
#include <spine/Version.h>
#include <spine/Debug.h>

View File

@ -27,29 +27,29 @@
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/
#ifndef SPINE_FLUTTER
#define SPINE_FLUTTER
#ifndef SPINE_CPP_LITE
#define SPINE_CPP_LITE
#include <stdint.h>
#ifdef __cplusplus
#if _WIN32
#define SPINE_FLUTTER_EXPORT extern "C" __declspec(dllexport)
#define SPINE_CPP_LITE_EXPORT extern "C" __declspec(dllexport)
#else
#ifdef __EMSCRIPTEN__
#define SPINE_FLUTTER_EXPORT extern "C" __attribute__((used))
#define SPINE_CPP_LITE_EXPORT extern "C" __attribute__((used))
#else
#define SPINE_CPP_LITE_EXPORT extern "C"
#endif
#endif
#else
#if _WIN32
#define SPINE_FLUTTER_EXPORT __declspec(dllexport)
#define SPINE_CPP_LITE_EXPORT __declspec(dllexport)
#else
#ifdef __EMSCRIPTEN__
#define SPINE_FLUTTER_EXPORT __attribute__((used))
#define SPINE_CPP_LITE_EXPORT __attribute__((used))
#else
#define SPINE_FLUTTER_EXPORT
#define SPINE_CPP_LITE_EXPORT
#endif
#endif
#endif