objcjs-types 0.2.1 → 0.3.0
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/bin/objcjs-types.ts +31 -0
- package/dist/AVFoundation/functions.d.ts +21 -0
- package/dist/AVFoundation/functions.js +32 -0
- package/dist/AVFoundation/index.d.ts +1 -0
- package/dist/AVFoundation/index.js +1 -0
- package/dist/Accessibility/functions.d.ts +16 -0
- package/dist/Accessibility/functions.js +35 -0
- package/dist/Accessibility/index.d.ts +1 -0
- package/dist/Accessibility/index.js +1 -0
- package/dist/AddressBook/functions.d.ts +98 -0
- package/dist/AddressBook/functions.js +290 -0
- package/dist/AddressBook/index.d.ts +1 -0
- package/dist/AddressBook/index.js +1 -0
- package/dist/AppKit/functions.d.ts +112 -0
- package/dist/AppKit/functions.js +272 -0
- package/dist/AppKit/index.d.ts +1 -0
- package/dist/AppKit/index.js +1 -0
- package/dist/AudioToolbox/functions.d.ts +377 -0
- package/dist/AudioToolbox/functions.js +1124 -0
- package/dist/AudioToolbox/index.d.ts +1 -0
- package/dist/AudioToolbox/index.js +1 -0
- package/dist/AuthenticationServices/functions.d.ts +2 -0
- package/dist/AuthenticationServices/functions.js +5 -0
- package/dist/AuthenticationServices/index.d.ts +1 -0
- package/dist/AuthenticationServices/index.js +1 -0
- package/dist/BrowserEngineCore/functions.d.ts +3 -0
- package/dist/BrowserEngineCore/functions.js +11 -0
- package/dist/BrowserEngineCore/index.d.ts +1 -0
- package/dist/BrowserEngineCore/index.js +1 -0
- package/dist/CoreAudio/functions.d.ts +60 -0
- package/dist/CoreAudio/functions.js +173 -0
- package/dist/CoreAudio/index.d.ts +1 -0
- package/dist/CoreAudio/index.js +1 -0
- package/dist/CoreMIDI/functions.d.ts +96 -0
- package/dist/CoreMIDI/functions.js +287 -0
- package/dist/CoreMIDI/index.d.ts +1 -0
- package/dist/CoreMIDI/index.js +1 -0
- package/dist/CoreML/functions.d.ts +2 -0
- package/dist/CoreML/functions.js +5 -0
- package/dist/CoreML/index.d.ts +1 -0
- package/dist/CoreML/index.js +1 -0
- package/dist/CoreMediaIO/functions.d.ts +38 -0
- package/dist/CoreMediaIO/functions.js +107 -0
- package/dist/CoreMediaIO/index.d.ts +1 -0
- package/dist/CoreMediaIO/index.js +1 -0
- package/dist/CoreText/functions.d.ts +209 -0
- package/dist/CoreText/functions.js +611 -0
- package/dist/CoreText/index.d.ts +1 -0
- package/dist/CoreText/index.js +1 -0
- package/dist/CoreWLAN/functions.d.ts +23 -0
- package/dist/CoreWLAN/functions.js +56 -0
- package/dist/CoreWLAN/index.d.ts +1 -0
- package/dist/CoreWLAN/index.js +1 -0
- package/dist/DeviceDiscoveryExtension/functions.d.ts +11 -0
- package/dist/DeviceDiscoveryExtension/functions.js +17 -0
- package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
- package/dist/DeviceDiscoveryExtension/index.js +1 -0
- package/dist/DiscRecording/functions.d.ts +97 -0
- package/dist/DiscRecording/functions.js +290 -0
- package/dist/DiscRecording/index.d.ts +1 -0
- package/dist/DiscRecording/index.js +1 -0
- package/dist/DiscRecordingUI/functions.d.ts +13 -0
- package/dist/DiscRecordingUI/functions.js +38 -0
- package/dist/DiscRecordingUI/index.d.ts +1 -0
- package/dist/DiscRecordingUI/index.js +1 -0
- package/dist/ExceptionHandling/functions.d.ts +1 -0
- package/dist/ExceptionHandling/functions.js +5 -0
- package/dist/ExceptionHandling/index.d.ts +1 -0
- package/dist/ExceptionHandling/index.js +1 -0
- package/dist/FSKit/functions.d.ts +4 -0
- package/dist/FSKit/functions.js +11 -0
- package/dist/FSKit/index.d.ts +1 -0
- package/dist/FSKit/index.js +1 -0
- package/dist/Foundation/functions.d.ts +145 -0
- package/dist/Foundation/functions.js +386 -0
- package/dist/Foundation/index.d.ts +1 -0
- package/dist/Foundation/index.js +1 -0
- package/dist/GLKit/functions.d.ts +51 -0
- package/dist/GLKit/functions.js +146 -0
- package/dist/GLKit/index.d.ts +1 -0
- package/dist/GLKit/index.js +1 -0
- package/dist/GameController/functions.d.ts +18 -0
- package/dist/GameController/functions.js +44 -0
- package/dist/GameController/index.d.ts +1 -0
- package/dist/GameController/index.js +1 -0
- package/dist/HealthKit/functions.d.ts +19 -0
- package/dist/HealthKit/functions.js +35 -0
- package/dist/HealthKit/index.d.ts +1 -0
- package/dist/HealthKit/index.js +1 -0
- package/dist/IOSurface/functions.d.ts +53 -0
- package/dist/IOSurface/functions.js +155 -0
- package/dist/IOSurface/index.d.ts +1 -0
- package/dist/IOSurface/index.js +1 -0
- package/dist/IOUSBHost/functions.d.ts +44 -0
- package/dist/IOUSBHost/functions.js +131 -0
- package/dist/IOUSBHost/index.d.ts +1 -0
- package/dist/IOUSBHost/index.js +1 -0
- package/dist/InstantMessage/functions.d.ts +1 -0
- package/dist/InstantMessage/functions.js +5 -0
- package/dist/InstantMessage/index.d.ts +1 -0
- package/dist/InstantMessage/index.js +1 -0
- package/dist/JavaRuntimeSupport/functions.d.ts +40 -0
- package/dist/JavaRuntimeSupport/functions.js +113 -0
- package/dist/JavaRuntimeSupport/index.d.ts +1 -0
- package/dist/JavaRuntimeSupport/index.js +1 -0
- package/dist/JavaScriptCore/functions.d.ts +120 -0
- package/dist/JavaScriptCore/functions.js +359 -0
- package/dist/JavaScriptCore/index.d.ts +1 -0
- package/dist/JavaScriptCore/index.js +1 -0
- package/dist/MLCompute/functions.d.ts +27 -0
- package/dist/MLCompute/functions.js +41 -0
- package/dist/MLCompute/index.d.ts +1 -0
- package/dist/MLCompute/index.js +1 -0
- package/dist/MapKit/functions.d.ts +23 -0
- package/dist/MapKit/functions.js +56 -0
- package/dist/MapKit/index.d.ts +1 -0
- package/dist/MapKit/index.js +1 -0
- package/dist/Matter/functions.d.ts +17 -0
- package/dist/Matter/functions.js +26 -0
- package/dist/Matter/index.d.ts +1 -0
- package/dist/Matter/index.js +1 -0
- package/dist/MediaAccessibility/functions.d.ts +28 -0
- package/dist/MediaAccessibility/functions.js +83 -0
- package/dist/MediaAccessibility/index.d.ts +1 -0
- package/dist/MediaAccessibility/index.js +1 -0
- package/dist/MediaPlayer/functions.d.ts +3 -0
- package/dist/MediaPlayer/functions.js +11 -0
- package/dist/MediaPlayer/index.d.ts +1 -0
- package/dist/MediaPlayer/index.js +1 -0
- package/dist/Metal/functions.d.ts +14 -0
- package/dist/Metal/functions.js +26 -0
- package/dist/Metal/index.d.ts +1 -0
- package/dist/Metal/index.js +1 -0
- package/dist/MetalKit/functions.d.ts +11 -0
- package/dist/MetalKit/functions.js +20 -0
- package/dist/MetalKit/index.d.ts +1 -0
- package/dist/MetalKit/index.js +1 -0
- package/dist/MetalPerformanceShaders/functions.d.ts +7 -0
- package/dist/MetalPerformanceShaders/functions.js +14 -0
- package/dist/MetalPerformanceShaders/index.d.ts +1 -0
- package/dist/MetalPerformanceShaders/index.js +1 -0
- package/dist/NearbyInteraction/functions.d.ts +3 -0
- package/dist/NearbyInteraction/functions.js +5 -0
- package/dist/NearbyInteraction/index.d.ts +1 -0
- package/dist/NearbyInteraction/index.js +1 -0
- package/dist/ParavirtualizedGraphics/functions.d.ts +7 -0
- package/dist/ParavirtualizedGraphics/functions.js +14 -0
- package/dist/ParavirtualizedGraphics/index.d.ts +1 -0
- package/dist/ParavirtualizedGraphics/index.js +1 -0
- package/dist/QuartzCore/functions.d.ts +19 -0
- package/dist/QuartzCore/functions.js +50 -0
- package/dist/QuartzCore/index.d.ts +1 -0
- package/dist/QuartzCore/index.js +1 -0
- package/dist/SceneKit/functions.d.ts +17 -0
- package/dist/SceneKit/functions.js +38 -0
- package/dist/SceneKit/index.d.ts +1 -0
- package/dist/SceneKit/index.js +1 -0
- package/dist/SensorKit/functions.d.ts +4 -0
- package/dist/SensorKit/functions.js +14 -0
- package/dist/SensorKit/index.d.ts +1 -0
- package/dist/SensorKit/index.js +1 -0
- package/dist/ServiceManagement/functions.d.ts +7 -0
- package/dist/ServiceManagement/functions.js +20 -0
- package/dist/ServiceManagement/index.d.ts +1 -0
- package/dist/ServiceManagement/index.js +1 -0
- package/dist/StoreKit/functions.d.ts +1 -0
- package/dist/StoreKit/functions.js +5 -0
- package/dist/StoreKit/index.d.ts +1 -0
- package/dist/StoreKit/index.js +1 -0
- package/dist/VideoToolbox/functions.d.ts +81 -0
- package/dist/VideoToolbox/functions.js +236 -0
- package/dist/VideoToolbox/index.d.ts +1 -0
- package/dist/VideoToolbox/index.js +1 -0
- package/dist/Vision/functions.d.ts +16 -0
- package/dist/Vision/functions.js +38 -0
- package/dist/Vision/index.d.ts +1 -0
- package/dist/Vision/index.js +1 -0
- package/generator/ast-parser.ts +1368 -0
- package/generator/clang.ts +167 -0
- package/generator/custom.ts +936 -0
- package/generator/discover.ts +111 -0
- package/generator/emitter.ts +2026 -0
- package/generator/frameworks.ts +135 -0
- package/generator/index.ts +1334 -0
- package/generator/parse-worker.ts +263 -0
- package/generator/resolve-strings.ts +121 -0
- package/generator/struct-fields.ts +46 -0
- package/generator/templates/bind.ts +100 -0
- package/generator/templates/helpers.ts +70 -0
- package/generator/templates/nsdata.ts +97 -0
- package/generator/templates/osversion.ts +91 -0
- package/generator/type-mapper.ts +615 -0
- package/generator/worker-pool.ts +309 -0
- package/package.json +13 -4
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function MAAudibleMediaCopyPreferredCharacteristics() {
|
|
4
|
+
return callFunction("MAAudibleMediaCopyPreferredCharacteristics", { returns: "@" });
|
|
5
|
+
}
|
|
6
|
+
export function MACaptionAppearanceAddSelectedLanguage(domain, language) {
|
|
7
|
+
return callFunction("MACaptionAppearanceAddSelectedLanguage", { returns: "B", args: ["@", "^"] }, domain, language);
|
|
8
|
+
}
|
|
9
|
+
export function MACaptionAppearanceCopyActiveProfileID() {
|
|
10
|
+
return callFunction("MACaptionAppearanceCopyActiveProfileID", { returns: "^" });
|
|
11
|
+
}
|
|
12
|
+
export function MACaptionAppearanceCopyBackgroundColor(domain, behavior) {
|
|
13
|
+
return callFunction("MACaptionAppearanceCopyBackgroundColor", { returns: "^" }, domain, behavior);
|
|
14
|
+
}
|
|
15
|
+
export function MACaptionAppearanceCopyFontDescriptorForStyle(domain, behavior, fontStyle) {
|
|
16
|
+
return callFunction("MACaptionAppearanceCopyFontDescriptorForStyle", { returns: "@" }, domain, behavior, fontStyle);
|
|
17
|
+
}
|
|
18
|
+
export function MACaptionAppearanceCopyForegroundColor(domain, behavior) {
|
|
19
|
+
return callFunction("MACaptionAppearanceCopyForegroundColor", { returns: "^" }, domain, behavior);
|
|
20
|
+
}
|
|
21
|
+
export function MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics(domain) {
|
|
22
|
+
return callFunction("MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics", { returns: "@" }, domain);
|
|
23
|
+
}
|
|
24
|
+
export function MACaptionAppearanceCopyProfileIDs() {
|
|
25
|
+
return callFunction("MACaptionAppearanceCopyProfileIDs", { returns: "@" });
|
|
26
|
+
}
|
|
27
|
+
export function MACaptionAppearanceCopyProfileName(profileID) {
|
|
28
|
+
return callFunction("MACaptionAppearanceCopyProfileName", { returns: "^", args: ["^"] }, profileID);
|
|
29
|
+
}
|
|
30
|
+
export function MACaptionAppearanceCopySelectedLanguages(domain) {
|
|
31
|
+
return callFunction("MACaptionAppearanceCopySelectedLanguages", { returns: "@" }, domain);
|
|
32
|
+
}
|
|
33
|
+
export function MACaptionAppearanceCopyWindowColor(domain, behavior) {
|
|
34
|
+
return callFunction("MACaptionAppearanceCopyWindowColor", { returns: "^" }, domain, behavior);
|
|
35
|
+
}
|
|
36
|
+
export function MACaptionAppearanceDidDisplayCaptions(strings) {
|
|
37
|
+
callFunction("MACaptionAppearanceDidDisplayCaptions", undefined, strings);
|
|
38
|
+
}
|
|
39
|
+
export function MACaptionAppearanceExecuteBlockForProfileID(profileID, aBlock) {
|
|
40
|
+
callFunction("MACaptionAppearanceExecuteBlockForProfileID", { args: ["^", "@"] }, profileID, aBlock);
|
|
41
|
+
}
|
|
42
|
+
export function MACaptionAppearanceGetBackgroundOpacity(domain, behavior) {
|
|
43
|
+
return callFunction("MACaptionAppearanceGetBackgroundOpacity", { returns: "d" }, domain, behavior);
|
|
44
|
+
}
|
|
45
|
+
export function MACaptionAppearanceGetDisplayType(domain) {
|
|
46
|
+
return callFunction("MACaptionAppearanceGetDisplayType", { returns: "@" }, domain);
|
|
47
|
+
}
|
|
48
|
+
export function MACaptionAppearanceGetForegroundOpacity(domain, behavior) {
|
|
49
|
+
return callFunction("MACaptionAppearanceGetForegroundOpacity", { returns: "d" }, domain, behavior);
|
|
50
|
+
}
|
|
51
|
+
export function MACaptionAppearanceGetRelativeCharacterSize(domain, behavior) {
|
|
52
|
+
return callFunction("MACaptionAppearanceGetRelativeCharacterSize", { returns: "d" }, domain, behavior);
|
|
53
|
+
}
|
|
54
|
+
export function MACaptionAppearanceGetTextEdgeStyle(domain, behavior) {
|
|
55
|
+
return callFunction("MACaptionAppearanceGetTextEdgeStyle", { returns: "@" }, domain, behavior);
|
|
56
|
+
}
|
|
57
|
+
export function MACaptionAppearanceGetWindowOpacity(domain, behavior) {
|
|
58
|
+
return callFunction("MACaptionAppearanceGetWindowOpacity", { returns: "d" }, domain, behavior);
|
|
59
|
+
}
|
|
60
|
+
export function MACaptionAppearanceGetWindowRoundedCornerRadius(domain, behavior) {
|
|
61
|
+
return callFunction("MACaptionAppearanceGetWindowRoundedCornerRadius", { returns: "d" }, domain, behavior);
|
|
62
|
+
}
|
|
63
|
+
export function MACaptionAppearanceIsCustomized(domain) {
|
|
64
|
+
return callFunction("MACaptionAppearanceIsCustomized", { returns: "B" }, domain);
|
|
65
|
+
}
|
|
66
|
+
export function MACaptionAppearanceSetActiveProfileID(profileID) {
|
|
67
|
+
callFunction("MACaptionAppearanceSetActiveProfileID", { args: ["^"] }, profileID);
|
|
68
|
+
}
|
|
69
|
+
export function MACaptionAppearanceSetDisplayType(domain, displayType) {
|
|
70
|
+
callFunction("MACaptionAppearanceSetDisplayType", undefined, domain, displayType);
|
|
71
|
+
}
|
|
72
|
+
export function MADimFlashingLightsEnabled() {
|
|
73
|
+
return callFunction("MADimFlashingLightsEnabled", { returns: "B" });
|
|
74
|
+
}
|
|
75
|
+
export function MAImageCaptioningCopyCaption(url, error) {
|
|
76
|
+
return callFunction("MAImageCaptioningCopyCaption", { returns: "^" }, url, error);
|
|
77
|
+
}
|
|
78
|
+
export function MAImageCaptioningCopyMetadataTagPath() {
|
|
79
|
+
return callFunction("MAImageCaptioningCopyMetadataTagPath", { returns: "^" });
|
|
80
|
+
}
|
|
81
|
+
export function MAImageCaptioningSetCaption(url, string_, error) {
|
|
82
|
+
return callFunction("MAImageCaptioningSetCaption", { returns: "B", args: ["@", "^", "@"] }, url, string_, error);
|
|
83
|
+
}
|
|
@@ -9,3 +9,4 @@ export type { _MAFlashingLightsProcessorResult };
|
|
|
9
9
|
import type { _MAMusicHapticsManager } from "./MAMusicHapticsManager.js";
|
|
10
10
|
export declare const MAMusicHapticsManager: typeof _MAMusicHapticsManager;
|
|
11
11
|
export type { _MAMusicHapticsManager };
|
|
12
|
+
export * from "./functions.js";
|
|
@@ -5,3 +5,4 @@ export const MediaAccessibility = new NobjcLibrary("/System/Library/Frameworks/M
|
|
|
5
5
|
export const MAFlashingLightsProcessor = _bindClass(MediaAccessibility, "MAFlashingLightsProcessor");
|
|
6
6
|
export const MAFlashingLightsProcessorResult = _bindClass(MediaAccessibility, "MAFlashingLightsProcessorResult");
|
|
7
7
|
export const MAMusicHapticsManager = _bindClass(MediaAccessibility, "MAMusicHapticsManager");
|
|
8
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function MPVolumeSettingsAlertHide() {
|
|
4
|
+
callFunction("MPVolumeSettingsAlertHide");
|
|
5
|
+
}
|
|
6
|
+
export function MPVolumeSettingsAlertIsVisible() {
|
|
7
|
+
return callFunction("MPVolumeSettingsAlertIsVisible", { returns: "B" });
|
|
8
|
+
}
|
|
9
|
+
export function MPVolumeSettingsAlertShow() {
|
|
10
|
+
callFunction("MPVolumeSettingsAlertShow");
|
|
11
|
+
}
|
|
@@ -171,3 +171,4 @@ export { MPRemoteCommandHandlerStatus } from "./MPRemoteCommandHandlerStatus.js"
|
|
|
171
171
|
export { MPRepeatType } from "./MPRepeatType.js";
|
|
172
172
|
export { MPSeekCommandEventType } from "./MPSeekCommandEventType.js";
|
|
173
173
|
export { MPShuffleType } from "./MPShuffleType.js";
|
|
174
|
+
export * from "./functions.js";
|
|
@@ -67,3 +67,4 @@ export { MPRemoteCommandHandlerStatus } from "./MPRemoteCommandHandlerStatus.js"
|
|
|
67
67
|
export { MPRepeatType } from "./MPRepeatType.js";
|
|
68
68
|
export { MPSeekCommandEventType } from "./MPSeekCommandEventType.js";
|
|
69
69
|
export { MPShuffleType } from "./MPShuffleType.js";
|
|
70
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
import type { _MTLDevice } from "./MTLDevice.js";
|
|
3
|
+
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
4
|
+
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
5
|
+
import type { MTLIOCompressionMethod } from "./MTLIOCompressionMethod.js";
|
|
6
|
+
import type { MTLIOCompressionStatus } from "./MTLIOCompressionStatus.js";
|
|
7
|
+
export declare function MTLCopyAllDevices(): _NSArray;
|
|
8
|
+
export declare function MTLCopyAllDevicesWithObserver(observer: NobjcObject | null, handler: NobjcObject): _NSArray;
|
|
9
|
+
export declare function MTLCreateSystemDefaultDevice(): _MTLDevice | null;
|
|
10
|
+
export declare function MTLIOCompressionContextAppendData(context: NobjcObject, data: Uint8Array, size: number): void;
|
|
11
|
+
export declare function MTLIOCompressionContextDefaultChunkSize(): number;
|
|
12
|
+
export declare function MTLIOCreateCompressionContext(path: string, type: MTLIOCompressionMethod, chunkSize: number): NobjcObject | null;
|
|
13
|
+
export declare function MTLIOFlushAndDestroyCompressionContext(context: NobjcObject): MTLIOCompressionStatus;
|
|
14
|
+
export declare function MTLRemoveDeviceObserver(observer: _NSObject): void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function MTLCopyAllDevices() {
|
|
4
|
+
return callFunction("MTLCopyAllDevices", { returns: "@" });
|
|
5
|
+
}
|
|
6
|
+
export function MTLCopyAllDevicesWithObserver(observer, handler) {
|
|
7
|
+
return callFunction("MTLCopyAllDevicesWithObserver", { returns: "@" }, observer, handler);
|
|
8
|
+
}
|
|
9
|
+
export function MTLCreateSystemDefaultDevice() {
|
|
10
|
+
return callFunction("MTLCreateSystemDefaultDevice", { returns: "@" });
|
|
11
|
+
}
|
|
12
|
+
export function MTLIOCompressionContextAppendData(context, data, size) {
|
|
13
|
+
callFunction("MTLIOCompressionContextAppendData", { args: ["^v", "^v", "Q"] }, context, data, size);
|
|
14
|
+
}
|
|
15
|
+
export function MTLIOCompressionContextDefaultChunkSize() {
|
|
16
|
+
return callFunction("MTLIOCompressionContextDefaultChunkSize", { returns: "Q" });
|
|
17
|
+
}
|
|
18
|
+
export function MTLIOCreateCompressionContext(path, type, chunkSize) {
|
|
19
|
+
return callFunction("MTLIOCreateCompressionContext", { returns: "^v", args: ["*", "q", "Q"] }, path, type, chunkSize);
|
|
20
|
+
}
|
|
21
|
+
export function MTLIOFlushAndDestroyCompressionContext(context) {
|
|
22
|
+
return callFunction("MTLIOFlushAndDestroyCompressionContext", { returns: "q", args: ["^v"] }, context);
|
|
23
|
+
}
|
|
24
|
+
export function MTLRemoveDeviceObserver(observer) {
|
|
25
|
+
callFunction("MTLRemoveDeviceObserver", undefined, observer);
|
|
26
|
+
}
|
package/dist/Metal/index.d.ts
CHANGED
|
@@ -728,3 +728,4 @@ export { MTLVisibilityResultMode } from "./MTLVisibilityResultMode.js";
|
|
|
728
728
|
export { MTLVisibilityResultType } from "./MTLVisibilityResultType.js";
|
|
729
729
|
export { MTLWinding } from "./MTLWinding.js";
|
|
730
730
|
export { MTLDeviceNotificationName } from "./MTLDeviceNotificationName.js";
|
|
731
|
+
export * from "./functions.js";
|
package/dist/Metal/index.js
CHANGED
|
@@ -276,3 +276,4 @@ export { MTLVisibilityResultMode } from "./MTLVisibilityResultMode.js";
|
|
|
276
276
|
export { MTLVisibilityResultType } from "./MTLVisibilityResultType.js";
|
|
277
277
|
export { MTLWinding } from "./MTLWinding.js";
|
|
278
278
|
export { MTLDeviceNotificationName } from "./MTLDeviceNotificationName.js";
|
|
279
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
import type { _MDLVertexDescriptor } from "../ModelIO/MDLVertexDescriptor.js";
|
|
3
|
+
import type { _MTLVertexDescriptor } from "../Metal/MTLVertexDescriptor.js";
|
|
4
|
+
import type { MDLVertexFormat } from "../ModelIO/MDLVertexFormat.js";
|
|
5
|
+
import type { MTLVertexFormat } from "../Metal/MTLVertexFormat.js";
|
|
6
|
+
export declare function MTKMetalVertexDescriptorFromModelIO(modelIODescriptor: _MDLVertexDescriptor): _MTLVertexDescriptor | null;
|
|
7
|
+
export declare function MTKMetalVertexDescriptorFromModelIOWithError(modelIODescriptor: _MDLVertexDescriptor, error: NobjcObject | null): _MTLVertexDescriptor | null;
|
|
8
|
+
export declare function MTKMetalVertexFormatFromModelIO(vertexFormat: MDLVertexFormat): MTLVertexFormat;
|
|
9
|
+
export declare function MTKModelIOVertexDescriptorFromMetal(metalDescriptor: _MTLVertexDescriptor): _MDLVertexDescriptor;
|
|
10
|
+
export declare function MTKModelIOVertexDescriptorFromMetalWithError(metalDescriptor: _MTLVertexDescriptor, error: NobjcObject | null): _MDLVertexDescriptor;
|
|
11
|
+
export declare function MTKModelIOVertexFormatFromMetal(vertexFormat: MTLVertexFormat): MDLVertexFormat;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function MTKMetalVertexDescriptorFromModelIO(modelIODescriptor) {
|
|
4
|
+
return callFunction("MTKMetalVertexDescriptorFromModelIO", { returns: "@" }, modelIODescriptor);
|
|
5
|
+
}
|
|
6
|
+
export function MTKMetalVertexDescriptorFromModelIOWithError(modelIODescriptor, error) {
|
|
7
|
+
return callFunction("MTKMetalVertexDescriptorFromModelIOWithError", { returns: "@" }, modelIODescriptor, error);
|
|
8
|
+
}
|
|
9
|
+
export function MTKMetalVertexFormatFromModelIO(vertexFormat) {
|
|
10
|
+
return callFunction("MTKMetalVertexFormatFromModelIO", { returns: "q", args: ["q"] }, vertexFormat);
|
|
11
|
+
}
|
|
12
|
+
export function MTKModelIOVertexDescriptorFromMetal(metalDescriptor) {
|
|
13
|
+
return callFunction("MTKModelIOVertexDescriptorFromMetal", { returns: "@" }, metalDescriptor);
|
|
14
|
+
}
|
|
15
|
+
export function MTKModelIOVertexDescriptorFromMetalWithError(metalDescriptor, error) {
|
|
16
|
+
return callFunction("MTKModelIOVertexDescriptorFromMetalWithError", { returns: "@" }, metalDescriptor, error);
|
|
17
|
+
}
|
|
18
|
+
export function MTKModelIOVertexFormatFromMetal(vertexFormat) {
|
|
19
|
+
return callFunction("MTKModelIOVertexFormatFromMetal", { returns: "q", args: ["q"] }, vertexFormat);
|
|
20
|
+
}
|
package/dist/MetalKit/index.d.ts
CHANGED
|
@@ -25,3 +25,4 @@ export { MTKTextureLoaderCubeLayout } from "./MTKTextureLoaderCubeLayout.js";
|
|
|
25
25
|
export { MTKTextureLoaderError } from "./MTKTextureLoaderError.js";
|
|
26
26
|
export { MTKTextureLoaderOption } from "./MTKTextureLoaderOption.js";
|
|
27
27
|
export { MTKTextureLoaderOrigin } from "./MTKTextureLoaderOrigin.js";
|
|
28
|
+
export * from "./functions.js";
|
package/dist/MetalKit/index.js
CHANGED
|
@@ -13,3 +13,4 @@ export { MTKTextureLoaderCubeLayout } from "./MTKTextureLoaderCubeLayout.js";
|
|
|
13
13
|
export { MTKTextureLoaderError } from "./MTKTextureLoaderError.js";
|
|
14
14
|
export { MTKTextureLoaderOption } from "./MTKTextureLoaderOption.js";
|
|
15
15
|
export { MTKTextureLoaderOrigin } from "./MTKTextureLoaderOrigin.js";
|
|
16
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { _MTLCommandBuffer } from "../Metal/MTLCommandBuffer.js";
|
|
2
|
+
import type { _MTLDevice } from "../Metal/MTLDevice.js";
|
|
3
|
+
import type { MPSDeviceOptions } from "./MPSDeviceOptions.js";
|
|
4
|
+
export declare function MPSGetPreferredDevice(options: MPSDeviceOptions): _MTLDevice | null;
|
|
5
|
+
export declare function MPSHintTemporaryMemoryHighWaterMark(cmdBuf: _MTLCommandBuffer, bytes: number): void;
|
|
6
|
+
export declare function MPSSetHeapCacheDuration(cmdBuf: _MTLCommandBuffer, seconds: number): void;
|
|
7
|
+
export declare function MPSSupportsMTLDevice(device: _MTLDevice | null): boolean;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function MPSGetPreferredDevice(options) {
|
|
4
|
+
return callFunction("MPSGetPreferredDevice", { returns: "@", args: ["q"] }, options);
|
|
5
|
+
}
|
|
6
|
+
export function MPSHintTemporaryMemoryHighWaterMark(cmdBuf, bytes) {
|
|
7
|
+
callFunction("MPSHintTemporaryMemoryHighWaterMark", { args: ["@", "Q"] }, cmdBuf, bytes);
|
|
8
|
+
}
|
|
9
|
+
export function MPSSetHeapCacheDuration(cmdBuf, seconds) {
|
|
10
|
+
callFunction("MPSSetHeapCacheDuration", { args: ["@", "d"] }, cmdBuf, seconds);
|
|
11
|
+
}
|
|
12
|
+
export function MPSSupportsMTLDevice(device) {
|
|
13
|
+
return callFunction("MPSSupportsMTLDevice", { returns: "B" }, device);
|
|
14
|
+
}
|
|
@@ -4,3 +4,4 @@ export const MetalPerformanceShaders = new NobjcLibrary("/System/Library/Framewo
|
|
|
4
4
|
export { MPSDeviceOptions } from "./MPSDeviceOptions.js";
|
|
5
5
|
export { MPSImageEdgeMode } from "./MPSImageEdgeMode.js";
|
|
6
6
|
export { MPSKernelOptions } from "./MPSKernelOptions.js";
|
|
7
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function NIAlgorithmConvergenceStatusReasonDescription(reason) {
|
|
4
|
+
return callFunction("NIAlgorithmConvergenceStatusReasonDescription", { returns: "@" }, reason);
|
|
5
|
+
}
|
|
@@ -37,3 +37,4 @@ export { NIDLTDOAMeasurementType } from "./NIDLTDOAMeasurementType.js";
|
|
|
37
37
|
export { NINearbyObjectRemovalReason } from "./NINearbyObjectRemovalReason.js";
|
|
38
38
|
export { NINearbyObjectVerticalDirectionEstimate } from "./NINearbyObjectVerticalDirectionEstimate.js";
|
|
39
39
|
export { NIAlgorithmConvergenceStatusReason } from "./NIAlgorithmConvergenceStatusReason.js";
|
|
40
|
+
export * from "./functions.js";
|
|
@@ -17,3 +17,4 @@ export { NIDLTDOAMeasurementType } from "./NIDLTDOAMeasurementType.js";
|
|
|
17
17
|
export { NINearbyObjectRemovalReason } from "./NINearbyObjectRemovalReason.js";
|
|
18
18
|
export { NINearbyObjectVerticalDirectionEstimate } from "./NINearbyObjectVerticalDirectionEstimate.js";
|
|
19
19
|
export { NIAlgorithmConvergenceStatusReason } from "./NIAlgorithmConvergenceStatusReason.js";
|
|
20
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { _PGDevice } from "./PGDevice.js";
|
|
2
|
+
import type { _PGDeviceDescriptor } from "./PGDeviceDescriptor.js";
|
|
3
|
+
import type { _NSURL } from "../Foundation/NSURL.js";
|
|
4
|
+
export declare function PGCopyOptionROMURL(): _NSURL;
|
|
5
|
+
export declare function PGCreateDeviceWithDescriptor(descriptor: _PGDeviceDescriptor): _PGDevice | null;
|
|
6
|
+
export declare function PGMaxDisplayPortCount(): number;
|
|
7
|
+
export declare function PGNewDeviceWithDescriptor(descriptor: _PGDeviceDescriptor): _PGDevice | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function PGCopyOptionROMURL() {
|
|
4
|
+
return callFunction("PGCopyOptionROMURL", { returns: "@" });
|
|
5
|
+
}
|
|
6
|
+
export function PGCreateDeviceWithDescriptor(descriptor) {
|
|
7
|
+
return callFunction("PGCreateDeviceWithDescriptor", { returns: "@" }, descriptor);
|
|
8
|
+
}
|
|
9
|
+
export function PGMaxDisplayPortCount() {
|
|
10
|
+
return callFunction("PGMaxDisplayPortCount", { returns: "I" });
|
|
11
|
+
}
|
|
12
|
+
export function PGNewDeviceWithDescriptor(descriptor) {
|
|
13
|
+
return callFunction("PGNewDeviceWithDescriptor", { returns: "@" }, descriptor);
|
|
14
|
+
}
|
|
@@ -6,3 +6,4 @@ export const PGDeviceDescriptor = _bindClass(ParavirtualizedGraphics, "PGDeviceD
|
|
|
6
6
|
export const PGDisplayDescriptor = _bindClass(ParavirtualizedGraphics, "PGDisplayDescriptor");
|
|
7
7
|
export const PGDisplayMode = _bindClass(ParavirtualizedGraphics, "PGDisplayMode");
|
|
8
8
|
export { PGResumeErrorCode } from "./PGResumeErrorCode.js";
|
|
9
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { CAFrameRateRange } from "../structs/CAFrameRateRange.js";
|
|
2
|
+
import type { CATransform3D } from "../structs/CATransform3D.js";
|
|
3
|
+
import type { CGAffineTransform } from "../structs/CGAffineTransform.js";
|
|
4
|
+
export declare function CACurrentMediaTime(): number;
|
|
5
|
+
export declare function CAFrameRateRangeIsEqualToRange(range: CAFrameRateRange, other: CAFrameRateRange): boolean;
|
|
6
|
+
export declare function CAFrameRateRangeMake(minimum: number, maximum: number, preferred: number): CAFrameRateRange;
|
|
7
|
+
export declare function CATransform3DConcat(a: CATransform3D, b: CATransform3D): CATransform3D;
|
|
8
|
+
export declare function CATransform3DEqualToTransform(a: CATransform3D, b: CATransform3D): boolean;
|
|
9
|
+
export declare function CATransform3DGetAffineTransform(t: CATransform3D): CGAffineTransform;
|
|
10
|
+
export declare function CATransform3DInvert(t: CATransform3D): CATransform3D;
|
|
11
|
+
export declare function CATransform3DIsAffine(t: CATransform3D): boolean;
|
|
12
|
+
export declare function CATransform3DIsIdentity(t: CATransform3D): boolean;
|
|
13
|
+
export declare function CATransform3DMakeAffineTransform(m: CGAffineTransform): CATransform3D;
|
|
14
|
+
export declare function CATransform3DMakeRotation(angle: number, x: number, y: number, z: number): CATransform3D;
|
|
15
|
+
export declare function CATransform3DMakeScale(sx: number, sy: number, sz: number): CATransform3D;
|
|
16
|
+
export declare function CATransform3DMakeTranslation(tx: number, ty: number, tz: number): CATransform3D;
|
|
17
|
+
export declare function CATransform3DRotate(t: CATransform3D, angle: number, x: number, y: number, z: number): CATransform3D;
|
|
18
|
+
export declare function CATransform3DScale(t: CATransform3D, sx: number, sy: number, sz: number): CATransform3D;
|
|
19
|
+
export declare function CATransform3DTranslate(t: CATransform3D, tx: number, ty: number, tz: number): CATransform3D;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function CACurrentMediaTime() {
|
|
4
|
+
return callFunction("CACurrentMediaTime", { returns: "d" });
|
|
5
|
+
}
|
|
6
|
+
export function CAFrameRateRangeIsEqualToRange(range, other) {
|
|
7
|
+
return callFunction("CAFrameRateRangeIsEqualToRange", { returns: "B", args: ["{CAFrameRateRange}", "{CAFrameRateRange}"] }, range, other);
|
|
8
|
+
}
|
|
9
|
+
export function CAFrameRateRangeMake(minimum, maximum, preferred) {
|
|
10
|
+
return callFunction("CAFrameRateRangeMake", { returns: "{CAFrameRateRange}", args: ["f", "f", "f"] }, minimum, maximum, preferred);
|
|
11
|
+
}
|
|
12
|
+
export function CATransform3DConcat(a, b) {
|
|
13
|
+
return callFunction("CATransform3DConcat", { returns: "{CATransform3D}", args: ["{CATransform3D}", "{CATransform3D}"] }, a, b);
|
|
14
|
+
}
|
|
15
|
+
export function CATransform3DEqualToTransform(a, b) {
|
|
16
|
+
return callFunction("CATransform3DEqualToTransform", { returns: "B", args: ["{CATransform3D}", "{CATransform3D}"] }, a, b);
|
|
17
|
+
}
|
|
18
|
+
export function CATransform3DGetAffineTransform(t) {
|
|
19
|
+
return callFunction("CATransform3DGetAffineTransform", { returns: "{CGAffineTransform}", args: ["{CATransform3D}"] }, t);
|
|
20
|
+
}
|
|
21
|
+
export function CATransform3DInvert(t) {
|
|
22
|
+
return callFunction("CATransform3DInvert", { returns: "{CATransform3D}", args: ["{CATransform3D}"] }, t);
|
|
23
|
+
}
|
|
24
|
+
export function CATransform3DIsAffine(t) {
|
|
25
|
+
return callFunction("CATransform3DIsAffine", { returns: "B", args: ["{CATransform3D}"] }, t);
|
|
26
|
+
}
|
|
27
|
+
export function CATransform3DIsIdentity(t) {
|
|
28
|
+
return callFunction("CATransform3DIsIdentity", { returns: "B", args: ["{CATransform3D}"] }, t);
|
|
29
|
+
}
|
|
30
|
+
export function CATransform3DMakeAffineTransform(m) {
|
|
31
|
+
return callFunction("CATransform3DMakeAffineTransform", { returns: "{CATransform3D}", args: ["{CGAffineTransform}"] }, m);
|
|
32
|
+
}
|
|
33
|
+
export function CATransform3DMakeRotation(angle, x, y, z) {
|
|
34
|
+
return callFunction("CATransform3DMakeRotation", { returns: "{CATransform3D}", args: ["d", "d", "d", "d"] }, angle, x, y, z);
|
|
35
|
+
}
|
|
36
|
+
export function CATransform3DMakeScale(sx, sy, sz) {
|
|
37
|
+
return callFunction("CATransform3DMakeScale", { returns: "{CATransform3D}", args: ["d", "d", "d"] }, sx, sy, sz);
|
|
38
|
+
}
|
|
39
|
+
export function CATransform3DMakeTranslation(tx, ty, tz) {
|
|
40
|
+
return callFunction("CATransform3DMakeTranslation", { returns: "{CATransform3D}", args: ["d", "d", "d"] }, tx, ty, tz);
|
|
41
|
+
}
|
|
42
|
+
export function CATransform3DRotate(t, angle, x, y, z) {
|
|
43
|
+
return callFunction("CATransform3DRotate", { returns: "{CATransform3D}", args: ["{CATransform3D}", "d", "d", "d", "d"] }, t, angle, x, y, z);
|
|
44
|
+
}
|
|
45
|
+
export function CATransform3DScale(t, sx, sy, sz) {
|
|
46
|
+
return callFunction("CATransform3DScale", { returns: "{CATransform3D}", args: ["{CATransform3D}", "d", "d", "d"] }, t, sx, sy, sz);
|
|
47
|
+
}
|
|
48
|
+
export function CATransform3DTranslate(t, tx, ty, tz) {
|
|
49
|
+
return callFunction("CATransform3DTranslate", { returns: "{CATransform3D}", args: ["{CATransform3D}", "d", "d", "d"] }, t, tx, ty, tz);
|
|
50
|
+
}
|
|
@@ -132,3 +132,4 @@ export { CAToneMapMode } from "./CAToneMapMode.js";
|
|
|
132
132
|
export { CATransitionSubtype } from "./CATransitionSubtype.js";
|
|
133
133
|
export { CATransitionType } from "./CATransitionType.js";
|
|
134
134
|
export { CAValueFunctionName } from "./CAValueFunctionName.js";
|
|
135
|
+
export * from "./functions.js";
|
package/dist/QuartzCore/index.js
CHANGED
|
@@ -58,3 +58,4 @@ export { CAToneMapMode } from "./CAToneMapMode.js";
|
|
|
58
58
|
export { CATransitionSubtype } from "./CATransitionSubtype.js";
|
|
59
59
|
export { CATransitionType } from "./CATransitionType.js";
|
|
60
60
|
export { CAValueFunctionName } from "./CAValueFunctionName.js";
|
|
61
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
import type { _JSContext } from "../JavaScriptCore/JSContext.js";
|
|
3
|
+
import type { CATransform3D } from "../structs/CATransform3D.js";
|
|
4
|
+
import type { SCNVector3 } from "../structs/SCNVector3.js";
|
|
5
|
+
import type { SCNVector4 } from "../structs/SCNVector4.js";
|
|
6
|
+
export declare function SCNExportJavaScriptModule(context: _JSContext): void;
|
|
7
|
+
export declare function SCNMatrix4EqualToMatrix4(a: CATransform3D, b: CATransform3D): boolean;
|
|
8
|
+
export declare function SCNMatrix4FromGLKMatrix4(mat: NobjcObject): CATransform3D;
|
|
9
|
+
export declare function SCNMatrix4Invert(m: CATransform3D): CATransform3D;
|
|
10
|
+
export declare function SCNMatrix4IsIdentity(m: CATransform3D): boolean;
|
|
11
|
+
export declare function SCNMatrix4MakeRotation(angle: number, x: number, y: number, z: number): CATransform3D;
|
|
12
|
+
export declare function SCNMatrix4Mult(a: CATransform3D, b: CATransform3D): CATransform3D;
|
|
13
|
+
export declare function SCNMatrix4Rotate(m: CATransform3D, angle: number, x: number, y: number, z: number): CATransform3D;
|
|
14
|
+
export declare function SCNMatrix4Scale(m: CATransform3D, sx: number, sy: number, sz: number): CATransform3D;
|
|
15
|
+
export declare function SCNMatrix4ToGLKMatrix4(mat: CATransform3D): NobjcObject;
|
|
16
|
+
export declare function SCNVector3EqualToVector3(a: SCNVector3, b: SCNVector3): boolean;
|
|
17
|
+
export declare function SCNVector4EqualToVector4(a: SCNVector4, b: SCNVector4): boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function SCNExportJavaScriptModule(context) {
|
|
4
|
+
callFunction("SCNExportJavaScriptModule", undefined, context);
|
|
5
|
+
}
|
|
6
|
+
export function SCNMatrix4EqualToMatrix4(a, b) {
|
|
7
|
+
return callFunction("SCNMatrix4EqualToMatrix4", { returns: "B", args: ["{SCNMatrix4}", "{SCNMatrix4}"] }, a, b);
|
|
8
|
+
}
|
|
9
|
+
export function SCNMatrix4FromGLKMatrix4(mat) {
|
|
10
|
+
return callFunction("SCNMatrix4FromGLKMatrix4", { returns: "{SCNMatrix4}" }, mat);
|
|
11
|
+
}
|
|
12
|
+
export function SCNMatrix4Invert(m) {
|
|
13
|
+
return callFunction("SCNMatrix4Invert", { returns: "{SCNMatrix4}", args: ["{SCNMatrix4}"] }, m);
|
|
14
|
+
}
|
|
15
|
+
export function SCNMatrix4IsIdentity(m) {
|
|
16
|
+
return callFunction("SCNMatrix4IsIdentity", { returns: "B", args: ["{SCNMatrix4}"] }, m);
|
|
17
|
+
}
|
|
18
|
+
export function SCNMatrix4MakeRotation(angle, x, y, z) {
|
|
19
|
+
return callFunction("SCNMatrix4MakeRotation", { returns: "{SCNMatrix4}", args: ["d", "d", "d", "d"] }, angle, x, y, z);
|
|
20
|
+
}
|
|
21
|
+
export function SCNMatrix4Mult(a, b) {
|
|
22
|
+
return callFunction("SCNMatrix4Mult", { returns: "{SCNMatrix4}", args: ["{SCNMatrix4}", "{SCNMatrix4}"] }, a, b);
|
|
23
|
+
}
|
|
24
|
+
export function SCNMatrix4Rotate(m, angle, x, y, z) {
|
|
25
|
+
return callFunction("SCNMatrix4Rotate", { returns: "{SCNMatrix4}", args: ["{SCNMatrix4}", "d", "d", "d", "d"] }, m, angle, x, y, z);
|
|
26
|
+
}
|
|
27
|
+
export function SCNMatrix4Scale(m, sx, sy, sz) {
|
|
28
|
+
return callFunction("SCNMatrix4Scale", { returns: "{SCNMatrix4}", args: ["{SCNMatrix4}", "d", "d", "d"] }, m, sx, sy, sz);
|
|
29
|
+
}
|
|
30
|
+
export function SCNMatrix4ToGLKMatrix4(mat) {
|
|
31
|
+
return callFunction("SCNMatrix4ToGLKMatrix4", { returns: "@", args: ["{SCNMatrix4}"] }, mat);
|
|
32
|
+
}
|
|
33
|
+
export function SCNVector3EqualToVector3(a, b) {
|
|
34
|
+
return callFunction("SCNVector3EqualToVector3", { returns: "B", args: ["{SCNVector3}", "{SCNVector3}"] }, a, b);
|
|
35
|
+
}
|
|
36
|
+
export function SCNVector4EqualToVector4(a, b) {
|
|
37
|
+
return callFunction("SCNVector4EqualToVector4", { returns: "B", args: ["{SCNVector4}", "{SCNVector4}"] }, a, b);
|
|
38
|
+
}
|
package/dist/SceneKit/index.d.ts
CHANGED
|
@@ -281,3 +281,4 @@ export { SCNSceneSourceAnimationImportPolicy } from "./SCNSceneSourceAnimationIm
|
|
|
281
281
|
export { SCNSceneSourceLoadingOption } from "./SCNSceneSourceLoadingOption.js";
|
|
282
282
|
export { SCNShaderModifierEntryPoint } from "./SCNShaderModifierEntryPoint.js";
|
|
283
283
|
export { SCNViewOption } from "./SCNViewOption.js";
|
|
284
|
+
export * from "./functions.js";
|
package/dist/SceneKit/index.js
CHANGED
|
@@ -121,3 +121,4 @@ export { SCNSceneSourceAnimationImportPolicy } from "./SCNSceneSourceAnimationIm
|
|
|
121
121
|
export { SCNSceneSourceLoadingOption } from "./SCNSceneSourceLoadingOption.js";
|
|
122
122
|
export { SCNShaderModifierEntryPoint } from "./SCNShaderModifierEntryPoint.js";
|
|
123
123
|
export { SCNViewOption } from "./SCNViewOption.js";
|
|
124
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function SRAbsoluteTimeFromCFAbsoluteTime(cf: number): number;
|
|
2
|
+
export declare function SRAbsoluteTimeFromContinuousTime(cont: number): number;
|
|
3
|
+
export declare function SRAbsoluteTimeGetCurrent(): number;
|
|
4
|
+
export declare function SRAbsoluteTimeToCFAbsoluteTime(sr: number): number;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function SRAbsoluteTimeFromCFAbsoluteTime(cf) {
|
|
4
|
+
return callFunction("SRAbsoluteTimeFromCFAbsoluteTime", { returns: "d", args: ["d"] }, cf);
|
|
5
|
+
}
|
|
6
|
+
export function SRAbsoluteTimeFromContinuousTime(cont) {
|
|
7
|
+
return callFunction("SRAbsoluteTimeFromContinuousTime", { returns: "d", args: ["Q"] }, cont);
|
|
8
|
+
}
|
|
9
|
+
export function SRAbsoluteTimeGetCurrent() {
|
|
10
|
+
return callFunction("SRAbsoluteTimeGetCurrent", { returns: "d" });
|
|
11
|
+
}
|
|
12
|
+
export function SRAbsoluteTimeToCFAbsoluteTime(sr) {
|
|
13
|
+
return callFunction("SRAbsoluteTimeToCFAbsoluteTime", { returns: "d", args: ["d"] }, sr);
|
|
14
|
+
}
|
|
@@ -142,3 +142,4 @@ export { SRDeviceUsageCategoryKey } from "./SRDeviceUsageCategoryKey.js";
|
|
|
142
142
|
export { SRPhotoplethysmogramOpticalSampleCondition } from "./SRPhotoplethysmogramOpticalSampleCondition.js";
|
|
143
143
|
export { SRPhotoplethysmogramSampleUsage } from "./SRPhotoplethysmogramSampleUsage.js";
|
|
144
144
|
export { SRSensor } from "./SRSensor.js";
|
|
145
|
+
export * from "./functions.js";
|
package/dist/SensorKit/index.js
CHANGED
|
@@ -66,3 +66,4 @@ export { SRDeviceUsageCategoryKey } from "./SRDeviceUsageCategoryKey.js";
|
|
|
66
66
|
export { SRPhotoplethysmogramOpticalSampleCondition } from "./SRPhotoplethysmogramOpticalSampleCondition.js";
|
|
67
67
|
export { SRPhotoplethysmogramSampleUsage } from "./SRPhotoplethysmogramSampleUsage.js";
|
|
68
68
|
export { SRSensor } from "./SRSensor.js";
|
|
69
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
export declare function SMCopyAllJobDictionaries(domain: Uint8Array): NobjcObject;
|
|
3
|
+
export declare function SMJobBless(domain: Uint8Array, executableLabel: Uint8Array, auth: NobjcObject, outError: NobjcObject): NobjcObject;
|
|
4
|
+
export declare function SMJobCopyDictionary(domain: Uint8Array, jobLabel: Uint8Array): NobjcObject;
|
|
5
|
+
export declare function SMJobRemove(domain: Uint8Array, jobLabel: Uint8Array, auth: NobjcObject, wait: NobjcObject, outError: NobjcObject): NobjcObject;
|
|
6
|
+
export declare function SMJobSubmit(domain: Uint8Array, job: NobjcObject, auth: NobjcObject, outError: NobjcObject): NobjcObject;
|
|
7
|
+
export declare function SMLoginItemSetEnabled(identifier: Uint8Array, enabled: NobjcObject): NobjcObject;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function SMCopyAllJobDictionaries(domain) {
|
|
4
|
+
return callFunction("SMCopyAllJobDictionaries", { returns: "@", args: ["^"] }, domain);
|
|
5
|
+
}
|
|
6
|
+
export function SMJobBless(domain, executableLabel, auth, outError) {
|
|
7
|
+
return callFunction("SMJobBless", { returns: "C", args: ["^", "^", "@", "@"] }, domain, executableLabel, auth, outError);
|
|
8
|
+
}
|
|
9
|
+
export function SMJobCopyDictionary(domain, jobLabel) {
|
|
10
|
+
return callFunction("SMJobCopyDictionary", { returns: "@", args: ["^", "^"] }, domain, jobLabel);
|
|
11
|
+
}
|
|
12
|
+
export function SMJobRemove(domain, jobLabel, auth, wait, outError) {
|
|
13
|
+
return callFunction("SMJobRemove", { returns: "C", args: ["^", "^", "@", "C", "@"] }, domain, jobLabel, auth, wait, outError);
|
|
14
|
+
}
|
|
15
|
+
export function SMJobSubmit(domain, job, auth, outError) {
|
|
16
|
+
return callFunction("SMJobSubmit", { returns: "C", args: ["^", "@", "@", "@"] }, domain, job, auth, outError);
|
|
17
|
+
}
|
|
18
|
+
export function SMLoginItemSetEnabled(identifier, enabled) {
|
|
19
|
+
return callFunction("SMLoginItemSetEnabled", { returns: "C", args: ["^", "C"] }, identifier, enabled);
|
|
20
|
+
}
|
|
@@ -4,3 +4,4 @@ import { _bindClass } from "../bind.js";
|
|
|
4
4
|
export const ServiceManagement = new NobjcLibrary("/System/Library/Frameworks/ServiceManagement.framework/ServiceManagement");
|
|
5
5
|
export const SMAppService = _bindClass(ServiceManagement, "SMAppService");
|
|
6
6
|
export { SMAppServiceStatus } from "./SMAppServiceStatus.js";
|
|
7
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SKTerminateForInvalidReceipt(): void;
|
package/dist/StoreKit/index.d.ts
CHANGED
|
@@ -109,3 +109,4 @@ export type { SKAdNetworkCoarseConversionValue } from "./SKAdNetworkCoarseConver
|
|
|
109
109
|
export type { SKCloudServiceSetupAction } from "./SKCloudServiceSetupAction.js";
|
|
110
110
|
export type { SKCloudServiceSetupMessageIdentifier } from "./SKCloudServiceSetupMessageIdentifier.js";
|
|
111
111
|
export type { SKCloudServiceSetupOptionsKey } from "./SKCloudServiceSetupOptionsKey.js";
|
|
112
|
+
export * from "./functions.js";
|
package/dist/StoreKit/index.js
CHANGED
|
@@ -37,3 +37,4 @@ export { SKPaymentTransactionState } from "./SKPaymentTransactionState.js";
|
|
|
37
37
|
export { SKProductDiscountPaymentMode } from "./SKProductDiscountPaymentMode.js";
|
|
38
38
|
export { SKProductDiscountType } from "./SKProductDiscountType.js";
|
|
39
39
|
export { SKProductPeriodUnit } from "./SKProductPeriodUnit.js";
|
|
40
|
+
export * from "./functions.js";
|