@triniwiz/nativescript-masonkit 1.0.0-alpha.6 → 1.0.0-alpha.8
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 +53 -28
- package/common.js +355 -704
- package/common.js.map +1 -1
- package/helpers.d.ts +98 -98
- package/helpers.js +395 -2945
- package/helpers.js.map +1 -1
- package/index.android.d.ts +28 -24
- package/index.android.js +109 -82
- package/index.android.js.map +1 -1
- package/index.d.ts +56 -19
- package/index.ios.d.ts +42 -24
- package/index.ios.js +279 -121
- package/index.ios.js.map +1 -1
- package/node.d.ts +2 -0
- package/node.js +3 -0
- package/node.js.map +1 -0
- package/package.json +3 -3
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +251 -267
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +213 -843
- 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 +17954 -22685
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +404 -310
- 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 +404 -310
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1937 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +502 -534
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +213 -843
- 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 +17954 -22685
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +404 -310
- 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 +404 -310
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17954 -22685
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +404 -310
- 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 +404 -310
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +33 -97
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1937 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +1888 -0
- package/platforms/ios/Podfile +1 -1
- package/platforms/ios/build.xcconfig +5 -1
- package/platforms/ios/prebuild.sh +101 -0
- package/{pods → src-native/pods}/NativeScript.podspec +1 -1
- package/style.d.ts +166 -0
- package/style.js +1686 -0
- package/style.js.map +1 -0
- package/platforms/ios/src/MasonV8Module.h +0 -583
- package/platforms/ios/src/MasonV8Module.mm +0 -1005
- package/platforms/ios/src/cpp/include/mason_native.h +0 -972
- package/platforms/ios/src/cpp/include/robin_hood.h +0 -2544
- package/platforms/ios/src/module.modulemap +0 -4
- /package/{pods → src-native/pods}/Headers/include/APIDesign.md +0 -0
- /package/{pods → src-native/pods}/Headers/include/DEPS +0 -0
- /package/{pods → src-native/pods}/Headers/include/DIR_METADATA +0 -0
- /package/{pods → src-native/pods}/Headers/include/OWNERS +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/DEPS +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/OWNERS +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/README.md +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/allocation.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/common.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/cross-thread-persistent.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/custom-space.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/default-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/ephemeron-pair.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/explicit-management.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/garbage-collected.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap-consistency.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap-state.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap-statistics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/heap.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/api-constants.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/compiler-specific.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/finalizer-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/gc-info.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/logging.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/name-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/persistent-node.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/pointer-policies.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/internal/write-barrier.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/liveness-broker.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/macros.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/member.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/name-provider.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/object-size-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/persistent.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/prefinalizer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/process-heap-statistics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/sentinel-pointer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/source-location.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/testing.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/trace-trait.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/type-traits.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/cppgc/visitor.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/js_protocol-1.2.json +0 -0
- /package/{pods → src-native/pods}/Headers/include/js_protocol-1.3.json +0 -0
- /package/{pods → src-native/pods}/Headers/include/js_protocol.pdl +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/arm64/ffi.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/arm64/ffitarget.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/x86_64/ffi.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi/x86_64/ffitarget.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libffi.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/DEPS +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/libplatform-export.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/libplatform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/libplatform/v8-tracing.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-array-buffer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-callbacks.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-container.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-context.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-cppgc.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-data.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-date.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-debug.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-embedder-heap.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-embedder-state-scope.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-exception.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-extension.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-external.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-fast-api-calls.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-forward.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-function-callback.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-function.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-initialization.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-inspector-protocol.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-inspector.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-internal.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-isolate.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-json.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-local-handle.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-locker.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-maybe.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-memory-span.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-message.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-metrics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-microtask-queue.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-microtask.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-object.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-persistent-handle.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-primitive-object.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-primitive.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-profiler.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-promise.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-proxy.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-regexp.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-script.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-snapshot.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-statistics.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-template.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-traced-handle.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-typed-array.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-unwinder-state.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-unwinder.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-util.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-value-serializer-version.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-value-serializer.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-value.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-version-string.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-version.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-wasm-trap-handler-posix.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-wasm-trap-handler-win.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-wasm.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8-weak-callback-info.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8.h +0 -0
- /package/{pods → src-native/pods}/Headers/include/v8config.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/InspectorServer.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/JsV8InspectorClient.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/base64.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/address-region.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/atomic-utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/atomicops.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/base-export.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/bits.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/build_config.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/compiler-specific.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/export-template.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/flags.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/immediate-crash.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/lazy-instance.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/logging.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/macros.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/memory.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/once.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/optional.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/mutex.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/semaphore.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/v8-time.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/platform/wrappers.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/safe_conversions.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/safe_conversions_impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/template-utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/base/v8-fallthrough.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/common/checks.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/common/globals.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/debug/debug-interface.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/debug/interface-types.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/init/v8.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/custom-preview.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/injected-script.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/inspected-context.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/CSS.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Console.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/DOM.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Debugger.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Forward.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Log.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Network.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Overlay.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Page.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Profiler.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Protocol.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Runtime.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Schema.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/protocol/Security.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/remote-object-id.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/search-util.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/string-16.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/string-util.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-console-message.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-console.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger-id.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger-script.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-debugger.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-regex.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-string-conversions.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/v8-value-utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/inspector/value-mirror.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/libplatform/default-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/logging/tracing-flags.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/numbers/conversions.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/tracing/trace-event.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/utils/allocation.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/src/utils/vector.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/utils.h +0 -0
- /package/{pods → src-native/pods}/Headers/inspector/v8-inspector-platform.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/decorator.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/instrumentation.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/jsi-inl.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/jsi.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/jsilib.h +0 -0
- /package/{pods → src-native/pods}/Headers/jsi/threadsafe.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ArgConverter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ArrayAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Caches.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ClassBuilder.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Common.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ConcurrentMap.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ConcurrentQueue.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Console.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Constants.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/DataWrapper.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/DictionaryAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ExtVector.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/FFICall.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/FastEnumerationAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/FunctionReference.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Helpers.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/InlineFunctions.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Interop.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/KnownUnknownClassPair.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Metadata.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/MetadataBuilder.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/MetadataInlines.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ModuleInternal.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/NSDataAdapter.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/NativeScriptException.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/ObjectManager.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/OneByteStringResource.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Pointer.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/PromiseProxy.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Reference.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Runtime.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/RuntimeConfig.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SetTimeout.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SimpleAllocator.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/StringHasher.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SymbolIterator.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/SymbolLoader.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/TNSDerivedClass.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/TSHelpers.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Tasks.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/UnmanagedType.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/WeakRef.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/Worker.h +0 -0
- /package/{pods → src-native/pods}/Headers/runtime/robin_hood.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/HostProxy.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/JSIV8ValueConverter.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8PointerValue.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8Runtime.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8RuntimeConfig.h +0 -0
- /package/{pods → src-native/pods}/Headers/v8runtime/V8RuntimeFactory.h +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#ifndef
|
|
2
|
-
#define
|
|
1
|
+
#ifndef MASON_C_H
|
|
2
|
+
#define MASON_C_H
|
|
3
3
|
|
|
4
4
|
/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */
|
|
5
5
|
|
|
@@ -8,28 +8,9 @@
|
|
|
8
8
|
#include <stdint.h>
|
|
9
9
|
#include <stdlib.h>
|
|
10
10
|
|
|
11
|
-
typedef
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
MasonDimensionPercent,
|
|
15
|
-
} CMasonDimensionType;
|
|
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;
|
|
11
|
+
typedef struct CMason CMason;
|
|
12
|
+
|
|
13
|
+
typedef struct CMasonNode CMasonNode;
|
|
33
14
|
|
|
34
15
|
typedef struct NodeArray {
|
|
35
16
|
void **array;
|
|
@@ -89,877 +70,266 @@ typedef struct CMasonTrackSizingFunctionArray {
|
|
|
89
70
|
uintptr_t length;
|
|
90
71
|
} CMasonTrackSizingFunctionArray;
|
|
91
72
|
|
|
92
|
-
typedef struct
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
73
|
+
typedef struct CMasonBuffer {
|
|
74
|
+
uint8_t *data;
|
|
75
|
+
uintptr_t size;
|
|
76
|
+
} CMasonBuffer;
|
|
96
77
|
|
|
97
|
-
|
|
98
|
-
float value;
|
|
99
|
-
enum CMasonLengthPercentageType value_type;
|
|
100
|
-
} CMasonLengthPercentage;
|
|
78
|
+
struct CMason *mason_init(void);
|
|
101
79
|
|
|
102
|
-
|
|
103
|
-
float value;
|
|
104
|
-
enum CMasonDimensionType value_type;
|
|
105
|
-
} CMasonDimension;
|
|
80
|
+
void mason_clear(struct CMason *mason);
|
|
106
81
|
|
|
107
|
-
|
|
108
|
-
struct CMasonLengthPercentage width;
|
|
109
|
-
struct CMasonLengthPercentage height;
|
|
110
|
-
} CMasonLengthPercentageSize;
|
|
82
|
+
void mason_release(struct CMason *mason);
|
|
111
83
|
|
|
112
|
-
|
|
113
|
-
int16_t value;
|
|
114
|
-
enum CMasonGridPlacementType value_type;
|
|
115
|
-
} CMasonGridPlacement;
|
|
84
|
+
void mason_print_tree(struct CMason *mason, struct CMasonNode *node);
|
|
116
85
|
|
|
117
|
-
|
|
86
|
+
bool mason_node_is_equal(struct CMasonNode *node_a, struct CMasonNode *node_b);
|
|
118
87
|
|
|
119
|
-
void
|
|
88
|
+
void mason_node_array_destroy(struct NodeArray *array);
|
|
120
89
|
|
|
121
|
-
void
|
|
90
|
+
void mason_node_destroy(struct CMasonNode *node);
|
|
122
91
|
|
|
123
|
-
|
|
92
|
+
struct CMasonNode *mason_node_new_node(struct CMason *mason);
|
|
124
93
|
|
|
125
|
-
|
|
94
|
+
#if !defined(TARGET_OS_ANDROID)
|
|
95
|
+
struct CMasonNode *mason_node_new_node_with_context(struct CMason *mason,
|
|
96
|
+
void *measure_data,
|
|
97
|
+
long long (*measure)(const void*,
|
|
98
|
+
float,
|
|
99
|
+
float,
|
|
100
|
+
float,
|
|
101
|
+
float));
|
|
102
|
+
#endif
|
|
126
103
|
|
|
127
|
-
|
|
104
|
+
struct CMasonNode *mason_node_new_node_with_children(struct CMason *mason,
|
|
105
|
+
struct CMasonNode *const *children,
|
|
106
|
+
uintptr_t children_size);
|
|
128
107
|
|
|
129
|
-
void
|
|
108
|
+
void *mason_node_layout(struct CMason *mason,
|
|
109
|
+
struct CMasonNode *node,
|
|
110
|
+
void *(*layout)(const float*));
|
|
130
111
|
|
|
131
|
-
void
|
|
112
|
+
void mason_node_compute_wh(struct CMason *mason,
|
|
113
|
+
struct CMasonNode *node,
|
|
114
|
+
float width,
|
|
115
|
+
float height);
|
|
132
116
|
|
|
133
|
-
void
|
|
117
|
+
void mason_node_compute_size(struct CMason *mason,
|
|
118
|
+
struct CMasonNode *node,
|
|
119
|
+
struct AvailableSpace width,
|
|
120
|
+
struct AvailableSpace height);
|
|
134
121
|
|
|
135
|
-
void
|
|
136
|
-
void *style,
|
|
137
|
-
void *measure_data,
|
|
138
|
-
long long (*measure)(const void*, float, float, float, float));
|
|
122
|
+
void mason_node_compute_max_content(struct CMason *mason, struct CMasonNode *node);
|
|
139
123
|
|
|
140
|
-
void
|
|
141
|
-
void *style,
|
|
142
|
-
const void *children,
|
|
143
|
-
uintptr_t children_size);
|
|
124
|
+
void mason_node_compute_min_content(struct CMason *mason, struct CMasonNode *node);
|
|
144
125
|
|
|
145
|
-
void
|
|
126
|
+
void mason_node_compute(struct CMason *mason, struct CMasonNode *node);
|
|
146
127
|
|
|
147
|
-
|
|
128
|
+
struct CMasonNode *mason_node_get_child_at(struct CMason *mason,
|
|
129
|
+
struct CMasonNode *node,
|
|
130
|
+
uintptr_t index);
|
|
148
131
|
|
|
149
|
-
void
|
|
150
|
-
|
|
151
|
-
struct
|
|
152
|
-
struct AvailableSpace height);
|
|
153
|
-
|
|
154
|
-
void mason_node_compute_max_content(void *mason, void *node);
|
|
155
|
-
|
|
156
|
-
void mason_node_compute_min_content(void *mason, void *node);
|
|
157
|
-
|
|
158
|
-
void mason_node_compute(void *mason, void *node);
|
|
159
|
-
|
|
160
|
-
void mason_node_set_style(void *mason, void *node, void *style);
|
|
161
|
-
|
|
162
|
-
void mason_node_update_and_set_style(void *mason, void *node, void *style);
|
|
163
|
-
|
|
164
|
-
void mason_node_update_and_set_style_with_values(void *mason,
|
|
165
|
-
void *node,
|
|
166
|
-
void *style,
|
|
167
|
-
int display,
|
|
168
|
-
int position,
|
|
169
|
-
int direction,
|
|
170
|
-
int flex_direction,
|
|
171
|
-
int flex_wrap,
|
|
172
|
-
int overflow,
|
|
173
|
-
int align_items,
|
|
174
|
-
int align_self,
|
|
175
|
-
int align_content,
|
|
176
|
-
int justify_items,
|
|
177
|
-
int justify_self,
|
|
178
|
-
int justify_content,
|
|
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,
|
|
187
|
-
int margin_left_type,
|
|
188
|
-
float margin_left_value,
|
|
189
|
-
int margin_right_type,
|
|
190
|
-
float margin_right_value,
|
|
191
|
-
int margin_top_type,
|
|
192
|
-
float margin_top_value,
|
|
193
|
-
int margin_bottom_type,
|
|
194
|
-
float margin_bottom_value,
|
|
195
|
-
int padding_left_type,
|
|
196
|
-
float padding_left_value,
|
|
197
|
-
int padding_right_type,
|
|
198
|
-
float padding_right_value,
|
|
199
|
-
int padding_top_type,
|
|
200
|
-
float padding_top_value,
|
|
201
|
-
int padding_bottom_type,
|
|
202
|
-
float padding_bottom_value,
|
|
203
|
-
int border_left_type,
|
|
204
|
-
float border_left_value,
|
|
205
|
-
int border_right_type,
|
|
206
|
-
float border_right_value,
|
|
207
|
-
int border_top_type,
|
|
208
|
-
float border_top_value,
|
|
209
|
-
int border_bottom_type,
|
|
210
|
-
float border_bottom_value,
|
|
211
|
-
float flex_grow,
|
|
212
|
-
float flex_shrink,
|
|
213
|
-
int flex_basis_type,
|
|
214
|
-
float flex_basis_value,
|
|
215
|
-
int width_type,
|
|
216
|
-
float width_value,
|
|
217
|
-
int height_type,
|
|
218
|
-
float height_value,
|
|
219
|
-
int min_width_type,
|
|
220
|
-
float min_width_value,
|
|
221
|
-
int min_height_type,
|
|
222
|
-
float min_height_value,
|
|
223
|
-
int max_width_type,
|
|
224
|
-
float max_width_value,
|
|
225
|
-
int max_height_type,
|
|
226
|
-
float max_height_value,
|
|
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);
|
|
248
|
-
|
|
249
|
-
void *mason_node_update_style_with_values_compute_and_layout(void *mason,
|
|
250
|
-
void *node,
|
|
251
|
-
void *style,
|
|
252
|
-
int display,
|
|
253
|
-
int position_type,
|
|
254
|
-
int direction,
|
|
255
|
-
int flex_direction,
|
|
256
|
-
int flex_wrap,
|
|
257
|
-
int overflow,
|
|
258
|
-
int align_items,
|
|
259
|
-
int align_self,
|
|
260
|
-
int align_content,
|
|
261
|
-
int justify_items,
|
|
262
|
-
int justify_self,
|
|
263
|
-
int justify_content,
|
|
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,
|
|
272
|
-
int margin_left_type,
|
|
273
|
-
float margin_left_value,
|
|
274
|
-
int margin_right_type,
|
|
275
|
-
float margin_right_value,
|
|
276
|
-
int margin_top_type,
|
|
277
|
-
float margin_top_value,
|
|
278
|
-
int margin_bottom_type,
|
|
279
|
-
float margin_bottom_value,
|
|
280
|
-
int padding_left_type,
|
|
281
|
-
float padding_left_value,
|
|
282
|
-
int padding_right_type,
|
|
283
|
-
float padding_right_value,
|
|
284
|
-
int padding_top_type,
|
|
285
|
-
float padding_top_value,
|
|
286
|
-
int padding_bottom_type,
|
|
287
|
-
float padding_bottom_value,
|
|
288
|
-
int border_left_type,
|
|
289
|
-
float border_left_value,
|
|
290
|
-
int border_right_type,
|
|
291
|
-
float border_right_value,
|
|
292
|
-
int border_top_type,
|
|
293
|
-
float border_top_value,
|
|
294
|
-
int border_bottom_type,
|
|
295
|
-
float border_bottom_value,
|
|
296
|
-
float flex_grow,
|
|
297
|
-
float flex_shrink,
|
|
298
|
-
int flex_basis_type,
|
|
299
|
-
float flex_basis_value,
|
|
300
|
-
int width_type,
|
|
301
|
-
float width_value,
|
|
302
|
-
int height_type,
|
|
303
|
-
float height_value,
|
|
304
|
-
int min_width_type,
|
|
305
|
-
float min_width_value,
|
|
306
|
-
int min_height_type,
|
|
307
|
-
float min_height_value,
|
|
308
|
-
int max_width_type,
|
|
309
|
-
float max_width_value,
|
|
310
|
-
int max_height_type,
|
|
311
|
-
float max_height_value,
|
|
312
|
-
int32_t gap_row_type,
|
|
313
|
-
float gap_row_value,
|
|
314
|
-
int32_t gap_column_type,
|
|
315
|
-
float gap_column_value,
|
|
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,
|
|
333
|
-
void *(*layout)(const float*));
|
|
334
|
-
|
|
335
|
-
void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
|
|
336
|
-
void *node,
|
|
337
|
-
void *style,
|
|
338
|
-
float width,
|
|
339
|
-
float height,
|
|
340
|
-
int display,
|
|
341
|
-
int position,
|
|
342
|
-
int direction,
|
|
343
|
-
int flex_direction,
|
|
344
|
-
int flex_wrap,
|
|
345
|
-
int overflow,
|
|
346
|
-
int align_items,
|
|
347
|
-
int align_self,
|
|
348
|
-
int align_content,
|
|
349
|
-
int justify_items,
|
|
350
|
-
int justify_self,
|
|
351
|
-
int justify_content,
|
|
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,
|
|
360
|
-
int margin_left_type,
|
|
361
|
-
float margin_left_value,
|
|
362
|
-
int margin_right_type,
|
|
363
|
-
float margin_right_value,
|
|
364
|
-
int margin_top_type,
|
|
365
|
-
float margin_top_value,
|
|
366
|
-
int margin_bottom_type,
|
|
367
|
-
float margin_bottom_value,
|
|
368
|
-
int padding_left_type,
|
|
369
|
-
float padding_left_value,
|
|
370
|
-
int padding_right_type,
|
|
371
|
-
float padding_right_value,
|
|
372
|
-
int padding_top_type,
|
|
373
|
-
float padding_top_value,
|
|
374
|
-
int padding_bottom_type,
|
|
375
|
-
float padding_bottom_value,
|
|
376
|
-
int border_left_type,
|
|
377
|
-
float border_left_value,
|
|
378
|
-
int border_right_type,
|
|
379
|
-
float border_right_value,
|
|
380
|
-
int border_top_type,
|
|
381
|
-
float border_top_value,
|
|
382
|
-
int border_bottom_type,
|
|
383
|
-
float border_bottom_value,
|
|
384
|
-
float flex_grow,
|
|
385
|
-
float flex_shrink,
|
|
386
|
-
int flex_basis_type,
|
|
387
|
-
float flex_basis_value,
|
|
388
|
-
int width_type,
|
|
389
|
-
float width_value,
|
|
390
|
-
int height_type,
|
|
391
|
-
float height_value,
|
|
392
|
-
int min_width_type,
|
|
393
|
-
float min_width_value,
|
|
394
|
-
int min_height_type,
|
|
395
|
-
float min_height_value,
|
|
396
|
-
int max_width_type,
|
|
397
|
-
float max_width_value,
|
|
398
|
-
int max_height_type,
|
|
399
|
-
float max_height_value,
|
|
400
|
-
int32_t gap_row_type,
|
|
401
|
-
float gap_row_value,
|
|
402
|
-
int32_t gap_column_type,
|
|
403
|
-
float gap_column_value,
|
|
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,
|
|
421
|
-
void *(*layout)(const float*));
|
|
422
|
-
|
|
423
|
-
void *mason_node_update_set_style_compute_and_layout(void *mason,
|
|
424
|
-
void *node,
|
|
425
|
-
void *style,
|
|
426
|
-
void *(*layout)(const float*));
|
|
427
|
-
|
|
428
|
-
void *mason_node_update_set_style_compute_with_size_and_layout(void *mason,
|
|
429
|
-
void *node,
|
|
430
|
-
void *style,
|
|
431
|
-
float width,
|
|
432
|
-
float height,
|
|
433
|
-
void *(*layout)(const float*));
|
|
434
|
-
|
|
435
|
-
void *mason_node_get_child_at(void *mason, void *node, uintptr_t index);
|
|
436
|
-
|
|
437
|
-
void mason_node_set_children(void *mason,
|
|
438
|
-
void *node,
|
|
439
|
-
const void *children,
|
|
132
|
+
void mason_node_set_children(struct CMason *mason,
|
|
133
|
+
struct CMasonNode *node,
|
|
134
|
+
struct CMasonNode *const *children,
|
|
440
135
|
uintptr_t children_size);
|
|
441
136
|
|
|
442
|
-
void mason_node_add_children(
|
|
443
|
-
|
|
444
|
-
|
|
137
|
+
void mason_node_add_children(struct CMason *mason,
|
|
138
|
+
struct CMasonNode *node,
|
|
139
|
+
struct CMasonNode *const *children,
|
|
445
140
|
uintptr_t children_size);
|
|
446
141
|
|
|
447
|
-
void mason_node_add_child(
|
|
142
|
+
void mason_node_add_child(struct CMason *mason, struct CMasonNode *node, struct CMasonNode *child);
|
|
448
143
|
|
|
449
|
-
|
|
144
|
+
struct CMasonNode *mason_node_replace_child_at(struct CMason *mason,
|
|
145
|
+
struct CMasonNode *node,
|
|
146
|
+
struct CMasonNode *child,
|
|
147
|
+
uintptr_t index);
|
|
450
148
|
|
|
451
|
-
void mason_node_add_child_at(
|
|
149
|
+
void mason_node_add_child_at(struct CMason *mason,
|
|
150
|
+
struct CMasonNode *node,
|
|
151
|
+
struct CMasonNode *child,
|
|
152
|
+
uintptr_t index);
|
|
452
153
|
|
|
453
|
-
void mason_node_insert_child_before(
|
|
154
|
+
void mason_node_insert_child_before(struct CMason *mason,
|
|
155
|
+
struct CMasonNode *node,
|
|
156
|
+
struct CMasonNode *child,
|
|
157
|
+
struct CMasonNode *reference);
|
|
454
158
|
|
|
455
|
-
void mason_node_insert_child_after(
|
|
159
|
+
void mason_node_insert_child_after(struct CMason *mason,
|
|
160
|
+
struct CMasonNode *node,
|
|
161
|
+
struct CMasonNode *child,
|
|
162
|
+
struct CMasonNode *reference);
|
|
456
163
|
|
|
457
|
-
bool mason_node_dirty(
|
|
164
|
+
bool mason_node_dirty(struct CMason *mason, struct CMasonNode *node);
|
|
458
165
|
|
|
459
|
-
void mason_node_mark_dirty(
|
|
166
|
+
void mason_node_mark_dirty(struct CMason *mason, struct CMasonNode *node);
|
|
460
167
|
|
|
461
|
-
bool mason_node_is_children_same(
|
|
462
|
-
|
|
463
|
-
|
|
168
|
+
bool mason_node_is_children_same(struct CMason *mason,
|
|
169
|
+
struct CMasonNode *node,
|
|
170
|
+
struct CMasonNode *const *children,
|
|
464
171
|
uintptr_t children_size);
|
|
465
172
|
|
|
466
|
-
void mason_node_remove_children(
|
|
173
|
+
void mason_node_remove_children(struct CMason *mason, struct CMasonNode *node);
|
|
467
174
|
|
|
468
|
-
|
|
175
|
+
struct CMasonNode *mason_node_remove_child_at(struct CMason *mason,
|
|
176
|
+
struct CMasonNode *node,
|
|
177
|
+
uintptr_t index);
|
|
469
178
|
|
|
470
|
-
|
|
179
|
+
struct CMasonNode *mason_node_remove_child(struct CMason *mason,
|
|
180
|
+
struct CMasonNode *node,
|
|
181
|
+
struct CMasonNode *child);
|
|
471
182
|
|
|
472
|
-
struct NodeArray mason_node_get_children(
|
|
183
|
+
struct NodeArray *mason_node_get_children(struct CMason *mason, struct CMasonNode *node);
|
|
473
184
|
|
|
474
|
-
|
|
475
|
-
|
|
185
|
+
#if !defined(TARGET_OS_ANDROID)
|
|
186
|
+
void mason_node_set_context(struct CMason *mason,
|
|
187
|
+
struct CMasonNode *node,
|
|
476
188
|
void *measure_data,
|
|
477
189
|
long long (*measure)(const void*, float, float, float, float));
|
|
190
|
+
#endif
|
|
478
191
|
|
|
479
|
-
void mason_node_remove_context(
|
|
192
|
+
void mason_node_remove_context(struct CMason *mason, struct CMasonNode *node);
|
|
480
193
|
|
|
481
194
|
void mason_destroy_non_repeated_track_sizing_function_array(struct CMasonNonRepeatedTrackSizingFunctionArray *array);
|
|
482
195
|
|
|
483
196
|
void mason_destroy_track_sizing_function_array(struct CMasonTrackSizingFunctionArray *array);
|
|
484
197
|
|
|
485
|
-
void *
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
int
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
int
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
int
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
int
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
int
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
int
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
int
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
int
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
int
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
int
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
struct
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
void
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
struct CMasonLengthPercentageAuto mason_style_get_margin_top(void *style);
|
|
598
|
-
|
|
599
|
-
void mason_style_set_margin_bottom(void *style,
|
|
600
|
-
float value,
|
|
601
|
-
enum CMasonLengthPercentageAutoType value_type);
|
|
602
|
-
|
|
603
|
-
struct CMasonLengthPercentageAuto mason_style_get_margin_bottom(void *style);
|
|
604
|
-
|
|
605
|
-
void mason_style_set_padding(void *style,
|
|
606
|
-
float left_value,
|
|
607
|
-
enum CMasonLengthPercentageType left_value_type,
|
|
608
|
-
float right_value,
|
|
609
|
-
enum CMasonLengthPercentageType right_value_type,
|
|
610
|
-
float top_value,
|
|
611
|
-
enum CMasonLengthPercentageType top_value_type,
|
|
612
|
-
float bottom_value,
|
|
613
|
-
enum CMasonLengthPercentageType bottom_value_type);
|
|
614
|
-
|
|
615
|
-
void mason_style_set_padding_left(void *style,
|
|
616
|
-
float value,
|
|
617
|
-
enum CMasonLengthPercentageType value_type);
|
|
618
|
-
|
|
619
|
-
struct CMasonLengthPercentage mason_style_get_padding_left(void *style);
|
|
620
|
-
|
|
621
|
-
void mason_style_set_padding_right(void *style,
|
|
622
|
-
float value,
|
|
623
|
-
enum CMasonLengthPercentageType value_type);
|
|
624
|
-
|
|
625
|
-
struct CMasonLengthPercentage mason_style_get_padding_right(void *style);
|
|
626
|
-
|
|
627
|
-
void mason_style_set_padding_top(void *style,
|
|
628
|
-
float value,
|
|
629
|
-
enum CMasonLengthPercentageType value_type);
|
|
630
|
-
|
|
631
|
-
struct CMasonLengthPercentage mason_style_get_padding_top(void *style);
|
|
632
|
-
|
|
633
|
-
void mason_style_set_padding_bottom(void *style,
|
|
634
|
-
float value,
|
|
635
|
-
enum CMasonLengthPercentageType value_type);
|
|
636
|
-
|
|
637
|
-
struct CMasonLengthPercentage mason_style_get_padding_bottom(void *style);
|
|
638
|
-
|
|
639
|
-
void mason_style_set_border(void *style,
|
|
640
|
-
float left_value,
|
|
641
|
-
enum CMasonLengthPercentageType left_value_type,
|
|
642
|
-
float right_value,
|
|
643
|
-
enum CMasonLengthPercentageType right_value_type,
|
|
644
|
-
float top_value,
|
|
645
|
-
enum CMasonLengthPercentageType top_value_type,
|
|
646
|
-
float bottom_value,
|
|
647
|
-
enum CMasonLengthPercentageType bottom_value_type);
|
|
648
|
-
|
|
649
|
-
void mason_style_set_border_left(void *style,
|
|
650
|
-
float value,
|
|
651
|
-
enum CMasonLengthPercentageType value_type);
|
|
652
|
-
|
|
653
|
-
struct CMasonLengthPercentage mason_style_get_border_left(void *style);
|
|
654
|
-
|
|
655
|
-
void mason_style_set_border_right(void *style,
|
|
656
|
-
float value,
|
|
657
|
-
enum CMasonLengthPercentageType value_type);
|
|
658
|
-
|
|
659
|
-
struct CMasonLengthPercentage mason_style_get_border_right(void *style);
|
|
660
|
-
|
|
661
|
-
void mason_style_set_border_top(void *style,
|
|
662
|
-
float value,
|
|
663
|
-
enum CMasonLengthPercentageType value_type);
|
|
664
|
-
|
|
665
|
-
struct CMasonLengthPercentage mason_style_get_border_top(void *style);
|
|
666
|
-
|
|
667
|
-
void mason_style_set_border_bottom(void *style,
|
|
668
|
-
float value,
|
|
669
|
-
enum CMasonLengthPercentageType value_type);
|
|
670
|
-
|
|
671
|
-
struct CMasonLengthPercentage mason_style_get_border_bottom(void *style);
|
|
672
|
-
|
|
673
|
-
void mason_style_set_flex_grow(void *style, float grow);
|
|
674
|
-
|
|
675
|
-
float mason_style_get_flex_grow(void *style);
|
|
676
|
-
|
|
677
|
-
void mason_style_set_flex_shrink(void *style, float shrink);
|
|
678
|
-
|
|
679
|
-
float mason_style_get_flex_shrink(void *style);
|
|
680
|
-
|
|
681
|
-
void mason_style_set_flex_basis(void *style, float value, enum CMasonDimensionType value_type);
|
|
682
|
-
|
|
683
|
-
struct CMasonDimension mason_style_get_flex_basis(void *style);
|
|
684
|
-
|
|
685
|
-
void mason_style_set_width(void *style, float value, enum CMasonDimensionType value_type);
|
|
686
|
-
|
|
687
|
-
struct CMasonDimension mason_style_get_width(void *style);
|
|
688
|
-
|
|
689
|
-
void mason_style_set_height(void *style, float value, enum CMasonDimensionType value_type);
|
|
690
|
-
|
|
691
|
-
struct CMasonDimension mason_style_get_height(void *style);
|
|
692
|
-
|
|
693
|
-
void mason_style_set_min_width(void *style, float value, enum CMasonDimensionType value_type);
|
|
694
|
-
|
|
695
|
-
struct CMasonDimension mason_style_get_min_width(void *style);
|
|
696
|
-
|
|
697
|
-
void mason_style_set_min_height(void *style, float value, enum CMasonDimensionType value_type);
|
|
698
|
-
|
|
699
|
-
struct CMasonDimension mason_style_get_min_height(void *style);
|
|
700
|
-
|
|
701
|
-
void mason_style_set_max_width(void *style, float value, enum CMasonDimensionType value_type);
|
|
702
|
-
|
|
703
|
-
struct CMasonDimension mason_style_get_max_width(void *style);
|
|
704
|
-
|
|
705
|
-
void mason_style_set_max_height(void *style, float value, enum CMasonDimensionType value_type);
|
|
706
|
-
|
|
707
|
-
struct CMasonDimension mason_style_get_max_height(void *style);
|
|
708
|
-
|
|
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);
|
|
718
|
-
|
|
719
|
-
struct CMasonLengthPercentage mason_style_get_row_gap(void *style);
|
|
720
|
-
|
|
721
|
-
void mason_style_set_column_gap(void *style,
|
|
722
|
-
float value,
|
|
723
|
-
enum CMasonLengthPercentageType value_type);
|
|
724
|
-
|
|
725
|
-
struct CMasonLengthPercentage mason_style_get_column_gap(void *style);
|
|
726
|
-
|
|
727
|
-
void mason_style_set_aspect_ratio(void *style, float ratio);
|
|
728
|
-
|
|
729
|
-
float mason_style_get_aspect_ratio(void *style);
|
|
730
|
-
|
|
731
|
-
struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_rows(void *style);
|
|
732
|
-
|
|
733
|
-
void mason_style_set_grid_auto_rows(void *style,
|
|
198
|
+
void mason_style_set_with_values(struct CMason *mason,
|
|
199
|
+
struct CMasonNode *node,
|
|
200
|
+
int display,
|
|
201
|
+
int position,
|
|
202
|
+
int direction,
|
|
203
|
+
int flex_direction,
|
|
204
|
+
int flex_wrap,
|
|
205
|
+
int overflow,
|
|
206
|
+
int align_items,
|
|
207
|
+
int align_self,
|
|
208
|
+
int align_content,
|
|
209
|
+
int justify_items,
|
|
210
|
+
int justify_self,
|
|
211
|
+
int justify_content,
|
|
212
|
+
int inset_left_type,
|
|
213
|
+
float inset_left_value,
|
|
214
|
+
int inset_right_type,
|
|
215
|
+
float inset_right_value,
|
|
216
|
+
int inset_top_type,
|
|
217
|
+
float inset_top_value,
|
|
218
|
+
int inset_bottom_type,
|
|
219
|
+
float inset_bottom_value,
|
|
220
|
+
int margin_left_type,
|
|
221
|
+
float margin_left_value,
|
|
222
|
+
int margin_right_type,
|
|
223
|
+
float margin_right_value,
|
|
224
|
+
int margin_top_type,
|
|
225
|
+
float margin_top_value,
|
|
226
|
+
int margin_bottom_type,
|
|
227
|
+
float margin_bottom_value,
|
|
228
|
+
int padding_left_type,
|
|
229
|
+
float padding_left_value,
|
|
230
|
+
int padding_right_type,
|
|
231
|
+
float padding_right_value,
|
|
232
|
+
int padding_top_type,
|
|
233
|
+
float padding_top_value,
|
|
234
|
+
int padding_bottom_type,
|
|
235
|
+
float padding_bottom_value,
|
|
236
|
+
int border_left_type,
|
|
237
|
+
float border_left_value,
|
|
238
|
+
int border_right_type,
|
|
239
|
+
float border_right_value,
|
|
240
|
+
int border_top_type,
|
|
241
|
+
float border_top_value,
|
|
242
|
+
int border_bottom_type,
|
|
243
|
+
float border_bottom_value,
|
|
244
|
+
float flex_grow,
|
|
245
|
+
float flex_shrink,
|
|
246
|
+
int flex_basis_type,
|
|
247
|
+
float flex_basis_value,
|
|
248
|
+
int width_type,
|
|
249
|
+
float width_value,
|
|
250
|
+
int height_type,
|
|
251
|
+
float height_value,
|
|
252
|
+
int min_width_type,
|
|
253
|
+
float min_width_value,
|
|
254
|
+
int min_height_type,
|
|
255
|
+
float min_height_value,
|
|
256
|
+
int max_width_type,
|
|
257
|
+
float max_width_value,
|
|
258
|
+
int max_height_type,
|
|
259
|
+
float max_height_value,
|
|
260
|
+
int gap_row_type,
|
|
261
|
+
float gap_row_value,
|
|
262
|
+
int gap_column_type,
|
|
263
|
+
float gap_column_value,
|
|
264
|
+
float aspect_ratio,
|
|
265
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
|
|
266
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
|
|
267
|
+
int grid_auto_flow,
|
|
268
|
+
int grid_column_start_type,
|
|
269
|
+
short grid_column_start_value,
|
|
270
|
+
int grid_column_end_type,
|
|
271
|
+
short grid_column_end_value,
|
|
272
|
+
int grid_row_start_type,
|
|
273
|
+
short grid_row_start_value,
|
|
274
|
+
int grid_row_end_type,
|
|
275
|
+
short grid_row_end_value,
|
|
276
|
+
struct CMasonTrackSizingFunctionArray *grid_template_rows,
|
|
277
|
+
struct CMasonTrackSizingFunctionArray *grid_template_columns,
|
|
278
|
+
int32_t overflow_x,
|
|
279
|
+
int32_t overflow_y,
|
|
280
|
+
float scrollbar_width,
|
|
281
|
+
int32_t text_align,
|
|
282
|
+
int32_t box_sizing);
|
|
283
|
+
|
|
284
|
+
void mason_style_sync_style(struct CMason *mason, struct CMasonNode *node, int64_t state);
|
|
285
|
+
|
|
286
|
+
void mason_style_sync_style_with_buffer(struct CMason *mason,
|
|
287
|
+
struct CMasonNode *node,
|
|
288
|
+
int64_t state,
|
|
289
|
+
uint8_t *buffer,
|
|
290
|
+
uintptr_t buffer_size);
|
|
291
|
+
|
|
292
|
+
void *mason_style_sync_compute_and_layout(struct CMason *mason,
|
|
293
|
+
struct CMasonNode *node,
|
|
294
|
+
uint8_t *data,
|
|
295
|
+
uintptr_t size,
|
|
296
|
+
int64_t state,
|
|
297
|
+
void *(*layout)(const float*));
|
|
298
|
+
|
|
299
|
+
void mason_style_release_style_buffer(struct CMasonBuffer *buffer);
|
|
300
|
+
|
|
301
|
+
struct CMasonBuffer *mason_style_get_style_buffer(struct CMason *mason, struct CMasonNode *node);
|
|
302
|
+
|
|
303
|
+
void *mason_style_get_style_buffer_apple(struct CMason *mason, struct CMasonNode *node);
|
|
304
|
+
|
|
305
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_rows(struct CMason *mason,
|
|
306
|
+
struct CMasonNode *node);
|
|
307
|
+
|
|
308
|
+
void mason_style_set_grid_auto_rows(struct CMason *mason,
|
|
309
|
+
struct CMasonNode *node,
|
|
734
310
|
struct CMasonNonRepeatedTrackSizingFunctionArray *value);
|
|
735
311
|
|
|
736
|
-
struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_columns(
|
|
312
|
+
struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_columns(struct CMason *mason,
|
|
313
|
+
struct CMasonNode *node);
|
|
737
314
|
|
|
738
|
-
void mason_style_set_grid_auto_columns(
|
|
315
|
+
void mason_style_set_grid_auto_columns(struct CMason *mason,
|
|
316
|
+
struct CMasonNode *node,
|
|
739
317
|
struct CMasonNonRepeatedTrackSizingFunctionArray *value);
|
|
740
318
|
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
void mason_style_set_grid_auto_flow(void *style, int32_t value);
|
|
319
|
+
struct CMasonTrackSizingFunctionArray *mason_style_get_grid_template_rows(struct CMason *mason,
|
|
320
|
+
struct CMasonNode *node);
|
|
744
321
|
|
|
745
|
-
void
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
struct CMasonGridPlacement column_start,
|
|
749
|
-
struct CMasonGridPlacement column_end);
|
|
322
|
+
void mason_style_set_grid_template_rows(struct CMason *mason,
|
|
323
|
+
struct CMasonNode *node,
|
|
324
|
+
struct CMasonTrackSizingFunctionArray *value);
|
|
750
325
|
|
|
751
|
-
struct
|
|
326
|
+
struct CMasonTrackSizingFunctionArray *mason_style_get_grid_template_columns(struct CMason *mason,
|
|
327
|
+
struct CMasonNode *node);
|
|
752
328
|
|
|
753
|
-
void
|
|
754
|
-
|
|
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,
|
|
329
|
+
void mason_style_set_grid_template_columns(struct CMason *mason,
|
|
330
|
+
struct CMasonNode *node,
|
|
782
331
|
struct CMasonTrackSizingFunctionArray *value);
|
|
783
332
|
|
|
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
|
-
|
|
798
|
-
void *mason_style_init_with_values(int display,
|
|
799
|
-
int position_type,
|
|
800
|
-
int direction,
|
|
801
|
-
int flex_direction,
|
|
802
|
-
int flex_wrap,
|
|
803
|
-
int overflow,
|
|
804
|
-
int align_items,
|
|
805
|
-
int align_self,
|
|
806
|
-
int align_content,
|
|
807
|
-
int justify_items,
|
|
808
|
-
int justify_self,
|
|
809
|
-
int justify_content,
|
|
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,
|
|
818
|
-
int margin_left_type,
|
|
819
|
-
float margin_left_value,
|
|
820
|
-
int margin_right_type,
|
|
821
|
-
float margin_right_value,
|
|
822
|
-
int margin_top_type,
|
|
823
|
-
float margin_top_value,
|
|
824
|
-
int margin_bottom_type,
|
|
825
|
-
float margin_bottom_value,
|
|
826
|
-
int padding_left_type,
|
|
827
|
-
float padding_left_value,
|
|
828
|
-
int padding_right_type,
|
|
829
|
-
float padding_right_value,
|
|
830
|
-
int padding_top_type,
|
|
831
|
-
float padding_top_value,
|
|
832
|
-
int padding_bottom_type,
|
|
833
|
-
float padding_bottom_value,
|
|
834
|
-
int border_left_type,
|
|
835
|
-
float border_left_value,
|
|
836
|
-
int border_right_type,
|
|
837
|
-
float border_right_value,
|
|
838
|
-
int border_top_type,
|
|
839
|
-
float border_top_value,
|
|
840
|
-
int border_bottom_type,
|
|
841
|
-
float border_bottom_value,
|
|
842
|
-
float flex_grow,
|
|
843
|
-
float flex_shrink,
|
|
844
|
-
int flex_basis_type,
|
|
845
|
-
float flex_basis_value,
|
|
846
|
-
int width_type,
|
|
847
|
-
float width_value,
|
|
848
|
-
int height_type,
|
|
849
|
-
float height_value,
|
|
850
|
-
int min_width_type,
|
|
851
|
-
float min_width_value,
|
|
852
|
-
int min_height_type,
|
|
853
|
-
float min_height_value,
|
|
854
|
-
int max_width_type,
|
|
855
|
-
float max_width_value,
|
|
856
|
-
int max_height_type,
|
|
857
|
-
float max_height_value,
|
|
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);
|
|
879
|
-
|
|
880
|
-
void mason_style_update_with_values(void *style,
|
|
881
|
-
int display,
|
|
882
|
-
int position_type,
|
|
883
|
-
int direction,
|
|
884
|
-
int flex_direction,
|
|
885
|
-
int flex_wrap,
|
|
886
|
-
int overflow,
|
|
887
|
-
int align_items,
|
|
888
|
-
int align_self,
|
|
889
|
-
int align_content,
|
|
890
|
-
int justify_items,
|
|
891
|
-
int justify_self,
|
|
892
|
-
int justify_content,
|
|
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,
|
|
901
|
-
int margin_left_type,
|
|
902
|
-
float margin_left_value,
|
|
903
|
-
int margin_right_type,
|
|
904
|
-
float margin_right_value,
|
|
905
|
-
int margin_top_type,
|
|
906
|
-
float margin_top_value,
|
|
907
|
-
int margin_bottom_type,
|
|
908
|
-
float margin_bottom_value,
|
|
909
|
-
int padding_left_type,
|
|
910
|
-
float padding_left_value,
|
|
911
|
-
int padding_right_type,
|
|
912
|
-
float padding_right_value,
|
|
913
|
-
int padding_top_type,
|
|
914
|
-
float padding_top_value,
|
|
915
|
-
int padding_bottom_type,
|
|
916
|
-
float padding_bottom_value,
|
|
917
|
-
int border_left_type,
|
|
918
|
-
float border_left_value,
|
|
919
|
-
int border_right_type,
|
|
920
|
-
float border_right_value,
|
|
921
|
-
int border_top_type,
|
|
922
|
-
float border_top_value,
|
|
923
|
-
int border_bottom_type,
|
|
924
|
-
float border_bottom_value,
|
|
925
|
-
float flex_grow,
|
|
926
|
-
float flex_shrink,
|
|
927
|
-
int flex_basis_type,
|
|
928
|
-
float flex_basis_value,
|
|
929
|
-
int width_type,
|
|
930
|
-
float width_value,
|
|
931
|
-
int height_type,
|
|
932
|
-
float height_value,
|
|
933
|
-
int min_width_type,
|
|
934
|
-
float min_width_value,
|
|
935
|
-
int min_height_type,
|
|
936
|
-
float min_height_value,
|
|
937
|
-
int max_width_type,
|
|
938
|
-
float max_width_value,
|
|
939
|
-
int max_height_type,
|
|
940
|
-
float max_height_value,
|
|
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
333
|
struct CMasonMinMax mason_util_create_non_repeated_track_sizing_function_with_type_value(int32_t track_type,
|
|
964
334
|
float track_value);
|
|
965
335
|
|
|
@@ -969,4 +339,4 @@ char *mason_util_parse_auto_repeating_track_sizing_function(struct CMasonTrackSi
|
|
|
969
339
|
|
|
970
340
|
void mason_util_destroy_string(char *string);
|
|
971
341
|
|
|
972
|
-
#endif /*
|
|
342
|
+
#endif /* MASON_C_H */
|