mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
* [ios] backport from 4.3-beta: expose explict module for c & cpp - standard user can import spine-c based api as usual - dedicated swift/cpp user can import cpp interface with explict import and enabling cpp interp - objective-c user can import cpp using objective-c++ * [ios] expose `SpineCppLite` so that the library user can build there own runtime based on swift package => macOS, spriteKit texture
14 lines
246 B
Plaintext
14 lines
246 B
Plaintext
module SpineCppLite {
|
|
use c
|
|
export c
|
|
explicit module cpp {
|
|
umbrella header "spine/spine.h"
|
|
requires cplusplus11
|
|
export *
|
|
}
|
|
explicit module c {
|
|
header "spine-cpp-lite.h"
|
|
export *
|
|
}
|
|
}
|