@nativescript/canvas 2.0.0-alpha.20 → 2.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Canvas/common.d.ts +2 -0
- package/Canvas/common.js +6 -0
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.d.ts +0 -2
- package/Canvas/index.android.js +8 -22
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.d.ts +7 -0
- package/Canvas/index.ios.d.ts +0 -2
- package/Canvas/index.ios.js +7 -26
- package/Canvas/index.ios.js.map +1 -1
- package/Canvas2D/CanvasGradient/index.d.ts +1 -3
- package/Canvas2D/CanvasGradient/index.js +1 -10
- package/Canvas2D/CanvasGradient/index.js.map +1 -1
- package/Canvas2D/CanvasPattern/index.d.ts +1 -3
- package/Canvas2D/CanvasPattern/index.js +1 -10
- package/Canvas2D/CanvasPattern/index.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.d.ts +0 -2
- package/Canvas2D/CanvasRenderingContext2D/index.js +120 -138
- package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
- package/Canvas2D/DOMMatrix/index.js +3 -3
- package/Canvas2D/DOMMatrix/index.js.map +1 -1
- package/Canvas2D/ImageData/index.js +5 -5
- package/Canvas2D/ImageData/index.js.map +1 -1
- package/Canvas2D/Path2D/index.d.ts +0 -2
- package/Canvas2D/Path2D/index.js +34 -39
- package/Canvas2D/Path2D/index.js.map +1 -1
- package/ImageAsset/index.d.ts +2 -2
- package/ImageAsset/index.js +33 -37
- package/ImageAsset/index.js.map +1 -1
- package/ImageBitmap/index.d.ts +0 -2
- package/ImageBitmap/index.js +23 -29
- package/ImageBitmap/index.js.map +1 -1
- package/SVG/SVG.js +1 -1
- package/TextDecoder/index.d.ts +0 -2
- package/TextDecoder/index.js +3 -12
- package/TextDecoder/index.js.map +1 -1
- package/TextEncoder/index.d.ts +0 -2
- package/TextEncoder/index.js +4 -13
- package/TextEncoder/index.js.map +1 -1
- package/WebGL/WebGLExtensions/index.d.ts +0 -9
- package/WebGL/WebGLExtensions/index.js +17 -74
- package/WebGL/WebGLExtensions/index.js.map +1 -1
- package/WebGL/WebGLRenderingContext/common.d.ts +0 -2
- package/WebGL/WebGLRenderingContext/common.js +0 -10
- package/WebGL/WebGLRenderingContext/common.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.js +159 -298
- package/WebGL/WebGLRenderingContext/index.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.js +107 -195
- package/WebGL2/WebGL2RenderingContext/index.js.map +1 -1
- package/angular/esm2020/index.mjs +5 -5
- package/angular/fesm2015/nativescript-canvas-angular.mjs +4 -4
- package/angular/fesm2015/nativescript-canvas-angular.mjs.map +1 -1
- package/angular/fesm2020/nativescript-canvas-angular.mjs +4 -4
- package/angular/fesm2020/nativescript-canvas-angular.mjs.map +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/canvas-release.aar +0 -0
- package/platforms/android/include.gradle +15 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +87 -57
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative.h +10 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_ios.h +142 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +2589 -110
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +1174 -89
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +174 -114
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative.h +10 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_ios.h +142 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +2589 -110
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +1174 -89
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +1174 -89
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +42 -31
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/Podfile +3 -0
- package/platforms/ios/build.xcconfig +3 -3
- package/platforms/ios/src/CanvasModule.h +0 -2
- package/platforms/ios/src/CanvasModule.mm +4 -4
- package/platforms/ios/src/NSOperationQueueWrapper.h +11 -0
- package/platforms/ios/src/NSOperationQueueWrapper.mm +74 -0
- package/platforms/ios/src/cpp/Caches.cpp +35 -0
- package/platforms/ios/src/cpp/Caches.h +186 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.cpp +1582 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.h +7 -34
- package/platforms/ios/src/cpp/Common.h +30 -0
- package/platforms/ios/src/cpp/ConcurrentMap.h +54 -0
- package/platforms/ios/src/cpp/Helpers.h +304 -38
- package/platforms/ios/src/cpp/ImageAssetImpl.cpp +802 -0
- package/platforms/ios/src/cpp/ImageAssetImpl.h +44 -12
- package/platforms/ios/src/cpp/ImageBitmapImpl.cpp +189 -0
- package/platforms/ios/src/cpp/ImageBitmapImpl.h +22 -16
- package/platforms/ios/src/cpp/JSICallback.h +61 -5
- package/platforms/ios/src/cpp/JSIReadFileCallback.h +86 -6
- package/platforms/ios/src/cpp/JSIRuntime.cpp +21 -0
- package/platforms/ios/src/cpp/JSIRuntime.h +7 -0
- package/platforms/ios/src/cpp/OneByteStringResource.cpp +25 -0
- package/platforms/ios/src/cpp/OneByteStringResource.h +21 -0
- package/platforms/ios/src/cpp/RafImpl.cpp +8 -0
- package/platforms/ios/src/cpp/RafImpl.h +11 -8
- package/platforms/ios/src/cpp/TextDecoderImpl.cpp +188 -0
- package/platforms/ios/src/cpp/TextDecoderImpl.h +20 -14
- package/platforms/ios/src/cpp/TextEncoderImpl.cpp +139 -0
- package/platforms/ios/src/cpp/TextEncoderImpl.h +20 -11
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.cpp +71 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +27 -13
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.cpp +89 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +26 -13
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +2402 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +264 -21
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.cpp +203 -0
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +26 -12
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.cpp +800 -0
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +172 -13
- package/platforms/ios/src/cpp/canvas2d/Path2D.cpp +449 -0
- package/platforms/ios/src/cpp/canvas2d/Path2D.h +41 -12
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.cpp +253 -0
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +50 -12
- package/platforms/ios/src/cpp/gl.h +57 -7
- package/platforms/ios/src/cpp/gl3stub.c +425 -0
- package/platforms/ios/src/cpp/gl3stub.h +665 -0
- package/platforms/ios/src/cpp/gles3jni.h +37 -0
- package/platforms/ios/src/cpp/include/robin_hood.h +2544 -0
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.cpp +93 -0
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +33 -13
- package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +41 -6
- package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +46 -10
- package/platforms/ios/src/cpp/webgl/WebGLProgram.h +40 -5
- package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +40 -6
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.cpp +6691 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +261 -390
- package/platforms/ios/src/cpp/webgl/{WebGLRenderingContextBase.mm → WebGLRenderingContextBase.cpp} +17 -16
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +15 -36
- package/platforms/ios/src/cpp/webgl/WebGLShader.h +40 -6
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.cpp +50 -0
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +66 -11
- package/platforms/ios/src/cpp/webgl/WebGLTexture.h +40 -6
- package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +44 -8
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.cpp +126 -0
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +25 -12
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.cpp +35 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +25 -5
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.cpp +41 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +25 -5
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.cpp +323 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +47 -13
- package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +49 -6
- package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +37 -15
- package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +47 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +49 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +36 -15
- package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +44 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +38 -15
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +37 -16
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +41 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +40 -16
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.cpp +102 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +69 -14
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +51 -8
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +49 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +49 -8
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +76 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +57 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +53 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +59 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +46 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.cpp +43 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +126 -14
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.cpp +32 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +61 -12
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.cpp +4517 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +139 -343
- package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +40 -4
- package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +42 -3
- package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +44 -11
- package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +42 -4
- package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +43 -4
- package/platforms/ios/src/module.modulemap +1 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.mm +0 -1105
- package/platforms/ios/src/cpp/ImageAssetImpl.mm +0 -417
- package/platforms/ios/src/cpp/ImageBitmapImpl.mm +0 -126
- package/platforms/ios/src/cpp/RafImpl.mm +0 -10
- package/platforms/ios/src/cpp/TextDecoderImpl.mm +0 -97
- package/platforms/ios/src/cpp/TextEncoderImpl.mm +0 -60
- package/platforms/ios/src/cpp/VecMutableBuffer.h +0 -46
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.cc +0 -6156
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.h +0 -2867
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.mm +0 -42
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.mm +0 -49
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.mm +0 -1972
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.mm +0 -68
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.mm +0 -149
- package/platforms/ios/src/cpp/canvas2d/Path2D.mm +0 -335
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.mm +0 -68
- package/platforms/ios/src/cpp/rust/cxx.cc +0 -793
- package/platforms/ios/src/cpp/rust/cxx.h +0 -1111
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.mm +0 -39
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.mm +0 -5958
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.mm +0 -40
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.mm +0 -108
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.mm +0 -28
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.mm +0 -42
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.mm +0 -295
- package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.mm +0 -40
- package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.mm +0 -37
- package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.mm +0 -28
- package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.mm +0 -31
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.mm +0 -28
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.mm +0 -127
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.mm +0 -45
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.mm +0 -45
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.mm +0 -31
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.mm +0 -70
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.mm +0 -47
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.mm +0 -46
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.mm +0 -49
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.mm +0 -30
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.mm +0 -177
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.mm +0 -64
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.mm +0 -4551
- /package/platforms/ios/src/cpp/{OnRafCallback.mm → OnRafCallback.cpp} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name CanvasNative
|
|
4
4
|
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
5
|
import AVFoundation
|
|
@@ -76,7 +76,7 @@ import _StringProcessing
|
|
|
76
76
|
@objc @_Concurrency.MainActor(unsafe) public func context2DTest(_ context: Swift.Int64)
|
|
77
77
|
@objc @_Concurrency.MainActor(unsafe) public func context2DTestToDataURL(_ context: Swift.Int64) -> Swift.String
|
|
78
78
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
79
|
-
@objc @_Concurrency.MainActor(unsafe) public func setListener(_ listener: CanvasNative.NSCCanvasListener?)
|
|
79
|
+
@objc @_Concurrency.MainActor(unsafe) public func setListener(_ listener: (any CanvasNative.NSCCanvasListener)?)
|
|
80
80
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
81
81
|
@objc deinit
|
|
82
82
|
}
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name CanvasNative
|
|
4
4
|
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
5
|
import AVFoundation
|
|
@@ -76,7 +76,7 @@ import _StringProcessing
|
|
|
76
76
|
@objc @_Concurrency.MainActor(unsafe) public func context2DTest(_ context: Swift.Int64)
|
|
77
77
|
@objc @_Concurrency.MainActor(unsafe) public func context2DTestToDataURL(_ context: Swift.Int64) -> Swift.String
|
|
78
78
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
79
|
-
@objc @_Concurrency.MainActor(unsafe) public func setListener(_ listener: CanvasNative.NSCCanvasListener?)
|
|
79
|
+
@objc @_Concurrency.MainActor(unsafe) public func setListener(_ listener: (any CanvasNative.NSCCanvasListener)?)
|
|
80
80
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
|
|
81
81
|
@objc deinit
|
|
82
82
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 5.
|
|
3
|
+
// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
|
|
4
4
|
#ifndef CANVASNATIVE_SWIFT_H
|
|
5
5
|
#define CANVASNATIVE_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
# include <swift/objc-prologue.h>
|
|
24
24
|
#endif
|
|
25
25
|
|
|
26
|
-
#pragma clang diagnostic ignored "-Wduplicate-method-match"
|
|
27
26
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
28
27
|
#if defined(__OBJC__)
|
|
29
28
|
#include <Foundation/Foundation.h>
|
|
@@ -32,10 +31,24 @@
|
|
|
32
31
|
#include <cstdint>
|
|
33
32
|
#include <cstddef>
|
|
34
33
|
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
35
38
|
#else
|
|
36
39
|
#include <stdint.h>
|
|
37
40
|
#include <stddef.h>
|
|
38
41
|
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#if __has_include(<ptrauth.h>)
|
|
46
|
+
# include <ptrauth.h>
|
|
47
|
+
#else
|
|
48
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
49
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
50
|
+
# endif
|
|
51
|
+
#endif
|
|
39
52
|
#endif
|
|
40
53
|
|
|
41
54
|
#if !defined(SWIFT_TYPEDEFS)
|
|
@@ -71,53 +84,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
71
84
|
# if __has_feature(objc_class_property)
|
|
72
85
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
73
86
|
# else
|
|
74
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
87
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
75
88
|
# endif
|
|
76
89
|
#endif
|
|
77
|
-
|
|
78
|
-
#if __has_attribute(objc_runtime_name)
|
|
79
|
-
#
|
|
80
|
-
#else
|
|
81
|
-
#
|
|
90
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
91
|
+
# if __has_attribute(objc_runtime_name)
|
|
92
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
93
|
+
# else
|
|
94
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
95
|
+
# endif
|
|
82
96
|
#endif
|
|
83
|
-
#if
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
97
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
98
|
+
# if __has_attribute(swift_name)
|
|
99
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
100
|
+
# else
|
|
101
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
102
|
+
# endif
|
|
87
103
|
#endif
|
|
88
|
-
#if
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
104
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
105
|
+
# if __has_attribute(objc_method_family)
|
|
106
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
107
|
+
# else
|
|
108
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
109
|
+
# endif
|
|
92
110
|
#endif
|
|
93
|
-
#if
|
|
94
|
-
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
111
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
112
|
+
# if __has_attribute(noescape)
|
|
113
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
114
|
+
# else
|
|
115
|
+
# define SWIFT_NOESCAPE
|
|
116
|
+
# endif
|
|
97
117
|
#endif
|
|
98
|
-
#if
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
#
|
|
118
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
119
|
+
# if __has_attribute(ns_consumed)
|
|
120
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
121
|
+
# else
|
|
122
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
123
|
+
# endif
|
|
102
124
|
#endif
|
|
103
|
-
#if
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
125
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
126
|
+
# if __has_attribute(warn_unused_result)
|
|
127
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
128
|
+
# else
|
|
129
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
130
|
+
# endif
|
|
107
131
|
#endif
|
|
108
|
-
#if
|
|
109
|
-
#
|
|
110
|
-
#
|
|
111
|
-
#
|
|
132
|
+
#if !defined(SWIFT_NORETURN)
|
|
133
|
+
# if __has_attribute(noreturn)
|
|
134
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
135
|
+
# else
|
|
136
|
+
# define SWIFT_NORETURN
|
|
137
|
+
# endif
|
|
112
138
|
#endif
|
|
113
139
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
114
|
-
# define SWIFT_CLASS_EXTRA
|
|
140
|
+
# define SWIFT_CLASS_EXTRA
|
|
115
141
|
#endif
|
|
116
142
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
117
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
143
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
118
144
|
#endif
|
|
119
145
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
120
|
-
# define SWIFT_ENUM_EXTRA
|
|
146
|
+
# define SWIFT_ENUM_EXTRA
|
|
121
147
|
#endif
|
|
122
148
|
#if !defined(SWIFT_CLASS)
|
|
123
149
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -137,28 +163,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
137
163
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
138
164
|
# endif
|
|
139
165
|
#endif
|
|
140
|
-
|
|
141
166
|
#if !defined(SWIFT_PROTOCOL)
|
|
142
167
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
143
168
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
144
169
|
#endif
|
|
145
|
-
|
|
146
170
|
#if !defined(SWIFT_EXTENSION)
|
|
147
171
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
148
172
|
#endif
|
|
149
|
-
|
|
150
173
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
151
174
|
# if __has_attribute(objc_designated_initializer)
|
|
152
175
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
153
176
|
# else
|
|
154
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
177
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
155
178
|
# endif
|
|
156
179
|
#endif
|
|
157
180
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
158
|
-
# if
|
|
181
|
+
# if __has_attribute(enum_extensibility)
|
|
159
182
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
160
183
|
# else
|
|
161
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
184
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
162
185
|
# endif
|
|
163
186
|
#endif
|
|
164
187
|
#if !defined(SWIFT_ENUM)
|
|
@@ -187,14 +210,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
187
210
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
188
211
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
189
212
|
#endif
|
|
190
|
-
#if
|
|
191
|
-
#
|
|
192
|
-
#
|
|
193
|
-
#
|
|
213
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
214
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
215
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
216
|
+
# else
|
|
217
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
218
|
+
# endif
|
|
194
219
|
#endif
|
|
195
220
|
#if defined(__OBJC__)
|
|
196
221
|
#if !defined(IBSegueAction)
|
|
197
|
-
# define IBSegueAction
|
|
222
|
+
# define IBSegueAction
|
|
198
223
|
#endif
|
|
199
224
|
#endif
|
|
200
225
|
#if !defined(SWIFT_EXTERN)
|
|
@@ -207,26 +232,31 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
207
232
|
#if !defined(SWIFT_CALL)
|
|
208
233
|
# define SWIFT_CALL __attribute__((swiftcall))
|
|
209
234
|
#endif
|
|
235
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
236
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
237
|
+
#endif
|
|
238
|
+
#if !defined(SWIFT_CONTEXT)
|
|
239
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
240
|
+
#endif
|
|
241
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
242
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
243
|
+
#endif
|
|
210
244
|
#if defined(__cplusplus)
|
|
211
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
212
245
|
# define SWIFT_NOEXCEPT noexcept
|
|
213
|
-
#endif
|
|
214
246
|
#else
|
|
215
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
216
247
|
# define SWIFT_NOEXCEPT
|
|
217
248
|
#endif
|
|
249
|
+
#if defined(_WIN32)
|
|
250
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
251
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
218
252
|
#endif
|
|
219
|
-
#
|
|
220
|
-
#if !defined(
|
|
221
|
-
#define
|
|
222
|
-
namespace swift {
|
|
223
|
-
using Int = ptrdiff_t;
|
|
224
|
-
using UInt = size_t;
|
|
225
|
-
}
|
|
253
|
+
#else
|
|
254
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
255
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
226
256
|
#endif
|
|
227
257
|
#endif
|
|
228
258
|
#if defined(__OBJC__)
|
|
229
|
-
#if __has_feature(
|
|
259
|
+
#if __has_feature(objc_modules)
|
|
230
260
|
#if __has_warning("-Watimport-in-framework-header")
|
|
231
261
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
232
262
|
#endif
|
|
@@ -430,7 +460,7 @@ SWIFT_CLASS_NAMED("Utils")
|
|
|
430
460
|
#endif
|
|
431
461
|
|
|
432
462
|
#elif defined(__x86_64__) && __x86_64__
|
|
433
|
-
// Generated by Apple Swift version 5.
|
|
463
|
+
// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
|
|
434
464
|
#ifndef CANVASNATIVE_SWIFT_H
|
|
435
465
|
#define CANVASNATIVE_SWIFT_H
|
|
436
466
|
#pragma clang diagnostic push
|
|
@@ -453,7 +483,6 @@ SWIFT_CLASS_NAMED("Utils")
|
|
|
453
483
|
# include <swift/objc-prologue.h>
|
|
454
484
|
#endif
|
|
455
485
|
|
|
456
|
-
#pragma clang diagnostic ignored "-Wduplicate-method-match"
|
|
457
486
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
458
487
|
#if defined(__OBJC__)
|
|
459
488
|
#include <Foundation/Foundation.h>
|
|
@@ -462,10 +491,24 @@ SWIFT_CLASS_NAMED("Utils")
|
|
|
462
491
|
#include <cstdint>
|
|
463
492
|
#include <cstddef>
|
|
464
493
|
#include <cstdbool>
|
|
494
|
+
#include <cstring>
|
|
495
|
+
#include <stdlib.h>
|
|
496
|
+
#include <new>
|
|
497
|
+
#include <type_traits>
|
|
465
498
|
#else
|
|
466
499
|
#include <stdint.h>
|
|
467
500
|
#include <stddef.h>
|
|
468
501
|
#include <stdbool.h>
|
|
502
|
+
#include <string.h>
|
|
503
|
+
#endif
|
|
504
|
+
#if defined(__cplusplus)
|
|
505
|
+
#if __has_include(<ptrauth.h>)
|
|
506
|
+
# include <ptrauth.h>
|
|
507
|
+
#else
|
|
508
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
509
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
510
|
+
# endif
|
|
511
|
+
#endif
|
|
469
512
|
#endif
|
|
470
513
|
|
|
471
514
|
#if !defined(SWIFT_TYPEDEFS)
|
|
@@ -501,53 +544,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
501
544
|
# if __has_feature(objc_class_property)
|
|
502
545
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
503
546
|
# else
|
|
504
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
547
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
505
548
|
# endif
|
|
506
549
|
#endif
|
|
507
|
-
|
|
508
|
-
#if __has_attribute(objc_runtime_name)
|
|
509
|
-
#
|
|
510
|
-
#else
|
|
511
|
-
#
|
|
550
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
551
|
+
# if __has_attribute(objc_runtime_name)
|
|
552
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
553
|
+
# else
|
|
554
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
555
|
+
# endif
|
|
512
556
|
#endif
|
|
513
|
-
#if
|
|
514
|
-
#
|
|
515
|
-
#
|
|
516
|
-
#
|
|
557
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
558
|
+
# if __has_attribute(swift_name)
|
|
559
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
560
|
+
# else
|
|
561
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
562
|
+
# endif
|
|
517
563
|
#endif
|
|
518
|
-
#if
|
|
519
|
-
#
|
|
520
|
-
#
|
|
521
|
-
#
|
|
564
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
565
|
+
# if __has_attribute(objc_method_family)
|
|
566
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
567
|
+
# else
|
|
568
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
569
|
+
# endif
|
|
522
570
|
#endif
|
|
523
|
-
#if
|
|
524
|
-
#
|
|
525
|
-
#
|
|
526
|
-
#
|
|
571
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
572
|
+
# if __has_attribute(noescape)
|
|
573
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
574
|
+
# else
|
|
575
|
+
# define SWIFT_NOESCAPE
|
|
576
|
+
# endif
|
|
527
577
|
#endif
|
|
528
|
-
#if
|
|
529
|
-
#
|
|
530
|
-
#
|
|
531
|
-
#
|
|
578
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
579
|
+
# if __has_attribute(ns_consumed)
|
|
580
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
581
|
+
# else
|
|
582
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
583
|
+
# endif
|
|
532
584
|
#endif
|
|
533
|
-
#if
|
|
534
|
-
#
|
|
535
|
-
#
|
|
536
|
-
#
|
|
585
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
586
|
+
# if __has_attribute(warn_unused_result)
|
|
587
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
588
|
+
# else
|
|
589
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
590
|
+
# endif
|
|
537
591
|
#endif
|
|
538
|
-
#if
|
|
539
|
-
#
|
|
540
|
-
#
|
|
541
|
-
#
|
|
592
|
+
#if !defined(SWIFT_NORETURN)
|
|
593
|
+
# if __has_attribute(noreturn)
|
|
594
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
595
|
+
# else
|
|
596
|
+
# define SWIFT_NORETURN
|
|
597
|
+
# endif
|
|
542
598
|
#endif
|
|
543
599
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
544
|
-
# define SWIFT_CLASS_EXTRA
|
|
600
|
+
# define SWIFT_CLASS_EXTRA
|
|
545
601
|
#endif
|
|
546
602
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
547
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
603
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
548
604
|
#endif
|
|
549
605
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
550
|
-
# define SWIFT_ENUM_EXTRA
|
|
606
|
+
# define SWIFT_ENUM_EXTRA
|
|
551
607
|
#endif
|
|
552
608
|
#if !defined(SWIFT_CLASS)
|
|
553
609
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -567,28 +623,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
567
623
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
568
624
|
# endif
|
|
569
625
|
#endif
|
|
570
|
-
|
|
571
626
|
#if !defined(SWIFT_PROTOCOL)
|
|
572
627
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
573
628
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
574
629
|
#endif
|
|
575
|
-
|
|
576
630
|
#if !defined(SWIFT_EXTENSION)
|
|
577
631
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
578
632
|
#endif
|
|
579
|
-
|
|
580
633
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
581
634
|
# if __has_attribute(objc_designated_initializer)
|
|
582
635
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
583
636
|
# else
|
|
584
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
637
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
585
638
|
# endif
|
|
586
639
|
#endif
|
|
587
640
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
588
|
-
# if
|
|
641
|
+
# if __has_attribute(enum_extensibility)
|
|
589
642
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
590
643
|
# else
|
|
591
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
644
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
592
645
|
# endif
|
|
593
646
|
#endif
|
|
594
647
|
#if !defined(SWIFT_ENUM)
|
|
@@ -617,14 +670,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
617
670
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
618
671
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
619
672
|
#endif
|
|
620
|
-
#if
|
|
621
|
-
#
|
|
622
|
-
#
|
|
623
|
-
#
|
|
673
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
674
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
675
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
676
|
+
# else
|
|
677
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
678
|
+
# endif
|
|
624
679
|
#endif
|
|
625
680
|
#if defined(__OBJC__)
|
|
626
681
|
#if !defined(IBSegueAction)
|
|
627
|
-
# define IBSegueAction
|
|
682
|
+
# define IBSegueAction
|
|
628
683
|
#endif
|
|
629
684
|
#endif
|
|
630
685
|
#if !defined(SWIFT_EXTERN)
|
|
@@ -637,26 +692,31 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
637
692
|
#if !defined(SWIFT_CALL)
|
|
638
693
|
# define SWIFT_CALL __attribute__((swiftcall))
|
|
639
694
|
#endif
|
|
695
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
696
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
697
|
+
#endif
|
|
698
|
+
#if !defined(SWIFT_CONTEXT)
|
|
699
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
700
|
+
#endif
|
|
701
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
702
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
703
|
+
#endif
|
|
640
704
|
#if defined(__cplusplus)
|
|
641
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
642
705
|
# define SWIFT_NOEXCEPT noexcept
|
|
643
|
-
#endif
|
|
644
706
|
#else
|
|
645
|
-
#if !defined(SWIFT_NOEXCEPT)
|
|
646
707
|
# define SWIFT_NOEXCEPT
|
|
647
708
|
#endif
|
|
709
|
+
#if defined(_WIN32)
|
|
710
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
711
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
648
712
|
#endif
|
|
649
|
-
#
|
|
650
|
-
#if !defined(
|
|
651
|
-
#define
|
|
652
|
-
namespace swift {
|
|
653
|
-
using Int = ptrdiff_t;
|
|
654
|
-
using UInt = size_t;
|
|
655
|
-
}
|
|
713
|
+
#else
|
|
714
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
715
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
656
716
|
#endif
|
|
657
717
|
#endif
|
|
658
718
|
#if defined(__OBJC__)
|
|
659
|
-
#if __has_feature(
|
|
719
|
+
#if __has_feature(objc_modules)
|
|
660
720
|
#if __has_warning("-Watimport-in-framework-header")
|
|
661
721
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
662
722
|
#endif
|
|
@@ -5,10 +5,17 @@
|
|
|
5
5
|
// Created by Osei Fortune on 30/09/2020.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
#ifdef __cplusplus
|
|
9
|
+
extern "C" {
|
|
10
|
+
#endif
|
|
11
|
+
|
|
8
12
|
#import <Foundation/Foundation.h>
|
|
13
|
+
|
|
9
14
|
#import "canvas_native.h"
|
|
15
|
+
#import "canvas_ios.h"
|
|
10
16
|
|
|
11
17
|
//! Project version number for CanvasNative.
|
|
18
|
+
|
|
12
19
|
FOUNDATION_EXPORT double CanvasNativeVersionNumber;
|
|
13
20
|
|
|
14
21
|
//! Project version string for CanvasNative.
|
|
@@ -16,4 +23,7 @@ FOUNDATION_EXPORT const unsigned char CanvasNativeVersionString[];
|
|
|
16
23
|
|
|
17
24
|
// In this header, you should import all the public headers of your framework using statements like #import <CanvasNative/PublicHeader.h>
|
|
18
25
|
|
|
26
|
+
#ifdef __cplusplus
|
|
27
|
+
}
|
|
28
|
+
#endif
|
|
19
29
|
|