@triniwiz/nativescript-masonkit 1.0.0-alpha.5 → 1.0.0-alpha.6
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/common.d.ts +7 -9
- package/common.js +277 -552
- package/common.js.map +1 -1
- package/helpers.d.ts +32 -10
- package/helpers.js +772 -286
- package/helpers.js.map +1 -1
- package/index.android.d.ts +6 -2
- package/index.android.js +21 -3
- package/index.android.js.map +1 -1
- package/index.d.ts +64 -7
- package/index.ios.d.ts +9 -6
- package/index.ios.js +39 -25
- package/index.ios.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/include.gradle +18 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +108 -64
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +47 -20
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +10744 -1631
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +58 -21
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +58 -21
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +216 -128
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +47 -20
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +10744 -1631
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +58 -21
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +58 -21
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +10744 -1631
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +58 -21
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +58 -21
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +43 -43
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/build.xcconfig +1 -2
- package/platforms/ios/src/MasonV8Module.h +583 -0
- package/platforms/ios/src/MasonV8Module.mm +1005 -0
- package/platforms/ios/src/{include → cpp/include}/mason_native.h +47 -20
- package/platforms/ios/src/cpp/include/robin_hood.h +2544 -0
- package/platforms/ios/src/module.modulemap +2 -2
- package/platforms/new_native_src/cpp/Caches.cpp +36 -0
- package/platforms/new_native_src/cpp/Caches.h +42 -0
- package/platforms/new_native_src/cpp/Common.h +34 -0
- package/platforms/new_native_src/cpp/ConcurrentMap.h +57 -0
- package/platforms/new_native_src/cpp/Helpers.cpp +101 -0
- package/platforms/new_native_src/cpp/Helpers.h +364 -0
- package/platforms/new_native_src/cpp/MasonImpl.cpp +68 -0
- package/platforms/new_native_src/cpp/MasonImpl.h +40 -0
- package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +89 -0
- package/platforms/new_native_src/cpp/MasonNodeImpl.h +47 -0
- package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +2181 -0
- package/platforms/new_native_src/cpp/MasonStyleImpl.h +420 -0
- package/platforms/{ios/Mason.xcframework/ios-arm64/Mason.framework/PrivateHeaders → new_native_src/cpp/include}/mason_native.h +464 -168
- package/platforms/new_native_src/cpp/include/robin_hood.h +2544 -0
- package/pods/Headers/include/APIDesign.md +72 -0
- package/pods/Headers/include/DEPS +10 -0
- package/pods/Headers/include/DIR_METADATA +11 -0
- package/pods/Headers/include/OWNERS +23 -0
- package/pods/Headers/include/cppgc/DEPS +8 -0
- package/pods/Headers/include/cppgc/OWNERS +2 -0
- package/pods/Headers/include/cppgc/README.md +133 -0
- package/pods/Headers/include/cppgc/allocation.h +310 -0
- package/pods/Headers/include/cppgc/common.h +29 -0
- package/pods/Headers/include/cppgc/cross-thread-persistent.h +465 -0
- package/pods/Headers/include/cppgc/custom-space.h +97 -0
- package/pods/Headers/include/cppgc/default-platform.h +67 -0
- package/pods/Headers/include/cppgc/ephemeron-pair.h +30 -0
- package/pods/Headers/include/cppgc/explicit-management.h +100 -0
- package/pods/Headers/include/cppgc/garbage-collected.h +106 -0
- package/pods/Headers/include/cppgc/heap-consistency.h +266 -0
- package/pods/Headers/include/cppgc/heap-state.h +82 -0
- package/pods/Headers/include/cppgc/heap-statistics.h +120 -0
- package/pods/Headers/include/cppgc/heap.h +206 -0
- package/pods/Headers/include/cppgc/internal/api-constants.h +55 -0
- package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +48 -0
- package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +79 -0
- package/pods/Headers/include/cppgc/internal/compiler-specific.h +38 -0
- package/pods/Headers/include/cppgc/internal/finalizer-trait.h +93 -0
- package/pods/Headers/include/cppgc/internal/gc-info.h +156 -0
- package/pods/Headers/include/cppgc/internal/logging.h +50 -0
- package/pods/Headers/include/cppgc/internal/name-trait.h +122 -0
- package/pods/Headers/include/cppgc/internal/persistent-node.h +216 -0
- package/pods/Headers/include/cppgc/internal/pointer-policies.h +186 -0
- package/pods/Headers/include/cppgc/internal/write-barrier.h +435 -0
- package/pods/Headers/include/cppgc/liveness-broker.h +77 -0
- package/pods/Headers/include/cppgc/macros.h +26 -0
- package/pods/Headers/include/cppgc/member.h +291 -0
- package/pods/Headers/include/cppgc/name-provider.h +65 -0
- package/pods/Headers/include/cppgc/object-size-trait.h +58 -0
- package/pods/Headers/include/cppgc/persistent.h +370 -0
- package/pods/Headers/include/cppgc/platform.h +156 -0
- package/pods/Headers/include/cppgc/prefinalizer.h +75 -0
- package/pods/Headers/include/cppgc/process-heap-statistics.h +36 -0
- package/pods/Headers/include/cppgc/sentinel-pointer.h +32 -0
- package/pods/Headers/include/cppgc/source-location.h +92 -0
- package/pods/Headers/include/cppgc/testing.h +106 -0
- package/pods/Headers/include/cppgc/trace-trait.h +116 -0
- package/pods/Headers/include/cppgc/type-traits.h +240 -0
- package/pods/Headers/include/cppgc/visitor.h +379 -0
- package/pods/Headers/include/js_protocol-1.2.json +936 -0
- package/pods/Headers/include/js_protocol-1.3.json +1112 -0
- package/pods/Headers/include/js_protocol.pdl +1709 -0
- package/pods/Headers/include/libffi/arm64/ffi.h +524 -0
- package/pods/Headers/include/libffi/arm64/ffitarget.h +92 -0
- package/pods/Headers/include/libffi/x86_64/ffi.h +524 -0
- package/pods/Headers/include/libffi/x86_64/ffitarget.h +147 -0
- package/pods/Headers/include/libffi.h +12 -0
- package/pods/Headers/include/libplatform/DEPS +9 -0
- package/pods/Headers/include/libplatform/libplatform-export.h +29 -0
- package/pods/Headers/include/libplatform/libplatform.h +106 -0
- package/pods/Headers/include/libplatform/v8-tracing.h +333 -0
- package/pods/Headers/include/v8-array-buffer.h +433 -0
- package/pods/Headers/include/v8-callbacks.h +397 -0
- package/pods/Headers/include/v8-container.h +129 -0
- package/pods/Headers/include/v8-context.h +407 -0
- package/pods/Headers/include/v8-cppgc.h +215 -0
- package/pods/Headers/include/v8-data.h +80 -0
- package/pods/Headers/include/v8-date.h +43 -0
- package/pods/Headers/include/v8-debug.h +168 -0
- package/pods/Headers/include/v8-embedder-heap.h +218 -0
- package/pods/Headers/include/v8-embedder-state-scope.h +51 -0
- package/pods/Headers/include/v8-exception.h +217 -0
- package/pods/Headers/include/v8-extension.h +62 -0
- package/pods/Headers/include/v8-external.h +37 -0
- package/pods/Headers/include/v8-fast-api-calls.h +939 -0
- package/pods/Headers/include/v8-forward.h +81 -0
- package/pods/Headers/include/v8-function-callback.h +475 -0
- package/pods/Headers/include/v8-function.h +125 -0
- package/pods/Headers/include/v8-initialization.h +315 -0
- package/pods/Headers/include/v8-inspector-protocol.h +13 -0
- package/pods/Headers/include/v8-inspector.h +376 -0
- package/pods/Headers/include/v8-internal.h +661 -0
- package/pods/Headers/include/v8-isolate.h +1709 -0
- package/pods/Headers/include/v8-json.h +47 -0
- package/pods/Headers/include/v8-local-handle.h +455 -0
- package/pods/Headers/include/v8-locker.h +149 -0
- package/pods/Headers/include/v8-maybe.h +137 -0
- package/pods/Headers/include/v8-memory-span.h +43 -0
- package/pods/Headers/include/v8-message.h +216 -0
- package/pods/Headers/include/v8-metrics.h +255 -0
- package/pods/Headers/include/v8-microtask-queue.h +152 -0
- package/pods/Headers/include/v8-microtask.h +28 -0
- package/pods/Headers/include/v8-object.h +775 -0
- package/pods/Headers/include/v8-persistent-handle.h +590 -0
- package/pods/Headers/include/v8-platform.h +1092 -0
- package/pods/Headers/include/v8-primitive-object.h +118 -0
- package/pods/Headers/include/v8-primitive.h +866 -0
- package/pods/Headers/include/v8-profiler.h +1198 -0
- package/pods/Headers/include/v8-promise.h +174 -0
- package/pods/Headers/include/v8-proxy.h +50 -0
- package/pods/Headers/include/v8-regexp.h +105 -0
- package/pods/Headers/include/v8-script.h +748 -0
- package/pods/Headers/include/v8-snapshot.h +196 -0
- package/pods/Headers/include/v8-statistics.h +217 -0
- package/pods/Headers/include/v8-template.h +1079 -0
- package/pods/Headers/include/v8-traced-handle.h +420 -0
- package/pods/Headers/include/v8-typed-array.h +282 -0
- package/pods/Headers/include/v8-unwinder-state.h +31 -0
- package/pods/Headers/include/v8-unwinder.h +132 -0
- package/pods/Headers/include/v8-util.h +658 -0
- package/pods/Headers/include/v8-value-serializer-version.h +24 -0
- package/pods/Headers/include/v8-value-serializer.h +279 -0
- package/pods/Headers/include/v8-value.h +526 -0
- package/pods/Headers/include/v8-version-string.h +38 -0
- package/pods/Headers/include/v8-version.h +20 -0
- package/pods/Headers/include/v8-wasm-trap-handler-posix.h +31 -0
- package/pods/Headers/include/v8-wasm-trap-handler-win.h +28 -0
- package/pods/Headers/include/v8-wasm.h +257 -0
- package/pods/Headers/include/v8-weak-callback-info.h +86 -0
- package/pods/Headers/include/v8.h +88 -0
- package/pods/Headers/include/v8config.h +605 -0
- package/pods/Headers/inspector/InspectorServer.h +20 -0
- package/pods/Headers/inspector/JsV8InspectorClient.h +66 -0
- package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +1123 -0
- package/pods/Headers/inspector/base64.h +9 -0
- package/pods/Headers/inspector/src/base/address-region.h +95 -0
- package/pods/Headers/inspector/src/base/atomic-utils.h +219 -0
- package/pods/Headers/inspector/src/base/atomicops.h +332 -0
- package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +89 -0
- package/pods/Headers/inspector/src/base/base-export.h +31 -0
- package/pods/Headers/inspector/src/base/bits.h +343 -0
- package/pods/Headers/inspector/src/base/build_config.h +234 -0
- package/pods/Headers/inspector/src/base/compiler-specific.h +136 -0
- package/pods/Headers/inspector/src/base/export-template.h +163 -0
- package/pods/Headers/inspector/src/base/flags.h +130 -0
- package/pods/Headers/inspector/src/base/immediate-crash.h +162 -0
- package/pods/Headers/inspector/src/base/lazy-instance.h +258 -0
- package/pods/Headers/inspector/src/base/logging.h +417 -0
- package/pods/Headers/inspector/src/base/macros.h +423 -0
- package/pods/Headers/inspector/src/base/memory.h +89 -0
- package/pods/Headers/inspector/src/base/once.h +108 -0
- package/pods/Headers/inspector/src/base/optional.h +882 -0
- package/pods/Headers/inspector/src/base/platform/mutex.h +370 -0
- package/pods/Headers/inspector/src/base/platform/platform.h +476 -0
- package/pods/Headers/inspector/src/base/platform/semaphore.h +108 -0
- package/pods/Headers/inspector/src/base/platform/v8-time.h +513 -0
- package/pods/Headers/inspector/src/base/platform/wrappers.h +73 -0
- package/pods/Headers/inspector/src/base/safe_conversions.h +389 -0
- package/pods/Headers/inspector/src/base/safe_conversions_impl.h +822 -0
- package/pods/Headers/inspector/src/base/template-utils.h +113 -0
- package/pods/Headers/inspector/src/base/v8-fallthrough.h +21 -0
- package/pods/Headers/inspector/src/common/checks.h +38 -0
- package/pods/Headers/inspector/src/common/globals.h +1842 -0
- package/pods/Headers/inspector/src/debug/debug-interface.h +667 -0
- package/pods/Headers/inspector/src/debug/interface-types.h +175 -0
- package/pods/Headers/inspector/src/init/v8.h +52 -0
- package/pods/Headers/inspector/src/inspector/custom-preview.h +24 -0
- package/pods/Headers/inspector/src/inspector/injected-script.h +251 -0
- package/pods/Headers/inspector/src/inspector/inspected-context.h +79 -0
- package/pods/Headers/inspector/src/inspector/protocol/CSS.h +2148 -0
- package/pods/Headers/inspector/src/inspector/protocol/Console.h +211 -0
- package/pods/Headers/inspector/src/inspector/protocol/DOM.h +1008 -0
- package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +892 -0
- package/pods/Headers/inspector/src/inspector/protocol/Forward.h +75 -0
- package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +346 -0
- package/pods/Headers/inspector/src/inspector/protocol/Log.h +342 -0
- package/pods/Headers/inspector/src/inspector/protocol/Network.h +2528 -0
- package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +281 -0
- package/pods/Headers/inspector/src/inspector/protocol/Page.h +1189 -0
- package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +1001 -0
- package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +617 -0
- package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +1696 -0
- package/pods/Headers/inspector/src/inspector/protocol/Schema.h +146 -0
- package/pods/Headers/inspector/src/inspector/protocol/Security.h +793 -0
- package/pods/Headers/inspector/src/inspector/remote-object-id.h +54 -0
- package/pods/Headers/inspector/src/inspector/search-util.h +26 -0
- package/pods/Headers/inspector/src/inspector/string-16.h +180 -0
- package/pods/Headers/inspector/src/inspector/string-util.h +128 -0
- package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +48 -0
- package/pods/Headers/inspector/src/inspector/v8-console-message.h +147 -0
- package/pods/Headers/inspector/src/inspector/v8-console.h +173 -0
- package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +62 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +248 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +44 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +123 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger.h +257 -0
- package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +91 -0
- package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +80 -0
- package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +191 -0
- package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +156 -0
- package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +34 -0
- package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +71 -0
- package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +24 -0
- package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +70 -0
- package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +88 -0
- package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +104 -0
- package/pods/Headers/inspector/src/inspector/v8-regex.h +38 -0
- package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +157 -0
- package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +38 -0
- package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +164 -0
- package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +17 -0
- package/pods/Headers/inspector/src/inspector/v8-value-utils.h +23 -0
- package/pods/Headers/inspector/src/inspector/value-mirror.h +87 -0
- package/pods/Headers/inspector/src/libplatform/default-platform.h +92 -0
- package/pods/Headers/inspector/src/logging/tracing-flags.h +50 -0
- package/pods/Headers/inspector/src/numbers/conversions.h +183 -0
- package/pods/Headers/inspector/src/tracing/trace-event.h +664 -0
- package/pods/Headers/inspector/src/utils/allocation.h +367 -0
- package/pods/Headers/inspector/src/utils/vector.h +324 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +305 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +314 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +62 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +6 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +58 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +47 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +80 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +52 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +26 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +104 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +39 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +406 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +32 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +158 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +99 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +139 -0
- package/pods/Headers/inspector/utils.h +32 -0
- package/pods/Headers/inspector/v8-inspector-platform.h +44 -0
- package/pods/Headers/jsi/decorator.h +762 -0
- package/pods/Headers/jsi/instrumentation.h +117 -0
- package/pods/Headers/jsi/jsi-inl.h +322 -0
- package/pods/Headers/jsi/jsi.h +1387 -0
- package/pods/Headers/jsi/jsilib.h +59 -0
- package/pods/Headers/jsi/threadsafe.h +79 -0
- package/pods/Headers/runtime/ArgConverter.h +61 -0
- package/pods/Headers/runtime/ArrayAdapter.h +13 -0
- package/pods/Headers/runtime/Caches.h +98 -0
- package/pods/Headers/runtime/ClassBuilder.h +61 -0
- package/pods/Headers/runtime/Common.h +9 -0
- package/pods/Headers/runtime/ConcurrentMap.h +55 -0
- package/pods/Headers/runtime/ConcurrentQueue.h +28 -0
- package/pods/Headers/runtime/Console.h +27 -0
- package/pods/Headers/runtime/Constants.h +15 -0
- package/pods/Headers/runtime/DataWrapper.h +671 -0
- package/pods/Headers/runtime/DictionaryAdapter.h +13 -0
- package/pods/Headers/runtime/ExtVector.h +21 -0
- package/pods/Headers/runtime/FFICall.h +105 -0
- package/pods/Headers/runtime/FastEnumerationAdapter.h +13 -0
- package/pods/Headers/runtime/FunctionReference.h +18 -0
- package/pods/Headers/runtime/Helpers.h +84 -0
- package/pods/Headers/runtime/InlineFunctions.h +16 -0
- package/pods/Headers/runtime/Interop.h +202 -0
- package/pods/Headers/runtime/KnownUnknownClassPair.h +35 -0
- package/pods/Headers/runtime/Metadata.h +981 -0
- package/pods/Headers/runtime/MetadataBuilder.h +72 -0
- package/pods/Headers/runtime/MetadataInlines.h +157 -0
- package/pods/Headers/runtime/ModuleInternal.h +59 -0
- package/pods/Headers/runtime/NSDataAdapter.h +13 -0
- package/pods/Headers/runtime/NativeScriptException.h +27 -0
- package/pods/Headers/runtime/ObjectManager.h +31 -0
- package/pods/Headers/runtime/OneByteStringResource.h +21 -0
- package/pods/Headers/runtime/Pointer.h +26 -0
- package/pods/Headers/runtime/PromiseProxy.h +15 -0
- package/pods/Headers/runtime/Reference.h +38 -0
- package/pods/Headers/runtime/Runtime.h +67 -0
- package/pods/Headers/runtime/RuntimeConfig.h +17 -0
- package/pods/Headers/runtime/SetTimeout.h +34 -0
- package/pods/Headers/runtime/SimpleAllocator.h +23 -0
- package/pods/Headers/runtime/StringHasher.h +315 -0
- package/pods/Headers/runtime/SymbolIterator.h +18 -0
- package/pods/Headers/runtime/SymbolLoader.h +27 -0
- package/pods/Headers/runtime/TNSDerivedClass.h +8 -0
- package/pods/Headers/runtime/TSHelpers.h +15 -0
- package/pods/Headers/runtime/Tasks.h +19 -0
- package/pods/Headers/runtime/UnmanagedType.h +21 -0
- package/pods/Headers/runtime/WeakRef.h +15 -0
- package/pods/Headers/runtime/Worker.h +26 -0
- package/pods/Headers/runtime/robin_hood.h +2184 -0
- package/pods/Headers/v8runtime/HostProxy.h +71 -0
- package/pods/Headers/v8runtime/JSIV8ValueConverter.h +70 -0
- package/pods/Headers/v8runtime/V8PointerValue.h +44 -0
- package/pods/Headers/v8runtime/V8Runtime.h +215 -0
- package/pods/Headers/v8runtime/V8RuntimeConfig.h +26 -0
- package/pods/Headers/v8runtime/V8RuntimeFactory.h +21 -0
- package/pods/NativeScript.podspec +68 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/PrivateHeaders/mason_native.h +0 -676
- package/platforms/ios/src/JSIModule.h +0 -217
- package/platforms/ios/src/JSIModule.mm +0 -2788
|
@@ -9,12 +9,28 @@
|
|
|
9
9
|
#include <stdlib.h>
|
|
10
10
|
|
|
11
11
|
typedef enum CMasonDimensionType {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Undefined,
|
|
12
|
+
MasonDimensionAuto,
|
|
13
|
+
MasonDimensionPoints,
|
|
14
|
+
MasonDimensionPercent,
|
|
16
15
|
} CMasonDimensionType;
|
|
17
16
|
|
|
17
|
+
typedef enum CMasonGridPlacementType {
|
|
18
|
+
MasonGridPlacementTypeAuto,
|
|
19
|
+
MasonGridPlacementTypeLine,
|
|
20
|
+
MasonGridPlacementTypeSpan,
|
|
21
|
+
} CMasonGridPlacementType;
|
|
22
|
+
|
|
23
|
+
typedef enum CMasonLengthPercentageAutoType {
|
|
24
|
+
MasonLengthPercentageAutoAuto,
|
|
25
|
+
MasonLengthPercentageAutoPoints,
|
|
26
|
+
MasonLengthPercentageAutoPercent,
|
|
27
|
+
} CMasonLengthPercentageAutoType;
|
|
28
|
+
|
|
29
|
+
typedef enum CMasonLengthPercentageType {
|
|
30
|
+
MasonLengthPercentagePoints,
|
|
31
|
+
MasonLengthPercentagePercent,
|
|
32
|
+
} CMasonLengthPercentageType;
|
|
33
|
+
|
|
18
34
|
typedef struct NodeArray {
|
|
19
35
|
void **array;
|
|
20
36
|
uintptr_t length;
|
|
@@ -35,11 +51,69 @@ typedef struct AvailableSpace {
|
|
|
35
51
|
};
|
|
36
52
|
} AvailableSpace;
|
|
37
53
|
|
|
54
|
+
typedef struct CMasonMinMax {
|
|
55
|
+
int32_t min_type;
|
|
56
|
+
float min_value;
|
|
57
|
+
int32_t max_type;
|
|
58
|
+
float max_value;
|
|
59
|
+
} CMasonMinMax;
|
|
60
|
+
|
|
61
|
+
typedef struct CMasonNonRepeatedTrackSizingFunctionArray {
|
|
62
|
+
struct CMasonMinMax *array;
|
|
63
|
+
uintptr_t length;
|
|
64
|
+
} CMasonNonRepeatedTrackSizingFunctionArray;
|
|
65
|
+
|
|
66
|
+
typedef enum CMasonTrackSizingFunction_Tag {
|
|
67
|
+
Single,
|
|
68
|
+
Repeat,
|
|
69
|
+
} CMasonTrackSizingFunction_Tag;
|
|
70
|
+
|
|
71
|
+
typedef struct Repeat_Body {
|
|
72
|
+
int32_t _0;
|
|
73
|
+
uint16_t _1;
|
|
74
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *_2;
|
|
75
|
+
} Repeat_Body;
|
|
76
|
+
|
|
77
|
+
typedef struct CMasonTrackSizingFunction {
|
|
78
|
+
CMasonTrackSizingFunction_Tag tag;
|
|
79
|
+
union {
|
|
80
|
+
struct {
|
|
81
|
+
struct CMasonMinMax single;
|
|
82
|
+
};
|
|
83
|
+
Repeat_Body repeat;
|
|
84
|
+
};
|
|
85
|
+
} CMasonTrackSizingFunction;
|
|
86
|
+
|
|
87
|
+
typedef struct CMasonTrackSizingFunctionArray {
|
|
88
|
+
struct CMasonTrackSizingFunction *array;
|
|
89
|
+
uintptr_t length;
|
|
90
|
+
} CMasonTrackSizingFunctionArray;
|
|
91
|
+
|
|
92
|
+
typedef struct CMasonLengthPercentageAuto {
|
|
93
|
+
float value;
|
|
94
|
+
enum CMasonLengthPercentageAutoType value_type;
|
|
95
|
+
} CMasonLengthPercentageAuto;
|
|
96
|
+
|
|
97
|
+
typedef struct CMasonLengthPercentage {
|
|
98
|
+
float value;
|
|
99
|
+
enum CMasonLengthPercentageType value_type;
|
|
100
|
+
} CMasonLengthPercentage;
|
|
101
|
+
|
|
38
102
|
typedef struct CMasonDimension {
|
|
39
103
|
float value;
|
|
40
104
|
enum CMasonDimensionType value_type;
|
|
41
105
|
} CMasonDimension;
|
|
42
106
|
|
|
107
|
+
typedef struct CMasonLengthPercentageSize {
|
|
108
|
+
struct CMasonLengthPercentage width;
|
|
109
|
+
struct CMasonLengthPercentage height;
|
|
110
|
+
} CMasonLengthPercentageSize;
|
|
111
|
+
|
|
112
|
+
typedef struct CMasonGridPlacement {
|
|
113
|
+
int16_t value;
|
|
114
|
+
enum CMasonGridPlacementType value_type;
|
|
115
|
+
} CMasonGridPlacement;
|
|
116
|
+
|
|
43
117
|
void *mason_init(void);
|
|
44
118
|
|
|
45
119
|
void *mason_init_with_capacity(uintptr_t capacity);
|
|
@@ -48,24 +122,26 @@ void mason_destroy(void *mason);
|
|
|
48
122
|
|
|
49
123
|
void mason_clear(void *mason);
|
|
50
124
|
|
|
125
|
+
void *mason_node_get_style(void *mason, void *node);
|
|
126
|
+
|
|
127
|
+
bool mason_node_is_equal(void *node_a, void *node_b);
|
|
128
|
+
|
|
51
129
|
void mason_node_array_destroy(struct NodeArray array);
|
|
52
130
|
|
|
53
131
|
void mason_node_destroy(void *node);
|
|
54
132
|
|
|
55
133
|
void *mason_node_new_node(void *mason, void *style);
|
|
56
134
|
|
|
57
|
-
void *
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
135
|
+
void *mason_node_new_node_with_context(void *mason,
|
|
136
|
+
void *style,
|
|
137
|
+
void *measure_data,
|
|
138
|
+
long long (*measure)(const void*, float, float, float, float));
|
|
61
139
|
|
|
62
140
|
void *mason_node_new_node_with_children(void *mason,
|
|
63
141
|
void *style,
|
|
64
142
|
const void *children,
|
|
65
143
|
uintptr_t children_size);
|
|
66
144
|
|
|
67
|
-
uintptr_t mason_node_get_child_count(void *mason, void *node);
|
|
68
|
-
|
|
69
145
|
void *mason_node_layout(void *mason, void *node, void *(*layout)(const float*));
|
|
70
146
|
|
|
71
147
|
void mason_node_compute_wh(void *mason, void *node, float width, float height);
|
|
@@ -79,7 +155,7 @@ void mason_node_compute_max_content(void *mason, void *node);
|
|
|
79
155
|
|
|
80
156
|
void mason_node_compute_min_content(void *mason, void *node);
|
|
81
157
|
|
|
82
|
-
|
|
158
|
+
void mason_node_compute(void *mason, void *node);
|
|
83
159
|
|
|
84
160
|
void mason_node_set_style(void *mason, void *node, void *style);
|
|
85
161
|
|
|
@@ -89,7 +165,7 @@ void mason_node_update_and_set_style_with_values(void *mason,
|
|
|
89
165
|
void *node,
|
|
90
166
|
void *style,
|
|
91
167
|
int display,
|
|
92
|
-
int
|
|
168
|
+
int position,
|
|
93
169
|
int direction,
|
|
94
170
|
int flex_direction,
|
|
95
171
|
int flex_wrap,
|
|
@@ -97,15 +173,17 @@ void mason_node_update_and_set_style_with_values(void *mason,
|
|
|
97
173
|
int align_items,
|
|
98
174
|
int align_self,
|
|
99
175
|
int align_content,
|
|
176
|
+
int justify_items,
|
|
177
|
+
int justify_self,
|
|
100
178
|
int justify_content,
|
|
101
|
-
int
|
|
102
|
-
float
|
|
103
|
-
int
|
|
104
|
-
float
|
|
105
|
-
int
|
|
106
|
-
float
|
|
107
|
-
int
|
|
108
|
-
float
|
|
179
|
+
int inset_left_type,
|
|
180
|
+
float inset_left_value,
|
|
181
|
+
int inset_right_type,
|
|
182
|
+
float inset_right_value,
|
|
183
|
+
int inset_top_type,
|
|
184
|
+
float inset_top_value,
|
|
185
|
+
int inset_bottom_type,
|
|
186
|
+
float inset_bottom_value,
|
|
109
187
|
int margin_left_type,
|
|
110
188
|
float margin_left_value,
|
|
111
189
|
int margin_right_type,
|
|
@@ -146,11 +224,27 @@ void mason_node_update_and_set_style_with_values(void *mason,
|
|
|
146
224
|
float max_width_value,
|
|
147
225
|
int max_height_type,
|
|
148
226
|
float max_height_value,
|
|
149
|
-
int
|
|
150
|
-
float
|
|
151
|
-
int
|
|
152
|
-
float
|
|
153
|
-
float aspect_ratio
|
|
227
|
+
int gap_row_type,
|
|
228
|
+
float gap_row_value,
|
|
229
|
+
int gap_column_type,
|
|
230
|
+
float gap_column_value,
|
|
231
|
+
float aspect_ratio,
|
|
232
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
|
|
233
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
|
|
234
|
+
int grid_auto_flow,
|
|
235
|
+
int grid_column_start_type,
|
|
236
|
+
short grid_column_start_value,
|
|
237
|
+
int grid_column_end_type,
|
|
238
|
+
short grid_column_end_value,
|
|
239
|
+
int grid_row_start_type,
|
|
240
|
+
short grid_row_start_value,
|
|
241
|
+
int grid_row_end_type,
|
|
242
|
+
short grid_row_end_value,
|
|
243
|
+
struct CMasonTrackSizingFunctionArray *grid_template_rows,
|
|
244
|
+
struct CMasonTrackSizingFunctionArray *grid_template_columns,
|
|
245
|
+
int32_t overflow_x,
|
|
246
|
+
int32_t overflow_y,
|
|
247
|
+
float scrollbar_width);
|
|
154
248
|
|
|
155
249
|
void *mason_node_update_style_with_values_compute_and_layout(void *mason,
|
|
156
250
|
void *node,
|
|
@@ -164,15 +258,17 @@ void *mason_node_update_style_with_values_compute_and_layout(void *mason,
|
|
|
164
258
|
int align_items,
|
|
165
259
|
int align_self,
|
|
166
260
|
int align_content,
|
|
261
|
+
int justify_items,
|
|
262
|
+
int justify_self,
|
|
167
263
|
int justify_content,
|
|
168
|
-
int
|
|
169
|
-
float
|
|
170
|
-
int
|
|
171
|
-
float
|
|
172
|
-
int
|
|
173
|
-
float
|
|
174
|
-
int
|
|
175
|
-
float
|
|
264
|
+
int inset_left_type,
|
|
265
|
+
float inset_left_value,
|
|
266
|
+
int inset_right_type,
|
|
267
|
+
float inset_right_value,
|
|
268
|
+
int inset_top_type,
|
|
269
|
+
float inset_top_value,
|
|
270
|
+
int inset_bottom_type,
|
|
271
|
+
float inset_bottom_value,
|
|
176
272
|
int margin_left_type,
|
|
177
273
|
float margin_left_value,
|
|
178
274
|
int margin_right_type,
|
|
@@ -213,11 +309,27 @@ void *mason_node_update_style_with_values_compute_and_layout(void *mason,
|
|
|
213
309
|
float max_width_value,
|
|
214
310
|
int max_height_type,
|
|
215
311
|
float max_height_value,
|
|
216
|
-
|
|
217
|
-
float
|
|
218
|
-
|
|
219
|
-
float
|
|
312
|
+
int32_t gap_row_type,
|
|
313
|
+
float gap_row_value,
|
|
314
|
+
int32_t gap_column_type,
|
|
315
|
+
float gap_column_value,
|
|
220
316
|
float aspect_ratio,
|
|
317
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
|
|
318
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
|
|
319
|
+
int32_t grid_auto_flow,
|
|
320
|
+
int32_t grid_column_start_type,
|
|
321
|
+
int16_t grid_column_start_value,
|
|
322
|
+
int32_t grid_column_end_type,
|
|
323
|
+
int16_t grid_column_end_value,
|
|
324
|
+
int32_t grid_row_start_type,
|
|
325
|
+
int16_t grid_row_start_value,
|
|
326
|
+
int32_t grid_row_end_type,
|
|
327
|
+
int16_t grid_row_end_value,
|
|
328
|
+
struct CMasonTrackSizingFunctionArray *grid_template_rows,
|
|
329
|
+
struct CMasonTrackSizingFunctionArray *grid_template_columns,
|
|
330
|
+
int32_t overflow_x,
|
|
331
|
+
int32_t overflow_y,
|
|
332
|
+
float scrollbar_width,
|
|
221
333
|
void *(*layout)(const float*));
|
|
222
334
|
|
|
223
335
|
void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
|
|
@@ -226,7 +338,7 @@ void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
|
|
|
226
338
|
float width,
|
|
227
339
|
float height,
|
|
228
340
|
int display,
|
|
229
|
-
int
|
|
341
|
+
int position,
|
|
230
342
|
int direction,
|
|
231
343
|
int flex_direction,
|
|
232
344
|
int flex_wrap,
|
|
@@ -234,15 +346,17 @@ void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
|
|
|
234
346
|
int align_items,
|
|
235
347
|
int align_self,
|
|
236
348
|
int align_content,
|
|
349
|
+
int justify_items,
|
|
350
|
+
int justify_self,
|
|
237
351
|
int justify_content,
|
|
238
|
-
int
|
|
239
|
-
float
|
|
240
|
-
int
|
|
241
|
-
float
|
|
242
|
-
int
|
|
243
|
-
float
|
|
244
|
-
int
|
|
245
|
-
float
|
|
352
|
+
int inset_left_type,
|
|
353
|
+
float inset_left_value,
|
|
354
|
+
int inset_right_type,
|
|
355
|
+
float inset_right_value,
|
|
356
|
+
int inset_top_type,
|
|
357
|
+
float inset_top_value,
|
|
358
|
+
int inset_bottom_type,
|
|
359
|
+
float inset_bottom_value,
|
|
246
360
|
int margin_left_type,
|
|
247
361
|
float margin_left_value,
|
|
248
362
|
int margin_right_type,
|
|
@@ -283,11 +397,27 @@ void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
|
|
|
283
397
|
float max_width_value,
|
|
284
398
|
int max_height_type,
|
|
285
399
|
float max_height_value,
|
|
286
|
-
|
|
287
|
-
float
|
|
288
|
-
|
|
289
|
-
float
|
|
400
|
+
int32_t gap_row_type,
|
|
401
|
+
float gap_row_value,
|
|
402
|
+
int32_t gap_column_type,
|
|
403
|
+
float gap_column_value,
|
|
290
404
|
float aspect_ratio,
|
|
405
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
|
|
406
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
|
|
407
|
+
int32_t grid_auto_flow,
|
|
408
|
+
int32_t grid_column_start_type,
|
|
409
|
+
int16_t grid_column_start_value,
|
|
410
|
+
int32_t grid_column_end_type,
|
|
411
|
+
int16_t grid_column_end_value,
|
|
412
|
+
int32_t grid_row_start_type,
|
|
413
|
+
int16_t grid_row_start_value,
|
|
414
|
+
int32_t grid_row_end_type,
|
|
415
|
+
int16_t grid_row_end_value,
|
|
416
|
+
struct CMasonTrackSizingFunctionArray *grid_template_rows,
|
|
417
|
+
struct CMasonTrackSizingFunctionArray *grid_template_columns,
|
|
418
|
+
int32_t overflow_x,
|
|
419
|
+
int32_t overflow_y,
|
|
420
|
+
float scrollbar_width,
|
|
291
421
|
void *(*layout)(const float*));
|
|
292
422
|
|
|
293
423
|
void *mason_node_update_set_style_compute_and_layout(void *mason,
|
|
@@ -341,12 +471,16 @@ void *mason_node_remove_child(void *mason, void *node, void *child);
|
|
|
341
471
|
|
|
342
472
|
struct NodeArray mason_node_get_children(void *mason, void *node);
|
|
343
473
|
|
|
344
|
-
void
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
474
|
+
void mason_node_set_context(void *mason,
|
|
475
|
+
void *node,
|
|
476
|
+
void *measure_data,
|
|
477
|
+
long long (*measure)(const void*, float, float, float, float));
|
|
478
|
+
|
|
479
|
+
void mason_node_remove_context(void *mason, void *node);
|
|
348
480
|
|
|
349
|
-
void
|
|
481
|
+
void mason_destroy_non_repeated_track_sizing_function_array(struct CMasonNonRepeatedTrackSizingFunctionArray *array);
|
|
482
|
+
|
|
483
|
+
void mason_destroy_track_sizing_function_array(struct CMasonTrackSizingFunctionArray *array);
|
|
350
484
|
|
|
351
485
|
void *mason_style_init(void);
|
|
352
486
|
|
|
@@ -354,196 +488,313 @@ void mason_style_destroy(void *style);
|
|
|
354
488
|
|
|
355
489
|
int mason_style_get_display(void *style);
|
|
356
490
|
|
|
357
|
-
void mason_style_set_display(
|
|
491
|
+
void mason_style_set_display(void *style, int display);
|
|
358
492
|
|
|
359
|
-
void
|
|
493
|
+
void mason_style_set_position(void *style, int position);
|
|
360
494
|
|
|
361
|
-
int
|
|
495
|
+
int mason_style_get_position(void *style);
|
|
362
496
|
|
|
363
|
-
void mason_style_set_direction(
|
|
497
|
+
void mason_style_set_direction(void *_style, int _direction);
|
|
364
498
|
|
|
365
499
|
int mason_style_get_direction(void *_style);
|
|
366
500
|
|
|
367
|
-
void mason_style_set_flex_direction(
|
|
501
|
+
void mason_style_set_flex_direction(void *style, int direction);
|
|
368
502
|
|
|
369
503
|
int mason_style_get_flex_direction(void *style);
|
|
370
504
|
|
|
371
|
-
void mason_style_set_flex_wrap(
|
|
505
|
+
void mason_style_set_flex_wrap(void *style, int wrap);
|
|
372
506
|
|
|
373
507
|
int mason_style_get_flex_wrap(void *style);
|
|
374
508
|
|
|
375
|
-
void
|
|
376
|
-
|
|
377
|
-
int mason_style_get_overflow(void *_style);
|
|
378
|
-
|
|
379
|
-
void mason_style_set_align_items(int align, void *style);
|
|
509
|
+
void mason_style_set_align_items(void *style, int align);
|
|
380
510
|
|
|
381
511
|
int mason_style_get_align_items(void *style);
|
|
382
512
|
|
|
383
|
-
void mason_style_set_align_self(
|
|
513
|
+
void mason_style_set_align_self(void *style, int align);
|
|
384
514
|
|
|
385
515
|
int mason_style_get_align_self(void *style);
|
|
386
516
|
|
|
387
|
-
void mason_style_set_align_content(
|
|
517
|
+
void mason_style_set_align_content(void *style, int align);
|
|
388
518
|
|
|
389
519
|
int mason_style_get_align_content(void *style);
|
|
390
520
|
|
|
391
|
-
void
|
|
521
|
+
void mason_style_set_justify_items(void *style, int align);
|
|
522
|
+
|
|
523
|
+
int mason_style_get_justify_items(void *style);
|
|
524
|
+
|
|
525
|
+
void mason_style_set_justify_self(void *style, int align);
|
|
526
|
+
|
|
527
|
+
int mason_style_get_justify_self(void *style);
|
|
528
|
+
|
|
529
|
+
void mason_style_set_justify_content(void *style, int justify);
|
|
392
530
|
|
|
393
531
|
int mason_style_get_justify_content(void *style);
|
|
394
532
|
|
|
395
|
-
void
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
533
|
+
void mason_style_set_inset(void *style,
|
|
534
|
+
float value,
|
|
535
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
536
|
+
|
|
537
|
+
void mason_style_set_inset_lrtb(void *style,
|
|
538
|
+
float left_value,
|
|
539
|
+
enum CMasonLengthPercentageAutoType left_value_type,
|
|
540
|
+
float right_value,
|
|
541
|
+
enum CMasonLengthPercentageAutoType right_value_type,
|
|
542
|
+
float top_value,
|
|
543
|
+
enum CMasonLengthPercentageAutoType top_value_type,
|
|
544
|
+
float bottom_value,
|
|
545
|
+
enum CMasonLengthPercentageAutoType bottom_value_type);
|
|
404
546
|
|
|
405
|
-
void
|
|
547
|
+
void mason_style_set_inset_left(void *style,
|
|
548
|
+
float value,
|
|
549
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
406
550
|
|
|
407
|
-
struct
|
|
551
|
+
struct CMasonLengthPercentageAuto mason_style_get_inset_left(void *style);
|
|
408
552
|
|
|
409
|
-
void
|
|
553
|
+
void mason_style_set_inset_right(void *style,
|
|
554
|
+
float value,
|
|
555
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
410
556
|
|
|
411
|
-
struct
|
|
557
|
+
struct CMasonLengthPercentageAuto mason_style_get_inset_right(void *style);
|
|
412
558
|
|
|
413
|
-
void
|
|
559
|
+
void mason_style_set_inset_top(void *style,
|
|
560
|
+
float value,
|
|
561
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
414
562
|
|
|
415
|
-
struct
|
|
563
|
+
struct CMasonLengthPercentageAuto mason_style_get_inset_top(void *style);
|
|
416
564
|
|
|
417
|
-
void
|
|
565
|
+
void mason_style_set_inset_bottom(void *style,
|
|
566
|
+
float value,
|
|
567
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
418
568
|
|
|
419
|
-
struct
|
|
569
|
+
struct CMasonLengthPercentageAuto mason_style_get_inset_bottom(void *style);
|
|
420
570
|
|
|
421
|
-
void mason_style_set_margin(
|
|
422
|
-
|
|
571
|
+
void mason_style_set_margin(void *style,
|
|
572
|
+
float left_value,
|
|
573
|
+
enum CMasonLengthPercentageAutoType left_value_type,
|
|
423
574
|
float right_value,
|
|
424
|
-
enum
|
|
575
|
+
enum CMasonLengthPercentageAutoType right_value_type,
|
|
425
576
|
float top_value,
|
|
426
|
-
enum
|
|
577
|
+
enum CMasonLengthPercentageAutoType top_value_type,
|
|
427
578
|
float bottom_value,
|
|
428
|
-
enum
|
|
429
|
-
void *style);
|
|
579
|
+
enum CMasonLengthPercentageAutoType bottom_value_type);
|
|
430
580
|
|
|
431
|
-
void mason_style_set_margin_left(
|
|
581
|
+
void mason_style_set_margin_left(void *style,
|
|
582
|
+
float value,
|
|
583
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
432
584
|
|
|
433
|
-
struct
|
|
585
|
+
struct CMasonLengthPercentageAuto mason_style_get_margin_left(void *style);
|
|
434
586
|
|
|
435
|
-
void mason_style_set_margin_right(
|
|
587
|
+
void mason_style_set_margin_right(void *style,
|
|
588
|
+
float value,
|
|
589
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
436
590
|
|
|
437
|
-
struct
|
|
591
|
+
struct CMasonLengthPercentageAuto mason_style_get_margin_right(void *style);
|
|
438
592
|
|
|
439
|
-
void mason_style_set_margin_top(
|
|
593
|
+
void mason_style_set_margin_top(void *style,
|
|
594
|
+
float value,
|
|
595
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
440
596
|
|
|
441
|
-
struct
|
|
597
|
+
struct CMasonLengthPercentageAuto mason_style_get_margin_top(void *style);
|
|
442
598
|
|
|
443
|
-
void mason_style_set_margin_bottom(
|
|
599
|
+
void mason_style_set_margin_bottom(void *style,
|
|
600
|
+
float value,
|
|
601
|
+
enum CMasonLengthPercentageAutoType value_type);
|
|
444
602
|
|
|
445
|
-
struct
|
|
603
|
+
struct CMasonLengthPercentageAuto mason_style_get_margin_bottom(void *style);
|
|
446
604
|
|
|
447
|
-
void mason_style_set_padding(
|
|
448
|
-
|
|
605
|
+
void mason_style_set_padding(void *style,
|
|
606
|
+
float left_value,
|
|
607
|
+
enum CMasonLengthPercentageType left_value_type,
|
|
449
608
|
float right_value,
|
|
450
|
-
enum
|
|
609
|
+
enum CMasonLengthPercentageType right_value_type,
|
|
451
610
|
float top_value,
|
|
452
|
-
enum
|
|
611
|
+
enum CMasonLengthPercentageType top_value_type,
|
|
453
612
|
float bottom_value,
|
|
454
|
-
enum
|
|
455
|
-
void *style);
|
|
613
|
+
enum CMasonLengthPercentageType bottom_value_type);
|
|
456
614
|
|
|
457
|
-
void mason_style_set_padding_left(
|
|
615
|
+
void mason_style_set_padding_left(void *style,
|
|
616
|
+
float value,
|
|
617
|
+
enum CMasonLengthPercentageType value_type);
|
|
458
618
|
|
|
459
|
-
struct
|
|
619
|
+
struct CMasonLengthPercentage mason_style_get_padding_left(void *style);
|
|
460
620
|
|
|
461
|
-
void mason_style_set_padding_right(
|
|
621
|
+
void mason_style_set_padding_right(void *style,
|
|
622
|
+
float value,
|
|
623
|
+
enum CMasonLengthPercentageType value_type);
|
|
462
624
|
|
|
463
|
-
struct
|
|
625
|
+
struct CMasonLengthPercentage mason_style_get_padding_right(void *style);
|
|
464
626
|
|
|
465
|
-
void mason_style_set_padding_top(
|
|
627
|
+
void mason_style_set_padding_top(void *style,
|
|
628
|
+
float value,
|
|
629
|
+
enum CMasonLengthPercentageType value_type);
|
|
466
630
|
|
|
467
|
-
struct
|
|
631
|
+
struct CMasonLengthPercentage mason_style_get_padding_top(void *style);
|
|
468
632
|
|
|
469
|
-
void mason_style_set_padding_bottom(
|
|
633
|
+
void mason_style_set_padding_bottom(void *style,
|
|
634
|
+
float value,
|
|
635
|
+
enum CMasonLengthPercentageType value_type);
|
|
470
636
|
|
|
471
|
-
struct
|
|
637
|
+
struct CMasonLengthPercentage mason_style_get_padding_bottom(void *style);
|
|
472
638
|
|
|
473
|
-
void mason_style_set_border(
|
|
474
|
-
|
|
639
|
+
void mason_style_set_border(void *style,
|
|
640
|
+
float left_value,
|
|
641
|
+
enum CMasonLengthPercentageType left_value_type,
|
|
475
642
|
float right_value,
|
|
476
|
-
enum
|
|
643
|
+
enum CMasonLengthPercentageType right_value_type,
|
|
477
644
|
float top_value,
|
|
478
|
-
enum
|
|
645
|
+
enum CMasonLengthPercentageType top_value_type,
|
|
479
646
|
float bottom_value,
|
|
480
|
-
enum
|
|
481
|
-
void *style);
|
|
647
|
+
enum CMasonLengthPercentageType bottom_value_type);
|
|
482
648
|
|
|
483
|
-
void mason_style_set_border_left(
|
|
649
|
+
void mason_style_set_border_left(void *style,
|
|
650
|
+
float value,
|
|
651
|
+
enum CMasonLengthPercentageType value_type);
|
|
484
652
|
|
|
485
|
-
struct
|
|
653
|
+
struct CMasonLengthPercentage mason_style_get_border_left(void *style);
|
|
486
654
|
|
|
487
|
-
void mason_style_set_border_right(
|
|
655
|
+
void mason_style_set_border_right(void *style,
|
|
656
|
+
float value,
|
|
657
|
+
enum CMasonLengthPercentageType value_type);
|
|
488
658
|
|
|
489
|
-
struct
|
|
659
|
+
struct CMasonLengthPercentage mason_style_get_border_right(void *style);
|
|
490
660
|
|
|
491
|
-
void mason_style_set_border_top(
|
|
661
|
+
void mason_style_set_border_top(void *style,
|
|
662
|
+
float value,
|
|
663
|
+
enum CMasonLengthPercentageType value_type);
|
|
492
664
|
|
|
493
|
-
struct
|
|
665
|
+
struct CMasonLengthPercentage mason_style_get_border_top(void *style);
|
|
494
666
|
|
|
495
|
-
void mason_style_set_border_bottom(
|
|
667
|
+
void mason_style_set_border_bottom(void *style,
|
|
668
|
+
float value,
|
|
669
|
+
enum CMasonLengthPercentageType value_type);
|
|
496
670
|
|
|
497
|
-
struct
|
|
671
|
+
struct CMasonLengthPercentage mason_style_get_border_bottom(void *style);
|
|
498
672
|
|
|
499
|
-
void mason_style_set_flex_grow(float grow);
|
|
673
|
+
void mason_style_set_flex_grow(void *style, float grow);
|
|
500
674
|
|
|
501
675
|
float mason_style_get_flex_grow(void *style);
|
|
502
676
|
|
|
503
|
-
void mason_style_set_flex_shrink(float shrink);
|
|
677
|
+
void mason_style_set_flex_shrink(void *style, float shrink);
|
|
504
678
|
|
|
505
679
|
float mason_style_get_flex_shrink(void *style);
|
|
506
680
|
|
|
507
|
-
void mason_style_set_flex_basis(float value, enum CMasonDimensionType value_type
|
|
681
|
+
void mason_style_set_flex_basis(void *style, float value, enum CMasonDimensionType value_type);
|
|
508
682
|
|
|
509
683
|
struct CMasonDimension mason_style_get_flex_basis(void *style);
|
|
510
684
|
|
|
511
|
-
void mason_style_set_width(float value, enum CMasonDimensionType value_type
|
|
685
|
+
void mason_style_set_width(void *style, float value, enum CMasonDimensionType value_type);
|
|
512
686
|
|
|
513
687
|
struct CMasonDimension mason_style_get_width(void *style);
|
|
514
688
|
|
|
515
|
-
void mason_style_set_height(float value, enum CMasonDimensionType value_type
|
|
689
|
+
void mason_style_set_height(void *style, float value, enum CMasonDimensionType value_type);
|
|
516
690
|
|
|
517
691
|
struct CMasonDimension mason_style_get_height(void *style);
|
|
518
692
|
|
|
519
|
-
void mason_style_set_min_width(float value, enum CMasonDimensionType value_type
|
|
693
|
+
void mason_style_set_min_width(void *style, float value, enum CMasonDimensionType value_type);
|
|
520
694
|
|
|
521
695
|
struct CMasonDimension mason_style_get_min_width(void *style);
|
|
522
696
|
|
|
523
|
-
void mason_style_set_min_height(float value, enum CMasonDimensionType value_type
|
|
697
|
+
void mason_style_set_min_height(void *style, float value, enum CMasonDimensionType value_type);
|
|
524
698
|
|
|
525
699
|
struct CMasonDimension mason_style_get_min_height(void *style);
|
|
526
700
|
|
|
527
|
-
void mason_style_set_max_width(float value, enum CMasonDimensionType value_type
|
|
701
|
+
void mason_style_set_max_width(void *style, float value, enum CMasonDimensionType value_type);
|
|
528
702
|
|
|
529
703
|
struct CMasonDimension mason_style_get_max_width(void *style);
|
|
530
704
|
|
|
531
|
-
void mason_style_set_max_height(float value, enum CMasonDimensionType value_type
|
|
705
|
+
void mason_style_set_max_height(void *style, float value, enum CMasonDimensionType value_type);
|
|
532
706
|
|
|
533
707
|
struct CMasonDimension mason_style_get_max_height(void *style);
|
|
534
708
|
|
|
535
|
-
|
|
709
|
+
struct CMasonLengthPercentageSize mason_style_get_gap(void *style);
|
|
710
|
+
|
|
711
|
+
void mason_style_set_gap(void *style,
|
|
712
|
+
float width_value,
|
|
713
|
+
enum CMasonLengthPercentageType width_type,
|
|
714
|
+
float height_value,
|
|
715
|
+
enum CMasonLengthPercentageType height_type);
|
|
716
|
+
|
|
717
|
+
void mason_style_set_row_gap(void *style, float value, enum CMasonLengthPercentageType value_type);
|
|
536
718
|
|
|
537
|
-
struct
|
|
719
|
+
struct CMasonLengthPercentage mason_style_get_row_gap(void *style);
|
|
538
720
|
|
|
539
|
-
void
|
|
721
|
+
void mason_style_set_column_gap(void *style,
|
|
722
|
+
float value,
|
|
723
|
+
enum CMasonLengthPercentageType value_type);
|
|
540
724
|
|
|
541
|
-
struct
|
|
725
|
+
struct CMasonLengthPercentage mason_style_get_column_gap(void *style);
|
|
542
726
|
|
|
543
|
-
void mason_style_set_aspect_ratio(
|
|
727
|
+
void mason_style_set_aspect_ratio(void *style, float ratio);
|
|
544
728
|
|
|
545
729
|
float mason_style_get_aspect_ratio(void *style);
|
|
546
730
|
|
|
731
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_rows(void *style);
|
|
732
|
+
|
|
733
|
+
void mason_style_set_grid_auto_rows(void *style,
|
|
734
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *value);
|
|
735
|
+
|
|
736
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_columns(void *style);
|
|
737
|
+
|
|
738
|
+
void mason_style_set_grid_auto_columns(void *style,
|
|
739
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *value);
|
|
740
|
+
|
|
741
|
+
int32_t mason_style_get_grid_auto_flow(void *style);
|
|
742
|
+
|
|
743
|
+
void mason_style_set_grid_auto_flow(void *style, int32_t value);
|
|
744
|
+
|
|
745
|
+
void mason_style_set_grid_area(void *style,
|
|
746
|
+
struct CMasonGridPlacement row_start,
|
|
747
|
+
struct CMasonGridPlacement row_end,
|
|
748
|
+
struct CMasonGridPlacement column_start,
|
|
749
|
+
struct CMasonGridPlacement column_end);
|
|
750
|
+
|
|
751
|
+
struct CMasonGridPlacement mason_style_get_grid_column_start(void *style);
|
|
752
|
+
|
|
753
|
+
void mason_style_set_grid_column(void *style,
|
|
754
|
+
struct CMasonGridPlacement start,
|
|
755
|
+
struct CMasonGridPlacement end);
|
|
756
|
+
|
|
757
|
+
void mason_style_set_grid_column_start(void *style, struct CMasonGridPlacement value);
|
|
758
|
+
|
|
759
|
+
struct CMasonGridPlacement mason_style_get_grid_column_end(void *style);
|
|
760
|
+
|
|
761
|
+
void mason_style_set_grid_column_end(void *style, struct CMasonGridPlacement value);
|
|
762
|
+
|
|
763
|
+
struct CMasonGridPlacement mason_style_get_grid_row_start(void *style);
|
|
764
|
+
|
|
765
|
+
void mason_style_set_grid_row(void *style,
|
|
766
|
+
struct CMasonGridPlacement start,
|
|
767
|
+
struct CMasonGridPlacement end);
|
|
768
|
+
|
|
769
|
+
void mason_style_set_grid_row_start(void *style, struct CMasonGridPlacement value);
|
|
770
|
+
|
|
771
|
+
struct CMasonGridPlacement mason_style_get_grid_row_end(void *style);
|
|
772
|
+
|
|
773
|
+
void mason_style_set_grid_row_end(void *style, struct CMasonGridPlacement value);
|
|
774
|
+
|
|
775
|
+
struct CMasonTrackSizingFunctionArray *mason_style_get_grid_template_rows(void *style);
|
|
776
|
+
|
|
777
|
+
void mason_style_set_grid_template_rows(void *style, struct CMasonTrackSizingFunctionArray *value);
|
|
778
|
+
|
|
779
|
+
struct CMasonTrackSizingFunctionArray *mason_style_get_grid_template_columns(void *style);
|
|
780
|
+
|
|
781
|
+
void mason_style_set_grid_template_columns(void *style,
|
|
782
|
+
struct CMasonTrackSizingFunctionArray *value);
|
|
783
|
+
|
|
784
|
+
void mason_style_set_scrollbar_width(void *style, float value);
|
|
785
|
+
|
|
786
|
+
float mason_style_get_scrollbar_width(void *style);
|
|
787
|
+
|
|
788
|
+
void mason_style_set_overflow(void *style, int32_t value);
|
|
789
|
+
|
|
790
|
+
void mason_style_set_overflow_x(void *style, int32_t value);
|
|
791
|
+
|
|
792
|
+
int32_t mason_style_get_overflow_x(void *style);
|
|
793
|
+
|
|
794
|
+
void mason_style_set_overflow_y(void *style, int32_t value);
|
|
795
|
+
|
|
796
|
+
int32_t mason_style_get_overflow_y(void *style);
|
|
797
|
+
|
|
547
798
|
void *mason_style_init_with_values(int display,
|
|
548
799
|
int position_type,
|
|
549
800
|
int direction,
|
|
@@ -553,15 +804,17 @@ void *mason_style_init_with_values(int display,
|
|
|
553
804
|
int align_items,
|
|
554
805
|
int align_self,
|
|
555
806
|
int align_content,
|
|
807
|
+
int justify_items,
|
|
808
|
+
int justify_self,
|
|
556
809
|
int justify_content,
|
|
557
|
-
int
|
|
558
|
-
float
|
|
559
|
-
int
|
|
560
|
-
float
|
|
561
|
-
int
|
|
562
|
-
float
|
|
563
|
-
int
|
|
564
|
-
float
|
|
810
|
+
int inset_left_type,
|
|
811
|
+
float inset_left_value,
|
|
812
|
+
int inset_right_type,
|
|
813
|
+
float inset_right_value,
|
|
814
|
+
int inset_top_type,
|
|
815
|
+
float inset_top_value,
|
|
816
|
+
int inset_bottom_type,
|
|
817
|
+
float inset_bottom_value,
|
|
565
818
|
int margin_left_type,
|
|
566
819
|
float margin_left_value,
|
|
567
820
|
int margin_right_type,
|
|
@@ -602,11 +855,27 @@ void *mason_style_init_with_values(int display,
|
|
|
602
855
|
float max_width_value,
|
|
603
856
|
int max_height_type,
|
|
604
857
|
float max_height_value,
|
|
605
|
-
|
|
606
|
-
float
|
|
607
|
-
|
|
608
|
-
float
|
|
609
|
-
float aspect_ratio
|
|
858
|
+
int32_t gap_row_type,
|
|
859
|
+
float gap_row_value,
|
|
860
|
+
int32_t gap_column_type,
|
|
861
|
+
float gap_column_value,
|
|
862
|
+
float aspect_ratio,
|
|
863
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
|
|
864
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
|
|
865
|
+
int32_t grid_auto_flow,
|
|
866
|
+
int32_t grid_column_start_type,
|
|
867
|
+
int16_t grid_column_start_value,
|
|
868
|
+
int32_t grid_column_end_type,
|
|
869
|
+
int16_t grid_column_end_value,
|
|
870
|
+
int32_t grid_row_start_type,
|
|
871
|
+
int16_t grid_row_start_value,
|
|
872
|
+
int32_t grid_row_end_type,
|
|
873
|
+
int16_t grid_row_end_value,
|
|
874
|
+
const struct CMasonTrackSizingFunctionArray *grid_template_rows,
|
|
875
|
+
const struct CMasonTrackSizingFunctionArray *grid_template_columns,
|
|
876
|
+
int32_t overflow_x,
|
|
877
|
+
int32_t overflow_y,
|
|
878
|
+
float scrollbar_width);
|
|
610
879
|
|
|
611
880
|
void mason_style_update_with_values(void *style,
|
|
612
881
|
int display,
|
|
@@ -618,15 +887,17 @@ void mason_style_update_with_values(void *style,
|
|
|
618
887
|
int align_items,
|
|
619
888
|
int align_self,
|
|
620
889
|
int align_content,
|
|
890
|
+
int justify_items,
|
|
891
|
+
int justify_self,
|
|
621
892
|
int justify_content,
|
|
622
|
-
int
|
|
623
|
-
float
|
|
624
|
-
int
|
|
625
|
-
float
|
|
626
|
-
int
|
|
627
|
-
float
|
|
628
|
-
int
|
|
629
|
-
float
|
|
893
|
+
int inset_left_type,
|
|
894
|
+
float inset_left_value,
|
|
895
|
+
int inset_right_type,
|
|
896
|
+
float inset_right_value,
|
|
897
|
+
int inset_top_type,
|
|
898
|
+
float inset_top_value,
|
|
899
|
+
int inset_bottom_type,
|
|
900
|
+
float inset_bottom_value,
|
|
630
901
|
int margin_left_type,
|
|
631
902
|
float margin_left_value,
|
|
632
903
|
int margin_right_type,
|
|
@@ -667,10 +938,35 @@ void mason_style_update_with_values(void *style,
|
|
|
667
938
|
float max_width_value,
|
|
668
939
|
int max_height_type,
|
|
669
940
|
float max_height_value,
|
|
670
|
-
|
|
671
|
-
float
|
|
672
|
-
|
|
673
|
-
float
|
|
674
|
-
float aspect_ratio
|
|
941
|
+
int32_t gap_row_type,
|
|
942
|
+
float gap_row_value,
|
|
943
|
+
int32_t gap_column_type,
|
|
944
|
+
float gap_column_value,
|
|
945
|
+
float aspect_ratio,
|
|
946
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
|
|
947
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
|
|
948
|
+
int32_t grid_auto_flow,
|
|
949
|
+
int32_t grid_column_start_type,
|
|
950
|
+
int16_t grid_column_start_value,
|
|
951
|
+
int32_t grid_column_end_type,
|
|
952
|
+
int16_t grid_column_end_value,
|
|
953
|
+
int32_t grid_row_start_type,
|
|
954
|
+
int16_t grid_row_start_value,
|
|
955
|
+
int32_t grid_row_end_type,
|
|
956
|
+
int16_t grid_row_end_value,
|
|
957
|
+
struct CMasonTrackSizingFunctionArray *grid_template_rows,
|
|
958
|
+
struct CMasonTrackSizingFunctionArray *grid_template_columns,
|
|
959
|
+
int32_t overflow_x,
|
|
960
|
+
int32_t overflow_y,
|
|
961
|
+
float scrollbar_width);
|
|
962
|
+
|
|
963
|
+
struct CMasonMinMax mason_util_create_non_repeated_track_sizing_function_with_type_value(int32_t track_type,
|
|
964
|
+
float track_value);
|
|
965
|
+
|
|
966
|
+
char *mason_util_parse_non_repeated_track_sizing_function(struct CMasonNonRepeatedTrackSizingFunctionArray *value);
|
|
967
|
+
|
|
968
|
+
char *mason_util_parse_auto_repeating_track_sizing_function(struct CMasonTrackSizingFunctionArray *value);
|
|
969
|
+
|
|
970
|
+
void mason_util_destroy_string(char *string);
|
|
675
971
|
|
|
676
972
|
#endif /* CBINDGEN_BINDINGS_H */
|