mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-19 00:06:42 +08:00
18 lines
503 B
Swift
18 lines
503 B
Swift
import Foundation
|
|
import SpineC
|
|
import SpineSwift
|
|
|
|
print("Spine-C test package is working!")
|
|
print("Spine version: \(spine_major_version()).\(spine_minor_version())")
|
|
|
|
// Run the original C API test
|
|
print("\n=== Testing C API directly ===")
|
|
runSkeletonDrawableTest()
|
|
|
|
// Run the new SpineSwift API test
|
|
print("\n=== Testing SpineSwift API ===")
|
|
print("Starting SpineSwift test...")
|
|
print("About to call runSkeletonDrawableTestSwift...")
|
|
runSkeletonDrawableTestSwift()
|
|
print("SpineSwift test completed")
|