mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
- Changed code generator to emit dispose() methods instead of deinit - Add override keyword for dispose() in subclasses - Keep deinit with _ownsMemory check for array types - Fix SkinExtensions to use correct C++ class names for attachments - Complete skeleton_drawable_test implementations with no warnings - Add comprehensive bone pose transformation tests - Fix skin entries test to properly show attachments The memory management fix prevents Swift wrappers from accidentally disposing C++ objects they don't own when created via fromPointer.
24 lines
605 B
Swift
24 lines
605 B
Swift
// swift-tools-version: 5.5
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "SpineTest",
|
|
platforms: [
|
|
.macOS(.v10_15)
|
|
],
|
|
dependencies: [
|
|
.package(path: "../../")
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "SpineTest",
|
|
dependencies: [
|
|
.product(name: "SpineC", package: "spine-runtimes"),
|
|
.product(name: "SpineSwift", package: "spine-runtimes")
|
|
],
|
|
path: "src"
|
|
)
|
|
]
|
|
) |