mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
- standard user can import spine-c based api without c warning - dedicated user can import cpp interface with explict import and enabling cpp interp - objective-c user can not import cpp using objective-c++ without issue
14 lines
233 B
Plaintext
14 lines
233 B
Plaintext
module SpineC {
|
|
use c
|
|
export c
|
|
explicit module cpp {
|
|
umbrella header "spine/spine.h"
|
|
requires cplusplus11
|
|
export *
|
|
}
|
|
explicit module c {
|
|
header "spine-c.h"
|
|
export *
|
|
}
|
|
}
|