diff --git a/spine-cpp/spine-cpp-lite/spine-cpp-lite.h b/spine-cpp/spine-cpp-lite/spine-cpp-lite.h index 831984ab2..804068a9f 100644 --- a/spine-cpp/spine-cpp-lite/spine-cpp-lite.h +++ b/spine-cpp/spine-cpp-lite/spine-cpp-lite.h @@ -1051,6 +1051,7 @@ SPINE_CPP_LITE_EXPORT void spine_texture_region_set_original_width(spine_texture SPINE_CPP_LITE_EXPORT int32_t spine_texture_region_get_original_height(spine_texture_region textureRegion); SPINE_CPP_LITE_EXPORT void spine_texture_region_set_original_height(spine_texture_region textureRegion, int32_t originalHeight); +// @ignore SPINE_CPP_LITE_EXPORT spine_skeleton_bounds spine_skeleton_bounds_create(); SPINE_CPP_LITE_EXPORT void spine_skeleton_bounds_dispose(spine_skeleton_bounds bounds); SPINE_CPP_LITE_EXPORT void spine_skeleton_bounds_update(spine_skeleton_bounds bounds, spine_skeleton skeleton, spine_bool updateAabb); diff --git a/spine-ios/Sources/Spine/Spine.Generated+Extensions.swift b/spine-ios/Sources/Spine/Spine.Generated+Extensions.swift index 52f5c43f5..c3cbbf60f 100644 --- a/spine-ios/Sources/Spine/Spine.Generated+Extensions.swift +++ b/spine-ios/Sources/Spine/Spine.Generated+Extensions.swift @@ -313,3 +313,9 @@ internal enum FileSource { extension String: Error { } + +public extension SkeletonBounds { + static func create() -> SkeletonBounds { + return SkeletonBounds(spine_skeleton_bounds_create()) + } +} diff --git a/spine-ios/Sources/Spine/Spine.Generated.swift b/spine-ios/Sources/Spine/Spine.Generated.swift index 8aed314b9..4793fde8e 100644 --- a/spine-ios/Sources/Spine/Spine.Generated.swift +++ b/spine-ios/Sources/Spine/Spine.Generated.swift @@ -1757,11 +1757,6 @@ public final class SkeletonBounds: NSObject { return spine_skeleton_bounds_get_height(wrappee) } - @discardableResult - public func create() -> SkeletonBounds { - return .init(spine_skeleton_bounds_create()) - } - public func dispose() { if disposed { return } disposed = true