From be2c890e9667f4688d8956e72b9aecbb50f39b20 Mon Sep 17 00:00:00 2001 From: "Boris D." Date: Mon, 2 Sep 2024 16:24:04 -0700 Subject: [PATCH] Re-generate SpriteKit bindings. --- SpriteKit/IKLink.ml | 5 +- SpriteKit/SK3DNode.ml | 5 +- SpriteKit/SK3DNodeClass.ml | 5 - SpriteKit/SKAction.ml | 5 +- SpriteKit/SKActionClass.ml | 5 - SpriteKit/SKActionTable.ml | 5 +- SpriteKit/SKActionTableClass.ml | 5 - SpriteKit/SKAnalytics.ml | 16 ++ .../{IKLinkClass.ml => SKAnalyticsClass.ml} | 8 +- SpriteKit/SKAnimate.ml | 5 +- SpriteKit/SKAnimateClass.ml | 5 - SpriteKit/SKAnimateWarp.ml | 5 +- SpriteKit/SKAnimateWarpClass.ml | 5 - SpriteKit/SKAttribute.ml | 5 +- SpriteKit/SKAttributeClass.ml | 5 - SpriteKit/SKAttributeValue.ml | 5 +- SpriteKit/SKAttributeValueClass.ml | 5 - SpriteKit/SKAudioNode.ml | 5 +- SpriteKit/SKAudioNodeClass.ml | 5 - SpriteKit/SKBitmapFont.ml | 5 +- SpriteKit/SKBitmapFontClass.ml | 5 - SpriteKit/SKButtonNode.ml | 5 +- SpriteKit/SKButtonNodeClass.ml | 5 - SpriteKit/SKButtonNodeSprite.ml | 5 +- SpriteKit/SKButtonNodeSpriteClass.ml | 5 - SpriteKit/SKCameraNode.ml | 5 +- SpriteKit/SKCameraNodeClass.ml | 5 - SpriteKit/SKColorize.ml | 5 +- SpriteKit/SKColorizeClass.ml | 5 - SpriteKit/SKConstraint.ml | 5 +- SpriteKit/SKConstraintClass.ml | 5 - SpriteKit/SKCropNode.ml | 5 +- SpriteKit/SKCropNodeClass.ml | 5 - SpriteKit/SKCustomAction.ml | 5 +- SpriteKit/SKCustomActionClass.ml | 5 - SpriteKit/SKCustomFieldNode.ml | 5 +- SpriteKit/SKCustomFieldNodeClass.ml | 5 - SpriteKit/SKDisplayLink.ml | 5 +- SpriteKit/SKDisplayLinkClass.ml | 5 - SpriteKit/SKDistanceConstraint.ml | 5 +- SpriteKit/SKDistanceConstraintClass.ml | 5 - SpriteKit/SKDragFieldNode.ml | 5 +- SpriteKit/SKDragFieldNodeClass.ml | 5 - SpriteKit/SKEffectNode.ml | 5 +- SpriteKit/SKEffectNodeClass.ml | 5 - SpriteKit/SKElectricFieldNode.ml | 5 +- SpriteKit/SKElectricFieldNodeClass.ml | 5 - SpriteKit/SKEmitterNode.ml | 5 +- SpriteKit/SKEmitterNodeClass.ml | 5 - SpriteKit/SKFade.ml | 5 +- SpriteKit/SKFadeClass.ml | 5 - SpriteKit/SKFalloff.ml | 5 +- SpriteKit/SKFalloffClass.ml | 5 - SpriteKit/SKFieldNode.ml | 5 +- SpriteKit/SKFieldNodeClass.ml | 5 - SpriteKit/SKFollowPath.ml | 5 +- SpriteKit/SKFollowPathClass.ml | 5 - SpriteKit/SKFrameCaptureDelegate.ml | 16 ++ ...lass.ml => SKFrameCaptureDelegateClass.ml} | 8 +- SpriteKit/SKGroup.ml | 5 +- SpriteKit/SKGroupClass.ml | 5 - SpriteKit/SKHide.ml | 5 +- SpriteKit/SKHideClass.ml | 5 - SpriteKit/SKKeyedUnarchiver.ml | 16 ++ SpriteKit/SKKeyframeSequence.ml | 5 +- SpriteKit/SKKeyframeSequenceClass.ml | 5 - SpriteKit/SKLabelNode.ml | 5 +- SpriteKit/SKLabelNodeClass.ml | 5 - SpriteKit/SKLightNode.ml | 5 +- SpriteKit/SKLightNodeClass.ml | 5 - SpriteKit/SKLinearGravityFieldNode.ml | 5 +- SpriteKit/SKLinearGravityFieldNodeClass.ml | 5 - SpriteKit/SKMagneticFieldNode.ml | 5 +- SpriteKit/SKMagneticFieldNodeClass.ml | 5 - SpriteKit/SKMove.ml | 5 +- SpriteKit/SKMoveClass.ml | 5 - SpriteKit/SKMutableTexture.ml | 5 +- SpriteKit/SKMutableTextureClass.ml | 5 - SpriteKit/SKNode.ml | 5 +- SpriteKit/SKNodeClass.ml | 5 - SpriteKit/SKNodeCustomClassUnarchiver.ml | 16 ++ SpriteKit/SKNoiseFieldNode.ml | 5 +- SpriteKit/SKNoiseFieldNodeClass.ml | 5 - SpriteKit/SKOpenGLLayer.ml | 5 +- SpriteKit/SKOpenGLNode.ml | 5 +- SpriteKit/SKOpenGLNodeClass.ml | 5 - SpriteKit/SKOrientationConstraint.ml | 5 +- SpriteKit/SKOrientationConstraintClass.ml | 5 - SpriteKit/SKPerformSelector.ml | 5 +- SpriteKit/SKPerformSelectorClass.ml | 5 - SpriteKit/SKPhysicsBody.ml | 5 +- SpriteKit/SKPhysicsBodyClass.ml | 6 - SpriteKit/SKPhysicsContact.ml | 5 +- SpriteKit/SKPhysicsContactClass.ml | 18 -- SpriteKit/SKPhysicsGrid.ml | 5 +- SpriteKit/SKPhysicsGridClass.ml | 5 - SpriteKit/SKPhysicsJoint.ml | 5 +- SpriteKit/SKPhysicsJointClass.ml | 6 - SpriteKit/SKPhysicsJointLimit.ml | 16 ++ SpriteKit/SKPhysicsJointLimitClass.ml | 14 ++ SpriteKit/SKPhysicsJointPin.ml | 5 +- SpriteKit/SKPhysicsJointPinClass.ml | 6 - SpriteKit/SKPhysicsJointSliding.ml | 5 +- SpriteKit/SKPhysicsJointSlidingClass.ml | 6 - SpriteKit/SKPhysicsJointSpring.ml | 5 +- SpriteKit/SKPhysicsJointSpringClass.ml | 6 - SpriteKit/SKPhysicsWorld.ml | 5 +- SpriteKit/SKPhysicsWorldClass.ml | 6 - SpriteKit/SKPlaySound.ml | 5 +- SpriteKit/SKPlaySoundClass.ml | 5 - SpriteKit/SKPositionConstraint.ml | 5 +- SpriteKit/SKPositionConstraintClass.ml | 5 - SpriteKit/SKRadialGravityFieldNode.ml | 5 +- SpriteKit/SKRadialGravityFieldNodeClass.ml | 5 - SpriteKit/SKRange.ml | 5 +- SpriteKit/SKRangeClass.ml | 5 - SpriteKit/SKReach.ml | 5 +- SpriteKit/SKReachClass.ml | 5 - SpriteKit/SKReachConstraints.ml | 5 +- SpriteKit/SKReachConstraintsClass.ml | 5 - SpriteKit/SKReferenceNode.ml | 5 +- SpriteKit/SKReferenceNodeClass.ml | 5 - SpriteKit/SKReferencedAction.ml | 5 +- SpriteKit/SKReferencedActionClass.ml | 5 - SpriteKit/SKRegion.ml | 5 +- SpriteKit/SKRegionClass.ml | 5 - SpriteKit/SKRemove.ml | 5 +- SpriteKit/SKRemoveClass.ml | 5 - SpriteKit/SKRenderer.ml | 5 +- SpriteKit/SKRendererClass.ml | 5 - SpriteKit/SKRepeat.ml | 5 +- SpriteKit/SKRepeatClass.ml | 5 - SpriteKit/SKResize.ml | 5 +- SpriteKit/SKResizeClass.ml | 5 - SpriteKit/SKRotate.ml | 5 +- SpriteKit/SKRotateClass.ml | 5 - SpriteKit/SKRotationConstraint.ml | 5 +- SpriteKit/SKRotationConstraintClass.ml | 5 - SpriteKit/SKRunAction.ml | 5 +- SpriteKit/SKRunActionClass.ml | 5 - SpriteKit/SKRunBlock.ml | 5 +- SpriteKit/SKRunBlockClass.ml | 5 - SpriteKit/SKSCNRenderer.ml | 5 +- SpriteKit/SKSCNRendererClass.ml | 5 - SpriteKit/SKScale.ml | 5 +- SpriteKit/SKScaleClass.ml | 5 - SpriteKit/SKScaleConstraint.ml | 5 +- SpriteKit/SKScaleConstraintClass.ml | 5 - SpriteKit/SKScene.ml | 5 +- SpriteKit/SKSceneClass.ml | 5 - SpriteKit/SKSceneUnarchiveDummy.ml | 16 ++ ...Class.ml => SKSceneUnarchiveDummyClass.ml} | 8 +- SpriteKit/SKSequence.ml | 5 +- SpriteKit/SKSequenceClass.ml | 5 - SpriteKit/SKShader.ml | 5 +- SpriteKit/SKShaderClass.ml | 5 - SpriteKit/SKShapeNode.ml | 5 +- SpriteKit/SKShapeNodeClass.ml | 5 - SpriteKit/SKSizeConstraint.ml | 5 +- SpriteKit/SKSizeConstraintClass.ml | 5 - SpriteKit/SKSoundBuffer.ml | 5 +- SpriteKit/SKSoundBufferClass.ml | 5 - SpriteKit/SKSoundContext.ml | 5 +- SpriteKit/SKSoundContextClass.ml | 5 - SpriteKit/SKSoundSource.ml | 5 +- SpriteKit/SKSoundSourceClass.ml | 5 - SpriteKit/SKSpeed.ml | 5 +- SpriteKit/SKSpeedClass.ml | 5 - SpriteKit/SKSpringFieldNode.ml | 5 +- SpriteKit/SKSpringFieldNodeClass.ml | 5 - SpriteKit/SKSpriteNode.ml | 5 +- SpriteKit/SKSpriteNodeClass.ml | 5 - SpriteKit/SKStrength.ml | 5 +- SpriteKit/SKStrengthClass.ml | 5 - SpriteKit/SKTexture.ml | 9 +- SpriteKit/SKTextureAtlas.ml | 5 +- SpriteKit/SKTextureAtlasClass.ml | 5 - SpriteKit/SKTextureAtlasPacker.ml | 7 +- SpriteKit/SKTextureAtlasPackerClass.ml | 5 - SpriteKit/SKTextureCache.ml | 8 +- SpriteKit/SKTextureCacheClass.ml | 17 -- SpriteKit/SKTextureClass.ml | 5 - SpriteKit/SKThreadSafeMapTable.ml | 5 +- SpriteKit/SKThreadSafeMapTableClass.ml | 5 - SpriteKit/SKThreadSafeMutableArray.ml | 5 +- SpriteKit/SKThreadSafeMutableArrayClass.ml | 17 -- SpriteKit/SKThreadSafeMutableDictionary.ml | 5 +- .../SKThreadSafeMutableDictionaryClass.ml | 17 -- SpriteKit/SKTileDefinition.ml | 5 +- SpriteKit/SKTileDefinitionClass.ml | 5 - SpriteKit/SKTileGroup.ml | 5 +- SpriteKit/SKTileGroupClass.ml | 5 - SpriteKit/SKTileGroupRule.ml | 5 +- SpriteKit/SKTileGroupRuleClass.ml | 5 - SpriteKit/SKTileMapNode.ml | 5 +- SpriteKit/SKTileMapNodeClass.ml | 5 - SpriteKit/SKTileSet.ml | 5 +- SpriteKit/SKTileSetClass.ml | 5 - SpriteKit/SKTileStamp.ml | 5 +- SpriteKit/SKTileStampClass.ml | 5 - SpriteKit/SKTransformNode.ml | 5 +- SpriteKit/SKTransition.ml | 5 +- SpriteKit/SKTransitionClass.ml | 5 - SpriteKit/SKTurbulenceFieldNode.ml | 5 +- SpriteKit/SKTurbulenceFieldNodeClass.ml | 5 - SpriteKit/SKUniform.ml | 5 +- SpriteKit/SKUniformClass.ml | 5 - SpriteKit/SKUniformInfo.ml | 5 +- SpriteKit/SKUniformInfoClass.ml | 17 -- SpriteKit/SKUniformShaderReference.ml | 16 ++ SpriteKit/SKVelocityFieldNode.ml | 5 +- SpriteKit/SKVelocityFieldNodeClass.ml | 5 - SpriteKit/SKVideoNode.ml | 5 +- SpriteKit/SKVideoNodeClass.ml | 5 - SpriteKit/SKView.ml | 6 +- SpriteKit/SKViewClass.ml | 5 - SpriteKit/SKVortexFieldNode.ml | 5 +- SpriteKit/SKVortexFieldNodeClass.ml | 5 - SpriteKit/SKWait.ml | 5 +- SpriteKit/SKWaitClass.ml | 5 - SpriteKit/SKWarpGeometry.ml | 5 +- SpriteKit/SKWarpGeometryClass.ml | 5 - SpriteKit/SKWarpGeometryGrid.ml | 5 +- SpriteKit/SKWarpGeometryGridClass.ml | 5 - SpriteKit/SpriteKit.ml | 221 ++++++++++++++++++ 225 files changed, 575 insertions(+), 938 deletions(-) create mode 100644 SpriteKit/SKAnalytics.ml rename SpriteKit/{IKLinkClass.ml => SKAnalyticsClass.ml} (58%) create mode 100644 SpriteKit/SKFrameCaptureDelegate.ml rename SpriteKit/{SKOpenGLLayerClass.ml => SKFrameCaptureDelegateClass.ml} (54%) create mode 100644 SpriteKit/SKKeyedUnarchiver.ml create mode 100644 SpriteKit/SKNodeCustomClassUnarchiver.ml delete mode 100644 SpriteKit/SKPhysicsContactClass.ml create mode 100644 SpriteKit/SKPhysicsJointLimit.ml create mode 100644 SpriteKit/SKPhysicsJointLimitClass.ml create mode 100644 SpriteKit/SKSceneUnarchiveDummy.ml rename SpriteKit/{SKTransformNodeClass.ml => SKSceneUnarchiveDummyClass.ml} (53%) delete mode 100644 SpriteKit/SKTextureCacheClass.ml delete mode 100644 SpriteKit/SKThreadSafeMutableArrayClass.ml delete mode 100644 SpriteKit/SKThreadSafeMutableDictionaryClass.ml delete mode 100644 SpriteKit/SKUniformInfoClass.ml create mode 100644 SpriteKit/SKUniformShaderReference.ml create mode 100644 SpriteKit/SpriteKit.ml diff --git a/SpriteKit/IKLink.ml b/SpriteKit/IKLink.ml index 1601014b..36269be4 100644 --- a/SpriteKit/IKLink.ml +++ b/SpriteKit/IKLink.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/iklink?language=objc}IKLink} *) +let self = get_class "IKLink" + let angle self = msg_send ~self ~cmd:(selector "angle") ~typ:(returning float) let angleInitial self = msg_send ~self ~cmd:(selector "angleInitial") ~typ:(returning float) let initWithNode x self = msg_send ~self ~cmd:(selector "initWithNode:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SK3DNode.ml b/SpriteKit/SK3DNode.ml index 782116c6..cd026c35 100644 --- a/SpriteKit/SK3DNode.ml +++ b/SpriteKit/SK3DNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sk3dnode?language=objc}SK3DNode} *) +let self = get_class "SK3DNode" + let autoenablesDefaultLighting self = msg_send ~self ~cmd:(selector "autoenablesDefaultLighting") ~typ:(returning bool) let commonInit self = msg_send ~self ~cmd:(selector "commonInit") ~typ:(returning void) let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x diff --git a/SpriteKit/SK3DNodeClass.ml b/SpriteKit/SK3DNodeClass.ml index e97454f5..fd992769 100644 --- a/SpriteKit/SK3DNodeClass.ml +++ b/SpriteKit/SK3DNodeClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sk3dnode?language=objc}SK3DNode} *) -let self = get_class "SK3DNode" - let nodeWithViewportSize x self = msg_send ~self ~cmd:(selector "nodeWithViewportSize:") ~typ:(CGSize.t @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKAction.ml b/SpriteKit/SKAction.ml index b919b55f..f280d4db 100644 --- a/SpriteKit/SKAction.ml +++ b/SpriteKit/SKAction.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skaction?language=objc}SKAction} *) +let self = get_class "SKAction" + let caction self = msg_send ~self ~cmd:(selector "caction") ~typ:(returning (ptr void)) let commonInit self = msg_send ~self ~cmd:(selector "commonInit") ~typ:(returning void) let copy self = msg_send ~self ~cmd:(selector "copy") ~typ:(returning id) diff --git a/SpriteKit/SKActionClass.ml b/SpriteKit/SKActionClass.ml index 7935040b..1f2f90b3 100644 --- a/SpriteKit/SKActionClass.ml +++ b/SpriteKit/SKActionClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skaction?language=objc}SKAction} *) -let self = get_class "SKAction" - let actionNamed x self = msg_send ~self ~cmd:(selector "actionNamed:") ~typ:(id @-> returning id) x let actionNamed1 x ~duration self = msg_send ~self ~cmd:(selector "actionNamed:duration:") ~typ:(id @-> double @-> returning id) x duration let actionNamed2 x ~fromURL self = msg_send ~self ~cmd:(selector "actionNamed:fromURL:") ~typ:(id @-> id @-> returning id) x fromURL diff --git a/SpriteKit/SKActionTable.ml b/SpriteKit/SKActionTable.ml index fff5d9b3..32ac4b61 100644 --- a/SpriteKit/SKActionTable.ml +++ b/SpriteKit/SKActionTable.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skactiontable?language=objc}SKActionTable} *) +let self = get_class "SKActionTable" + let actionForName x self = msg_send ~self ~cmd:(selector "actionForName:") ~typ:(id @-> returning id) x let actionTableDictionary self = msg_send ~self ~cmd:(selector "actionTableDictionary") ~typ:(returning id) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKActionTableClass.ml b/SpriteKit/SKActionTableClass.ml index e692d860..c672f135 100644 --- a/SpriteKit/SKActionTableClass.ml +++ b/SpriteKit/SKActionTableClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skactiontable?language=objc}SKActionTable} *) -let self = get_class "SKActionTable" - let actionTableWithContentsOfDictionary x self = msg_send ~self ~cmd:(selector "actionTableWithContentsOfDictionary:") ~typ:(id @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKAnalytics.ml b/SpriteKit/SKAnalytics.ml new file mode 100644 index 00000000..fd5504be --- /dev/null +++ b/SpriteKit/SKAnalytics.ml @@ -0,0 +1,16 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skanalytics?language=objc}SKAnalytics} *) + +let self = get_class "SKAnalytics" + +let getBundleID self = msg_send ~self ~cmd:(selector "getBundleID") ~typ:(returning id) +let sendAnalyticsDataWithKey x self = msg_send ~self ~cmd:(selector "sendAnalyticsDataWithKey:") ~typ:(id @-> returning void) x \ No newline at end of file diff --git a/SpriteKit/IKLinkClass.ml b/SpriteKit/SKAnalyticsClass.ml similarity index 58% rename from SpriteKit/IKLinkClass.ml rename to SpriteKit/SKAnalyticsClass.ml index a5cfafdb..306de5ef 100644 --- a/SpriteKit/IKLinkClass.ml +++ b/SpriteKit/SKAnalyticsClass.ml @@ -5,13 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/iklink?language=objc}IKLink} *) - -let self = get_class "IKLink" +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skanalytics?language=objc}SKAnalytics} *) +let instance self = msg_send ~self ~cmd:(selector "instance") ~typ:(returning id) \ No newline at end of file diff --git a/SpriteKit/SKAnimate.ml b/SpriteKit/SKAnimate.ml index c3f916de..9b2c4d2b 100644 --- a/SpriteKit/SKAnimate.ml +++ b/SpriteKit/SKAnimate.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skanimate?language=objc}SKAnimate} *) +let self = get_class "SKAnimate" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKAnimateClass.ml b/SpriteKit/SKAnimateClass.ml index 2cd9a9b2..57228ceb 100644 --- a/SpriteKit/SKAnimateClass.ml +++ b/SpriteKit/SKAnimateClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skanimate?language=objc}SKAnimate} *) -let self = get_class "SKAnimate" - let animateWithNormalTextures x ~timePerFrame ~resize ~restore self = msg_send ~self ~cmd:(selector "animateWithNormalTextures:timePerFrame:resize:restore:") ~typ:(id @-> double @-> bool @-> bool @-> returning id) x timePerFrame resize restore let animateWithTextures x ~timePerFrame ~resize ~restore self = msg_send ~self ~cmd:(selector "animateWithTextures:timePerFrame:resize:restore:") ~typ:(id @-> double @-> bool @-> bool @-> returning id) x timePerFrame resize restore let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKAnimateWarp.ml b/SpriteKit/SKAnimateWarp.ml index 6b9d9cea..21058ce3 100644 --- a/SpriteKit/SKAnimateWarp.ml +++ b/SpriteKit/SKAnimateWarp.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skanimatewarp?language=objc}SKAnimateWarp} *) +let self = get_class "SKAnimateWarp" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKAnimateWarpClass.ml b/SpriteKit/SKAnimateWarpClass.ml index 13119bd5..af43e9a6 100644 --- a/SpriteKit/SKAnimateWarpClass.ml +++ b/SpriteKit/SKAnimateWarpClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skanimatewarp?language=objc}SKAnimateWarp} *) -let self = get_class "SKAnimateWarp" - let animateWithWarps x ~times self = msg_send ~self ~cmd:(selector "animateWithWarps:times:") ~typ:(id @-> id @-> returning id) x times let animateWithWarps' x ~times ~restore self = msg_send ~self ~cmd:(selector "animateWithWarps:times:restore:") ~typ:(id @-> id @-> bool @-> returning id) x times restore let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) diff --git a/SpriteKit/SKAttribute.ml b/SpriteKit/SKAttribute.ml index 4adef8bf..29b7ed71 100644 --- a/SpriteKit/SKAttribute.ml +++ b/SpriteKit/SKAttribute.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skattribute?language=objc}SKAttribute} *) +let self = get_class "SKAttribute" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let getNameString self = msg_send ~self ~cmd:(selector "getNameString") ~typ:(returning (ptr void)) let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKAttributeClass.ml b/SpriteKit/SKAttributeClass.ml index 396c09bb..358fed6d 100644 --- a/SpriteKit/SKAttributeClass.ml +++ b/SpriteKit/SKAttributeClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skattribute?language=objc}SKAttribute} *) -let self = get_class "SKAttribute" - let attributeWithName x ~type_ self = msg_send ~self ~cmd:(selector "attributeWithName:type:") ~typ:(id @-> llong @-> returning id) x (LLong.of_int type_) let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKAttributeValue.ml b/SpriteKit/SKAttributeValue.ml index 9a03ddd7..db4d4e29 100644 --- a/SpriteKit/SKAttributeValue.ml +++ b/SpriteKit/SKAttributeValue.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skattributevalue?language=objc}SKAttributeValue} *) +let self = get_class "SKAttributeValue" + let copyValueTo x ~type_ ~count self = msg_send ~self ~cmd:(selector "copyValueTo:type:count:") ~typ:((ptr void) @-> llong @-> uint @-> returning bool) x (LLong.of_int type_) count let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let floatValue self = msg_send ~self ~cmd:(selector "floatValue") ~typ:(returning float) diff --git a/SpriteKit/SKAttributeValueClass.ml b/SpriteKit/SKAttributeValueClass.ml index 2ed624c0..badff2ac 100644 --- a/SpriteKit/SKAttributeValueClass.ml +++ b/SpriteKit/SKAttributeValueClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skattributevalue?language=objc}SKAttributeValue} *) -let self = get_class "SKAttributeValue" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let valueWithFloat x self = msg_send ~self ~cmd:(selector "valueWithFloat:") ~typ:(float @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKAudioNode.ml b/SpriteKit/SKAudioNode.ml index 1410eb94..f43ae706 100644 --- a/SpriteKit/SKAudioNode.ml +++ b/SpriteKit/SKAudioNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skaudionode?language=objc}SKAudioNode} *) +let self = get_class "SKAudioNode" + let audioFile self = msg_send ~self ~cmd:(selector "audioFile") ~typ:(returning id) let audioFileName self = msg_send ~self ~cmd:(selector "audioFileName") ~typ:(returning id) let audioURL self = msg_send ~self ~cmd:(selector "audioURL") ~typ:(returning id) diff --git a/SpriteKit/SKAudioNodeClass.ml b/SpriteKit/SKAudioNodeClass.ml index 54ff6aa3..75030a97 100644 --- a/SpriteKit/SKAudioNodeClass.ml +++ b/SpriteKit/SKAudioNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skaudionode?language=objc}SKAudioNode} *) -let self = get_class "SKAudioNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKBitmapFont.ml b/SpriteKit/SKBitmapFont.ml index 15571c55..d9e24a37 100644 --- a/SpriteKit/SKBitmapFont.ml +++ b/SpriteKit/SKBitmapFont.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skbitmapfont?language=objc}SKBitmapFont} *) +let self = get_class "SKBitmapFont" + let advanceForCharacterNamed x self = msg_send ~self ~cmd:(selector "advanceForCharacterNamed:") ~typ:(ushort @-> returning double) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let fontName self = msg_send ~self ~cmd:(selector "fontName") ~typ:(returning id) diff --git a/SpriteKit/SKBitmapFontClass.ml b/SpriteKit/SKBitmapFontClass.ml index c4bd8dfd..a8526159 100644 --- a/SpriteKit/SKBitmapFontClass.ml +++ b/SpriteKit/SKBitmapFontClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skbitmapfont?language=objc}SKBitmapFont} *) -let self = get_class "SKBitmapFont" - let fontForFileNamed x self = msg_send ~self ~cmd:(selector "fontForFileNamed:") ~typ:(id @-> returning id) x let fontWithTexture x ~fontDataString self = msg_send ~self ~cmd:(selector "fontWithTexture:fontDataString:") ~typ:(id @-> id @-> returning id) x fontDataString let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKButtonNode.ml b/SpriteKit/SKButtonNode.ml index 560f8d66..e035b7c7 100644 --- a/SpriteKit/SKButtonNode.ml +++ b/SpriteKit/SKButtonNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skbuttonnode?language=objc}SKButtonNode} *) +let self = get_class "SKButtonNode" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let delegate self = msg_send ~self ~cmd:(selector "delegate") ~typ:(returning id) let downAction self = msg_send ~self ~cmd:(selector "downAction") ~typ:(returning id) diff --git a/SpriteKit/SKButtonNodeClass.ml b/SpriteKit/SKButtonNodeClass.ml index 98a89a36..93c3d218 100644 --- a/SpriteKit/SKButtonNodeClass.ml +++ b/SpriteKit/SKButtonNodeClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skbuttonnode?language=objc}SKButtonNode} *) -let self = get_class "SKButtonNode" - let buttonWithFontNamed x self = msg_send ~self ~cmd:(selector "buttonWithFontNamed:") ~typ:(id @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKButtonNodeSprite.ml b/SpriteKit/SKButtonNodeSprite.ml index fa25b0a3..288eb6bd 100644 --- a/SpriteKit/SKButtonNodeSprite.ml +++ b/SpriteKit/SKButtonNodeSprite.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skbuttonnodesprite?language=objc}SKButtonNodeSprite} *) +let self = get_class "SKButtonNodeSprite" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let delegate self = msg_send ~self ~cmd:(selector "delegate") ~typ:(returning id) let downAction self = msg_send ~self ~cmd:(selector "downAction") ~typ:(returning id) diff --git a/SpriteKit/SKButtonNodeSpriteClass.ml b/SpriteKit/SKButtonNodeSpriteClass.ml index fb27edf6..9320cac3 100644 --- a/SpriteKit/SKButtonNodeSpriteClass.ml +++ b/SpriteKit/SKButtonNodeSpriteClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skbuttonnodesprite?language=objc}SKButtonNodeSprite} *) -let self = get_class "SKButtonNodeSprite" - let buttonWithFontNamed x self = msg_send ~self ~cmd:(selector "buttonWithFontNamed:") ~typ:(id @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKCameraNode.ml b/SpriteKit/SKCameraNode.ml index f2802fe4..ae125af5 100644 --- a/SpriteKit/SKCameraNode.ml +++ b/SpriteKit/SKCameraNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcameranode?language=objc}SKCameraNode} *) +let self = get_class "SKCameraNode" + let cameraBoundingBox self = msg_send ~self ~cmd:(selector "cameraBoundingBox") ~typ:(returning void) let cameraBoundingBoxOverridingSceneSize x self = msg_send ~self ~cmd:(selector "cameraBoundingBoxOverridingSceneSize:") ~typ:(CGSize.t @-> returning void) x let containedNodeSet self = msg_send ~self ~cmd:(selector "containedNodeSet") ~typ:(returning id) diff --git a/SpriteKit/SKCameraNodeClass.ml b/SpriteKit/SKCameraNodeClass.ml index b19a0cb3..5bf21be2 100644 --- a/SpriteKit/SKCameraNodeClass.ml +++ b/SpriteKit/SKCameraNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcameranode?language=objc}SKCameraNode} *) -let self = get_class "SKCameraNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKColorize.ml b/SpriteKit/SKColorize.ml index 6435b4ab..8dabc188 100644 --- a/SpriteKit/SKColorize.ml +++ b/SpriteKit/SKColorize.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcolorize?language=objc}SKColorize} *) +let self = get_class "SKColorize" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKColorizeClass.ml b/SpriteKit/SKColorizeClass.ml index 693345fb..4417ff18 100644 --- a/SpriteKit/SKColorizeClass.ml +++ b/SpriteKit/SKColorizeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcolorize?language=objc}SKColorize} *) -let self = get_class "SKColorize" - let colorizeWithColor x ~colorBlendFactor ~duration self = msg_send ~self ~cmd:(selector "colorizeWithColor:colorBlendFactor:duration:") ~typ:(id @-> double @-> double @-> returning id) x colorBlendFactor duration let colorizeWithColorBlendFactor x ~duration self = msg_send ~self ~cmd:(selector "colorizeWithColorBlendFactor:duration:") ~typ:(double @-> double @-> returning id) x duration let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKConstraint.ml b/SpriteKit/SKConstraint.ml index 8eba363b..65290189 100644 --- a/SpriteKit/SKConstraint.ml +++ b/SpriteKit/SKConstraint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skconstraint?language=objc}SKConstraint} *) +let self = get_class "SKConstraint" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) let enabled self = msg_send ~self ~cmd:(selector "enabled") ~typ:(returning bool) diff --git a/SpriteKit/SKConstraintClass.ml b/SpriteKit/SKConstraintClass.ml index 4f478122..87ecfc1a 100644 --- a/SpriteKit/SKConstraintClass.ml +++ b/SpriteKit/SKConstraintClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skconstraint?language=objc}SKConstraint} *) -let self = get_class "SKConstraint" - let distance x ~toNode self = msg_send ~self ~cmd:(selector "distance:toNode:") ~typ:(id @-> id @-> returning id) x toNode let distance1 x ~toPoint self = msg_send ~self ~cmd:(selector "distance:toPoint:") ~typ:(id @-> CGPoint.t @-> returning id) x toPoint let distance2 x ~toPoint ~inNode self = msg_send ~self ~cmd:(selector "distance:toPoint:inNode:") ~typ:(id @-> CGPoint.t @-> id @-> returning id) x toPoint inNode diff --git a/SpriteKit/SKCropNode.ml b/SpriteKit/SKCropNode.ml index 62705df3..d9a1349d 100644 --- a/SpriteKit/SKCropNode.ml +++ b/SpriteKit/SKCropNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcropnode?language=objc}SKCropNode} *) +let self = get_class "SKCropNode" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKCropNodeClass.ml b/SpriteKit/SKCropNodeClass.ml index 24961487..eb53b7aa 100644 --- a/SpriteKit/SKCropNodeClass.ml +++ b/SpriteKit/SKCropNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcropnode?language=objc}SKCropNode} *) -let self = get_class "SKCropNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKCustomAction.ml b/SpriteKit/SKCustomAction.ml index 5a70ffd7..a86e4ba6 100644 --- a/SpriteKit/SKCustomAction.ml +++ b/SpriteKit/SKCustomAction.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcustomaction?language=objc}SKCustomAction} *) +let self = get_class "SKCustomAction" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKCustomActionClass.ml b/SpriteKit/SKCustomActionClass.ml index b636353e..ed76c336 100644 --- a/SpriteKit/SKCustomActionClass.ml +++ b/SpriteKit/SKCustomActionClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcustomaction?language=objc}SKCustomAction} *) -let self = get_class "SKCustomAction" - let customActionWithDuration x ~actionBlock self = msg_send ~self ~cmd:(selector "customActionWithDuration:actionBlock:") ~typ:(double @-> (ptr void) @-> returning id) x actionBlock let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKCustomFieldNode.ml b/SpriteKit/SKCustomFieldNode.ml index 6137a08f..a84c1107 100644 --- a/SpriteKit/SKCustomFieldNode.ml +++ b/SpriteKit/SKCustomFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcustomfieldnode?language=objc}SKCustomFieldNode} *) +let self = get_class "SKCustomFieldNode" + let batchBlock self = msg_send ~self ~cmd:(selector "batchBlock") ~typ:(returning (ptr void)) let block self = msg_send ~self ~cmd:(selector "block") ~typ:(returning (ptr void)) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKCustomFieldNodeClass.ml b/SpriteKit/SKCustomFieldNodeClass.ml index 4c1cc5fb..f213fa3a 100644 --- a/SpriteKit/SKCustomFieldNodeClass.ml +++ b/SpriteKit/SKCustomFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skcustomfieldnode?language=objc}SKCustomFieldNode} *) -let self = get_class "SKCustomFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKDisplayLink.ml b/SpriteKit/SKDisplayLink.ml index b33f7cd2..1b60c2dd 100644 --- a/SpriteKit/SKDisplayLink.ml +++ b/SpriteKit/SKDisplayLink.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skdisplaylink?language=objc}SKDisplayLink} *) +let self = get_class "SKDisplayLink" + let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let display self = msg_send ~self ~cmd:(selector "display") ~typ:(returning id) let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKDisplayLinkClass.ml b/SpriteKit/SKDisplayLinkClass.ml index f3b15068..cbb9acbf 100644 --- a/SpriteKit/SKDisplayLinkClass.ml +++ b/SpriteKit/SKDisplayLinkClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skdisplaylink?language=objc}SKDisplayLink} *) -let self = get_class "SKDisplayLink" - let displayLinkWithDisplay x ~handler ~client self = msg_send ~self ~cmd:(selector "displayLinkWithDisplay:handler:client:") ~typ:(id @-> (ptr void) @-> id @-> returning id) x handler client \ No newline at end of file diff --git a/SpriteKit/SKDistanceConstraint.ml b/SpriteKit/SKDistanceConstraint.ml index f9bbcba4..c4fae2ca 100644 --- a/SpriteKit/SKDistanceConstraint.ml +++ b/SpriteKit/SKDistanceConstraint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skdistanceconstraint?language=objc}SKDistanceConstraint} *) +let self = get_class "SKDistanceConstraint" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let distanceRange self = msg_send ~self ~cmd:(selector "distanceRange") ~typ:(returning id) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKDistanceConstraintClass.ml b/SpriteKit/SKDistanceConstraintClass.ml index 1465037d..ecca80e8 100644 --- a/SpriteKit/SKDistanceConstraintClass.ml +++ b/SpriteKit/SKDistanceConstraintClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skdistanceconstraint?language=objc}SKDistanceConstraint} *) -let self = get_class "SKDistanceConstraint" - let constraintWithNode x ~distanceRange self = msg_send ~self ~cmd:(selector "constraintWithNode:distanceRange:") ~typ:(id @-> id @-> returning id) x distanceRange let constraintWithPoint x ~distanceRange self = msg_send ~self ~cmd:(selector "constraintWithPoint:distanceRange:") ~typ:(CGPoint.t @-> id @-> returning id) x distanceRange let constraintWithPoint' x ~inNode ~distanceRange self = msg_send ~self ~cmd:(selector "constraintWithPoint:inNode:distanceRange:") ~typ:(CGPoint.t @-> id @-> id @-> returning id) x inNode distanceRange diff --git a/SpriteKit/SKDragFieldNode.ml b/SpriteKit/SKDragFieldNode.ml index 086bcdb0..6e622f84 100644 --- a/SpriteKit/SKDragFieldNode.ml +++ b/SpriteKit/SKDragFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skdragfieldnode?language=objc}SKDragFieldNode} *) +let self = get_class "SKDragFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKDragFieldNodeClass.ml b/SpriteKit/SKDragFieldNodeClass.ml index b3095f7d..3c645473 100644 --- a/SpriteKit/SKDragFieldNodeClass.ml +++ b/SpriteKit/SKDragFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skdragfieldnode?language=objc}SKDragFieldNode} *) -let self = get_class "SKDragFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKEffectNode.ml b/SpriteKit/SKEffectNode.ml index 87321f4b..b840bdf3 100644 --- a/SpriteKit/SKEffectNode.ml +++ b/SpriteKit/SKEffectNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skeffectnode?language=objc}SKEffectNode} *) +let self = get_class "SKEffectNode" + let blendMode self = msg_send ~self ~cmd:(selector "blendMode") ~typ:(returning llong) let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKEffectNodeClass.ml b/SpriteKit/SKEffectNodeClass.ml index b78e5170..c4708d19 100644 --- a/SpriteKit/SKEffectNodeClass.ml +++ b/SpriteKit/SKEffectNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skeffectnode?language=objc}SKEffectNode} *) -let self = get_class "SKEffectNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKElectricFieldNode.ml b/SpriteKit/SKElectricFieldNode.ml index 15cae111..4787ec9b 100644 --- a/SpriteKit/SKElectricFieldNode.ml +++ b/SpriteKit/SKElectricFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skelectricfieldnode?language=objc}SKElectricFieldNode} *) +let self = get_class "SKElectricFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKElectricFieldNodeClass.ml b/SpriteKit/SKElectricFieldNodeClass.ml index 6a9bcb75..87485c48 100644 --- a/SpriteKit/SKElectricFieldNodeClass.ml +++ b/SpriteKit/SKElectricFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skelectricfieldnode?language=objc}SKElectricFieldNode} *) -let self = get_class "SKElectricFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKEmitterNode.ml b/SpriteKit/SKEmitterNode.ml index 02c048a5..afd30e83 100644 --- a/SpriteKit/SKEmitterNode.ml +++ b/SpriteKit/SKEmitterNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skemitternode?language=objc}SKEmitterNode} *) +let self = get_class "SKEmitterNode" + let activeParticleCount self = msg_send ~self ~cmd:(selector "activeParticleCount") ~typ:(returning uint) let advanceSimulationTime x self = msg_send ~self ~cmd:(selector "advanceSimulationTime:") ~typ:(double @-> returning void) x let commonInit self = msg_send ~self ~cmd:(selector "commonInit") ~typ:(returning void) diff --git a/SpriteKit/SKEmitterNodeClass.ml b/SpriteKit/SKEmitterNodeClass.ml index 5de2041a..a030e1e3 100644 --- a/SpriteKit/SKEmitterNodeClass.ml +++ b/SpriteKit/SKEmitterNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skemitternode?language=objc}SKEmitterNode} *) -let self = get_class "SKEmitterNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKFade.ml b/SpriteKit/SKFade.ml index c9e171f1..db2f01c3 100644 --- a/SpriteKit/SKFade.ml +++ b/SpriteKit/SKFade.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfade?language=objc}SKFade} *) +let self = get_class "SKFade" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKFadeClass.ml b/SpriteKit/SKFadeClass.ml index fdce468f..d7749e36 100644 --- a/SpriteKit/SKFadeClass.ml +++ b/SpriteKit/SKFadeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfade?language=objc}SKFade} *) -let self = get_class "SKFade" - let fadeAlphaBy x ~duration self = msg_send ~self ~cmd:(selector "fadeAlphaBy:duration:") ~typ:(double @-> double @-> returning id) x duration let fadeAlphaTo x ~duration self = msg_send ~self ~cmd:(selector "fadeAlphaTo:duration:") ~typ:(double @-> double @-> returning id) x duration let fadeInWithDuration x self = msg_send ~self ~cmd:(selector "fadeInWithDuration:") ~typ:(double @-> returning id) x diff --git a/SpriteKit/SKFalloff.ml b/SpriteKit/SKFalloff.ml index 5bb5950a..ab462d5d 100644 --- a/SpriteKit/SKFalloff.ml +++ b/SpriteKit/SKFalloff.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfalloff?language=objc}SKFalloff} *) +let self = get_class "SKFalloff" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKFalloffClass.ml b/SpriteKit/SKFalloffClass.ml index 4568078b..cad276f2 100644 --- a/SpriteKit/SKFalloffClass.ml +++ b/SpriteKit/SKFalloffClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfalloff?language=objc}SKFalloff} *) -let self = get_class "SKFalloff" - let falloffBy x ~duration self = msg_send ~self ~cmd:(selector "falloffBy:duration:") ~typ:(double @-> double @-> returning id) x duration let falloffTo x ~duration self = msg_send ~self ~cmd:(selector "falloffTo:duration:") ~typ:(double @-> double @-> returning id) x duration let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKFieldNode.ml b/SpriteKit/SKFieldNode.ml index 3898f7ef..b607b372 100644 --- a/SpriteKit/SKFieldNode.ml +++ b/SpriteKit/SKFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfieldnode?language=objc}SKFieldNode} *) +let self = get_class "SKFieldNode" + let animationSpeed self = msg_send ~self ~cmd:(selector "animationSpeed") ~typ:(returning float) let categoryBitMask self = msg_send ~self ~cmd:(selector "categoryBitMask") ~typ:(returning uint) let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x diff --git a/SpriteKit/SKFieldNodeClass.ml b/SpriteKit/SKFieldNodeClass.ml index 710a9101..54c03b94 100644 --- a/SpriteKit/SKFieldNodeClass.ml +++ b/SpriteKit/SKFieldNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfieldnode?language=objc}SKFieldNode} *) -let self = get_class "SKFieldNode" - let customFieldWithEvaluationBlock x self = msg_send ~self ~cmd:(selector "customFieldWithEvaluationBlock:") ~typ:((ptr void) @-> returning id) x let dragField self = msg_send ~self ~cmd:(selector "dragField") ~typ:(returning id) let electricField self = msg_send ~self ~cmd:(selector "electricField") ~typ:(returning id) diff --git a/SpriteKit/SKFollowPath.ml b/SpriteKit/SKFollowPath.ml index bd8f9a42..080493ef 100644 --- a/SpriteKit/SKFollowPath.ml +++ b/SpriteKit/SKFollowPath.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfollowpath?language=objc}SKFollowPath} *) +let self = get_class "SKFollowPath" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKFollowPathClass.ml b/SpriteKit/SKFollowPathClass.ml index f83a168b..41b43b93 100644 --- a/SpriteKit/SKFollowPathClass.ml +++ b/SpriteKit/SKFollowPathClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skfollowpath?language=objc}SKFollowPath} *) -let self = get_class "SKFollowPath" - let followPath x ~duration self = msg_send ~self ~cmd:(selector "followPath:duration:") ~typ:((ptr CGPath.t) @-> double @-> returning id) x duration let followPath1 x ~speed self = msg_send ~self ~cmd:(selector "followPath:speed:") ~typ:((ptr CGPath.t) @-> double @-> returning id) x speed let followPath2 x ~asOffset ~orientToPath ~duration self = msg_send ~self ~cmd:(selector "followPath:asOffset:orientToPath:duration:") ~typ:((ptr CGPath.t) @-> bool @-> bool @-> double @-> returning id) x asOffset orientToPath duration diff --git a/SpriteKit/SKFrameCaptureDelegate.ml b/SpriteKit/SKFrameCaptureDelegate.ml new file mode 100644 index 00000000..5efb7e43 --- /dev/null +++ b/SpriteKit/SKFrameCaptureDelegate.ml @@ -0,0 +1,16 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skframecapturedelegate?language=objc}SKFrameCaptureDelegate} *) + +let self = get_class "SKFrameCaptureDelegate" + +let archiver x ~didEncodeObject self = msg_send ~self ~cmd:(selector "archiver:didEncodeObject:") ~typ:(id @-> id @-> returning void) x didEncodeObject +let archiver' x ~willEncodeObject self = msg_send ~self ~cmd:(selector "archiver:willEncodeObject:") ~typ:(id @-> id @-> returning id) x willEncodeObject \ No newline at end of file diff --git a/SpriteKit/SKOpenGLLayerClass.ml b/SpriteKit/SKFrameCaptureDelegateClass.ml similarity index 54% rename from SpriteKit/SKOpenGLLayerClass.ml rename to SpriteKit/SKFrameCaptureDelegateClass.ml index 72219d1f..37f6503c 100644 --- a/SpriteKit/SKOpenGLLayerClass.ml +++ b/SpriteKit/SKFrameCaptureDelegateClass.ml @@ -5,13 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skopengllayer?language=objc}SKOpenGLLayer} *) - -let self = get_class "SKOpenGLLayer" +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skframecapturedelegate?language=objc}SKFrameCaptureDelegate} *) +let sharedInstance self = msg_send ~self ~cmd:(selector "sharedInstance") ~typ:(returning id) \ No newline at end of file diff --git a/SpriteKit/SKGroup.ml b/SpriteKit/SKGroup.ml index 27070e78..60b7a109 100644 --- a/SpriteKit/SKGroup.ml +++ b/SpriteKit/SKGroup.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skgroup?language=objc}SKGroup} *) +let self = get_class "SKGroup" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let finished self = msg_send ~self ~cmd:(selector "finished") ~typ:(returning bool) diff --git a/SpriteKit/SKGroupClass.ml b/SpriteKit/SKGroupClass.ml index 44b09724..99afd4c3 100644 --- a/SpriteKit/SKGroupClass.ml +++ b/SpriteKit/SKGroupClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skgroup?language=objc}SKGroup} *) -let self = get_class "SKGroup" - let groupWithActions x self = msg_send ~self ~cmd:(selector "groupWithActions:") ~typ:(id @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKHide.ml b/SpriteKit/SKHide.ml index 9a7eb6e6..eee5b1b7 100644 --- a/SpriteKit/SKHide.ml +++ b/SpriteKit/SKHide.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skhide?language=objc}SKHide} *) +let self = get_class "SKHide" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKHideClass.ml b/SpriteKit/SKHideClass.ml index e474a675..daf23676 100644 --- a/SpriteKit/SKHideClass.ml +++ b/SpriteKit/SKHideClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skhide?language=objc}SKHide} *) -let self = get_class "SKHide" - let hide self = msg_send ~self ~cmd:(selector "hide") ~typ:(returning id) let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let unhide self = msg_send ~self ~cmd:(selector "unhide") ~typ:(returning id) \ No newline at end of file diff --git a/SpriteKit/SKKeyedUnarchiver.ml b/SpriteKit/SKKeyedUnarchiver.ml new file mode 100644 index 00000000..5092aaad --- /dev/null +++ b/SpriteKit/SKKeyedUnarchiver.ml @@ -0,0 +1,16 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skkeyedunarchiver?language=objc}SKKeyedUnarchiver} *) + +let self = get_class "SKKeyedUnarchiver" + +let searchPaths self = msg_send ~self ~cmd:(selector "searchPaths") ~typ:(returning id) +let setSearchPaths x self = msg_send ~self ~cmd:(selector "setSearchPaths:") ~typ:(id @-> returning void) x \ No newline at end of file diff --git a/SpriteKit/SKKeyframeSequence.ml b/SpriteKit/SKKeyframeSequence.ml index 7d567fca..1c8d9b1b 100644 --- a/SpriteKit/SKKeyframeSequence.ml +++ b/SpriteKit/SKKeyframeSequence.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skkeyframesequence?language=objc}SKKeyframeSequence} *) +let self = get_class "SKKeyframeSequence" + let addKeyframeValue x ~time self = msg_send ~self ~cmd:(selector "addKeyframeValue:time:") ~typ:(id @-> double @-> returning void) x time let copy self = msg_send ~self ~cmd:(selector "copy") ~typ:(returning id) let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x diff --git a/SpriteKit/SKKeyframeSequenceClass.ml b/SpriteKit/SKKeyframeSequenceClass.ml index b83a3493..ed42bcbc 100644 --- a/SpriteKit/SKKeyframeSequenceClass.ml +++ b/SpriteKit/SKKeyframeSequenceClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skkeyframesequence?language=objc}SKKeyframeSequence} *) -let self = get_class "SKKeyframeSequence" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKLabelNode.ml b/SpriteKit/SKLabelNode.ml index 654d6d73..c609d55c 100644 --- a/SpriteKit/SKLabelNode.ml +++ b/SpriteKit/SKLabelNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sklabelnode?language=objc}SKLabelNode} *) +let self = get_class "SKLabelNode" + let accessibilityLabel self = msg_send ~self ~cmd:(selector "accessibilityLabel") ~typ:(returning id) let attributedString self = msg_send ~self ~cmd:(selector "attributedString") ~typ:(returning id) let attributedText self = msg_send ~self ~cmd:(selector "attributedText") ~typ:(returning id) diff --git a/SpriteKit/SKLabelNodeClass.ml b/SpriteKit/SKLabelNodeClass.ml index b5286a9c..97f002bd 100644 --- a/SpriteKit/SKLabelNodeClass.ml +++ b/SpriteKit/SKLabelNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sklabelnode?language=objc}SKLabelNode} *) -let self = get_class "SKLabelNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let labelNodeWithAttributedText x self = msg_send ~self ~cmd:(selector "labelNodeWithAttributedText:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKLightNode.ml b/SpriteKit/SKLightNode.ml index f5af19ff..aa7e8abf 100644 --- a/SpriteKit/SKLightNode.ml +++ b/SpriteKit/SKLightNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sklightnode?language=objc}SKLightNode} *) +let self = get_class "SKLightNode" + let ambientColor self = msg_send ~self ~cmd:(selector "ambientColor") ~typ:(returning id) let categoryBitMask self = msg_send ~self ~cmd:(selector "categoryBitMask") ~typ:(returning uint) let commonInit self = msg_send ~self ~cmd:(selector "commonInit") ~typ:(returning void) diff --git a/SpriteKit/SKLightNodeClass.ml b/SpriteKit/SKLightNodeClass.ml index 93dbd045..70e32094 100644 --- a/SpriteKit/SKLightNodeClass.ml +++ b/SpriteKit/SKLightNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sklightnode?language=objc}SKLightNode} *) -let self = get_class "SKLightNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKLinearGravityFieldNode.ml b/SpriteKit/SKLinearGravityFieldNode.ml index a615d756..c32164ac 100644 --- a/SpriteKit/SKLinearGravityFieldNode.ml +++ b/SpriteKit/SKLinearGravityFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sklineargravityfieldnode?language=objc}SKLinearGravityFieldNode} *) +let self = get_class "SKLinearGravityFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKLinearGravityFieldNodeClass.ml b/SpriteKit/SKLinearGravityFieldNodeClass.ml index fdf7670d..9e868a4d 100644 --- a/SpriteKit/SKLinearGravityFieldNodeClass.ml +++ b/SpriteKit/SKLinearGravityFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sklineargravityfieldnode?language=objc}SKLinearGravityFieldNode} *) -let self = get_class "SKLinearGravityFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKMagneticFieldNode.ml b/SpriteKit/SKMagneticFieldNode.ml index 7cc8a605..245ba1cb 100644 --- a/SpriteKit/SKMagneticFieldNode.ml +++ b/SpriteKit/SKMagneticFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skmagneticfieldnode?language=objc}SKMagneticFieldNode} *) +let self = get_class "SKMagneticFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKMagneticFieldNodeClass.ml b/SpriteKit/SKMagneticFieldNodeClass.ml index 8c062c44..a7efdd6b 100644 --- a/SpriteKit/SKMagneticFieldNodeClass.ml +++ b/SpriteKit/SKMagneticFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skmagneticfieldnode?language=objc}SKMagneticFieldNode} *) -let self = get_class "SKMagneticFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKMove.ml b/SpriteKit/SKMove.ml index 9d7827e3..ed661a07 100644 --- a/SpriteKit/SKMove.ml +++ b/SpriteKit/SKMove.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skmove?language=objc}SKMove} *) +let self = get_class "SKMove" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKMoveClass.ml b/SpriteKit/SKMoveClass.ml index 30bfa707..1b922872 100644 --- a/SpriteKit/SKMoveClass.ml +++ b/SpriteKit/SKMoveClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skmove?language=objc}SKMove} *) -let self = get_class "SKMove" - let moveBy x ~duration self = msg_send ~self ~cmd:(selector "moveBy:duration:") ~typ:(CGPoint.t @-> double @-> returning id) x duration let moveByX x ~duration self = msg_send ~self ~cmd:(selector "moveByX:duration:") ~typ:(double @-> double @-> returning id) x duration let moveByX' x ~y ~duration self = msg_send ~self ~cmd:(selector "moveByX:y:duration:") ~typ:(double @-> double @-> double @-> returning id) x y duration diff --git a/SpriteKit/SKMutableTexture.ml b/SpriteKit/SKMutableTexture.ml index 399192a9..ee88f04d 100644 --- a/SpriteKit/SKMutableTexture.ml +++ b/SpriteKit/SKMutableTexture.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skmutabletexture?language=objc}SKMutableTexture} *) +let self = get_class "SKMutableTexture" + let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) let initWithSize x self = msg_send ~self ~cmd:(selector "initWithSize:") ~typ:(CGSize.t @-> returning id) x diff --git a/SpriteKit/SKMutableTextureClass.ml b/SpriteKit/SKMutableTextureClass.ml index eef3d2a3..373d328a 100644 --- a/SpriteKit/SKMutableTextureClass.ml +++ b/SpriteKit/SKMutableTextureClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skmutabletexture?language=objc}SKMutableTexture} *) -let self = get_class "SKMutableTexture" - let mutableTextureWithSize x self = msg_send ~self ~cmd:(selector "mutableTextureWithSize:") ~typ:(CGSize.t @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKNode.ml b/SpriteKit/SKNode.ml index d05dcd87..127a3db9 100644 --- a/SpriteKit/SKNode.ml +++ b/SpriteKit/SKNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sknode?language=objc}SKNode} *) +let self = get_class "SKNode" + let accessibilityChildren self = msg_send ~self ~cmd:(selector "accessibilityChildren") ~typ:(returning id) let accessibilityFrame self = msg_send ~self ~cmd:(selector "accessibilityFrame") ~typ:(returning CGRect.t) let accessibilityHelp self = msg_send ~self ~cmd:(selector "accessibilityHelp") ~typ:(returning id) diff --git a/SpriteKit/SKNodeClass.ml b/SpriteKit/SKNodeClass.ml index b053e1f6..4b243452 100644 --- a/SpriteKit/SKNodeClass.ml +++ b/SpriteKit/SKNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sknode?language=objc}SKNode} *) -let self = get_class "SKNode" - let debugHierarchyChildGroupingID self = msg_send ~self ~cmd:(selector "debugHierarchyChildGroupingID") ~typ:(returning id) let debugHierarchyObjectsInGroupWithID x ~onObject ~outOptions self = msg_send ~self ~cmd:(selector "debugHierarchyObjectsInGroupWithID:onObject:outOptions:") ~typ:(id @-> id @-> (ptr id) @-> returning id) x onObject outOptions let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) diff --git a/SpriteKit/SKNodeCustomClassUnarchiver.ml b/SpriteKit/SKNodeCustomClassUnarchiver.ml new file mode 100644 index 00000000..07588e1a --- /dev/null +++ b/SpriteKit/SKNodeCustomClassUnarchiver.ml @@ -0,0 +1,16 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sknodecustomclassunarchiver?language=objc}SKNodeCustomClassUnarchiver} *) + +let self = get_class "SKNodeCustomClassUnarchiver" + +let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) +let unarchiver x ~cannotDecodeObjectOfClassName ~originalClasses self = msg_send ~self ~cmd:(selector "unarchiver:cannotDecodeObjectOfClassName:originalClasses:") ~typ:(id @-> id @-> id @-> returning _Class) x cannotDecodeObjectOfClassName originalClasses \ No newline at end of file diff --git a/SpriteKit/SKNoiseFieldNode.ml b/SpriteKit/SKNoiseFieldNode.ml index 84ea48a3..52468be8 100644 --- a/SpriteKit/SKNoiseFieldNode.ml +++ b/SpriteKit/SKNoiseFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sknoisefieldnode?language=objc}SKNoiseFieldNode} *) +let self = get_class "SKNoiseFieldNode" + let animationSpeed self = msg_send ~self ~cmd:(selector "animationSpeed") ~typ:(returning float) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKNoiseFieldNodeClass.ml b/SpriteKit/SKNoiseFieldNodeClass.ml index db6a1b36..fac1eacb 100644 --- a/SpriteKit/SKNoiseFieldNodeClass.ml +++ b/SpriteKit/SKNoiseFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sknoisefieldnode?language=objc}SKNoiseFieldNode} *) -let self = get_class "SKNoiseFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKOpenGLLayer.ml b/SpriteKit/SKOpenGLLayer.ml index b0fa2b7c..f5b4ae10 100644 --- a/SpriteKit/SKOpenGLLayer.ml +++ b/SpriteKit/SKOpenGLLayer.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skopengllayer?language=objc}SKOpenGLLayer} *) +let self = get_class "SKOpenGLLayer" + let context self = msg_send ~self ~cmd:(selector "context") ~typ:(returning id) let drawInOpenGLContext x ~pixelFormat ~forLayerTime ~displayTime self = msg_send ~self ~cmd:(selector "drawInOpenGLContext:pixelFormat:forLayerTime:displayTime:") ~typ:(id @-> id @-> double @-> (ptr void) @-> returning void) x pixelFormat forLayerTime displayTime let layer x ~shouldInheritContentsScale ~fromWindow self = msg_send ~self ~cmd:(selector "layer:shouldInheritContentsScale:fromWindow:") ~typ:(id @-> double @-> id @-> returning bool) x shouldInheritContentsScale fromWindow diff --git a/SpriteKit/SKOpenGLNode.ml b/SpriteKit/SKOpenGLNode.ml index 8931c51f..1398bd30 100644 --- a/SpriteKit/SKOpenGLNode.ml +++ b/SpriteKit/SKOpenGLNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skopenglnode?language=objc}SKOpenGLNode} *) +let self = get_class "SKOpenGLNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKOpenGLNodeClass.ml b/SpriteKit/SKOpenGLNodeClass.ml index 5e562c67..57b9609d 100644 --- a/SpriteKit/SKOpenGLNodeClass.ml +++ b/SpriteKit/SKOpenGLNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skopenglnode?language=objc}SKOpenGLNode} *) -let self = get_class "SKOpenGLNode" - let openGLNodeWithViewportSize x self = msg_send ~self ~cmd:(selector "openGLNodeWithViewportSize:") ~typ:(CGSize.t @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKOrientationConstraint.ml b/SpriteKit/SKOrientationConstraint.ml index ac295022..cac7d454 100644 --- a/SpriteKit/SKOrientationConstraint.ml +++ b/SpriteKit/SKOrientationConstraint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skorientationconstraint?language=objc}SKOrientationConstraint} *) +let self = get_class "SKOrientationConstraint" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKOrientationConstraintClass.ml b/SpriteKit/SKOrientationConstraintClass.ml index 85131173..5637a3f7 100644 --- a/SpriteKit/SKOrientationConstraintClass.ml +++ b/SpriteKit/SKOrientationConstraintClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skorientationconstraint?language=objc}SKOrientationConstraint} *) -let self = get_class "SKOrientationConstraint" - let constraintOrientingToNode x ~offset self = msg_send ~self ~cmd:(selector "constraintOrientingToNode:offset:") ~typ:(id @-> id @-> returning id) x offset let constraintOrientingToPoint x ~offset self = msg_send ~self ~cmd:(selector "constraintOrientingToPoint:offset:") ~typ:(CGPoint.t @-> id @-> returning id) x offset let constraintOrientingToPoint' x ~inNode ~offset self = msg_send ~self ~cmd:(selector "constraintOrientingToPoint:inNode:offset:") ~typ:(CGPoint.t @-> id @-> id @-> returning id) x inNode offset diff --git a/SpriteKit/SKPerformSelector.ml b/SpriteKit/SKPerformSelector.ml index 4d1ecb3e..7ecba3da 100644 --- a/SpriteKit/SKPerformSelector.ml +++ b/SpriteKit/SKPerformSelector.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skperformselector?language=objc}SKPerformSelector} *) +let self = get_class "SKPerformSelector" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKPerformSelectorClass.ml b/SpriteKit/SKPerformSelectorClass.ml index 776e1b3e..303457bf 100644 --- a/SpriteKit/SKPerformSelectorClass.ml +++ b/SpriteKit/SKPerformSelectorClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skperformselector?language=objc}SKPerformSelector} *) -let self = get_class "SKPerformSelector" - let perfromSelector x ~onTarget self = msg_send ~self ~cmd:(selector "perfromSelector:onTarget:") ~typ:(_SEL @-> id @-> returning id) x onTarget let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPhysicsBody.ml b/SpriteKit/SKPhysicsBody.ml index 50d82373..0d62f37b 100644 --- a/SpriteKit/SKPhysicsBody.ml +++ b/SpriteKit/SKPhysicsBody.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsbody?language=objc}SKPhysicsBody} *) +let self = get_class "SKPhysicsBody" + let affectedByGravity self = msg_send ~self ~cmd:(selector "affectedByGravity") ~typ:(returning bool) let allContactedBodies self = msg_send ~self ~cmd:(selector "allContactedBodies") ~typ:(returning id) let allowsRotation self = msg_send ~self ~cmd:(selector "allowsRotation") ~typ:(returning bool) diff --git a/SpriteKit/SKPhysicsBodyClass.ml b/SpriteKit/SKPhysicsBodyClass.ml index 24ca1a9c..8da494d5 100644 --- a/SpriteKit/SKPhysicsBodyClass.ml +++ b/SpriteKit/SKPhysicsBodyClass.ml @@ -5,17 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsbody?language=objc}SKPhysicsBody} *) -let self = get_class "SKPhysicsBody" - -let allocWithZone x self = msg_send ~self ~cmd:(selector "allocWithZone:") ~typ:((ptr void) @-> returning id) x let bodyWithBodies x self = msg_send ~self ~cmd:(selector "bodyWithBodies:") ~typ:(id @-> returning id) x let bodyWithCircleOfRadius x self = msg_send ~self ~cmd:(selector "bodyWithCircleOfRadius:") ~typ:(double @-> returning id) x let bodyWithCircleOfRadius' x ~center self = msg_send ~self ~cmd:(selector "bodyWithCircleOfRadius:center:") ~typ:(double @-> CGPoint.t @-> returning id) x center diff --git a/SpriteKit/SKPhysicsContact.ml b/SpriteKit/SKPhysicsContact.ml index 139530f1..669371a7 100644 --- a/SpriteKit/SKPhysicsContact.ml +++ b/SpriteKit/SKPhysicsContact.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicscontact?language=objc}SKPhysicsContact} *) +let self = get_class "SKPhysicsContact" + let bodyA self = msg_send ~self ~cmd:(selector "bodyA") ~typ:(returning id) let bodyB self = msg_send ~self ~cmd:(selector "bodyB") ~typ:(returning id) let collisionImpulse self = msg_send ~self ~cmd:(selector "collisionImpulse") ~typ:(returning double) diff --git a/SpriteKit/SKPhysicsContactClass.ml b/SpriteKit/SKPhysicsContactClass.ml deleted file mode 100644 index 106f6651..00000000 --- a/SpriteKit/SKPhysicsContactClass.ml +++ /dev/null @@ -1,18 +0,0 @@ -(* auto-generated, do not modify *) - -open Runtime -open Objc - -[@@@ocaml.warning "-33"] -open CoreFoundation -open CoreFoundation_globals -open CoreGraphics -open CoreGraphics_globals -open CoreText -open CoreText_globals - -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicscontact?language=objc}SKPhysicsContact} *) - -let self = get_class "SKPhysicsContact" - -let allocWithZone x self = msg_send ~self ~cmd:(selector "allocWithZone:") ~typ:((ptr void) @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKPhysicsGrid.ml b/SpriteKit/SKPhysicsGrid.ml index a67da989..b151d6fb 100644 --- a/SpriteKit/SKPhysicsGrid.ml +++ b/SpriteKit/SKPhysicsGrid.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsgrid?language=objc}SKPhysicsGrid} *) +let self = get_class "SKPhysicsGrid" + let height self = msg_send ~self ~cmd:(selector "height") ~typ:(returning float) let spritesFromGrid x ~xDivisions ~zPosition ~spriteSize ~texture ~physicsBody self = msg_send ~self ~cmd:(selector "spritesFromGrid:xDivisions:zPosition:spriteSize:texture:physicsBody:") ~typ:(id @-> int @-> double @-> CGSize.t @-> id @-> id @-> returning void) x xDivisions zPosition spriteSize texture physicsBody let spritesFromGrid' x ~gridSize ~zPosition ~edgeColor ~interiorColor ~spriteSize ~physicsBody self = msg_send ~self ~cmd:(selector "spritesFromGrid:gridSize:zPosition:edgeColor:interiorColor:spriteSize:physicsBody:") ~typ:(id @-> CGSize.t @-> double @-> id @-> id @-> CGSize.t @-> id @-> returning void) x gridSize zPosition edgeColor interiorColor spriteSize physicsBody diff --git a/SpriteKit/SKPhysicsGridClass.ml b/SpriteKit/SKPhysicsGridClass.ml index caa00505..0d57e965 100644 --- a/SpriteKit/SKPhysicsGridClass.ml +++ b/SpriteKit/SKPhysicsGridClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsgrid?language=objc}SKPhysicsGrid} *) -let self = get_class "SKPhysicsGrid" - let gridFromOccupancyArray x ~width ~height self = msg_send ~self ~cmd:(selector "gridFromOccupancyArray:width:height:") ~typ:(string @-> int @-> int @-> returning id) x width height let gridFromTexture x ~alphaThreshold ~accuracy self = msg_send ~self ~cmd:(selector "gridFromTexture:alphaThreshold:accuracy:") ~typ:(id @-> float @-> float @-> returning id) x alphaThreshold accuracy let vectorGridFromTexture x ~accuracy self = msg_send ~self ~cmd:(selector "vectorGridFromTexture:accuracy:") ~typ:(id @-> float @-> returning id) x accuracy \ No newline at end of file diff --git a/SpriteKit/SKPhysicsJoint.ml b/SpriteKit/SKPhysicsJoint.ml index da9d338f..9e846fb7 100644 --- a/SpriteKit/SKPhysicsJoint.ml +++ b/SpriteKit/SKPhysicsJoint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjoint?language=objc}SKPhysicsJoint} *) +let self = get_class "SKPhysicsJoint" + let bodyA self = msg_send ~self ~cmd:(selector "bodyA") ~typ:(returning id) let bodyB self = msg_send ~self ~cmd:(selector "bodyB") ~typ:(returning id) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKPhysicsJointClass.ml b/SpriteKit/SKPhysicsJointClass.ml index b4f5cf89..1ddd8802 100644 --- a/SpriteKit/SKPhysicsJointClass.ml +++ b/SpriteKit/SKPhysicsJointClass.ml @@ -5,15 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjoint?language=objc}SKPhysicsJoint} *) -let self = get_class "SKPhysicsJoint" - -let allocWithZone x self = msg_send ~self ~cmd:(selector "allocWithZone:") ~typ:((ptr void) @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPhysicsJointLimit.ml b/SpriteKit/SKPhysicsJointLimit.ml new file mode 100644 index 00000000..aa8e1e98 --- /dev/null +++ b/SpriteKit/SKPhysicsJointLimit.ml @@ -0,0 +1,16 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointlimit?language=objc}SKPhysicsJointLimit} *) + +let self = get_class "SKPhysicsJointLimit" + +let maxLength self = msg_send ~self ~cmd:(selector "maxLength") ~typ:(returning double) +let setMaxLength x self = msg_send ~self ~cmd:(selector "setMaxLength:") ~typ:(double @-> returning void) x \ No newline at end of file diff --git a/SpriteKit/SKPhysicsJointLimitClass.ml b/SpriteKit/SKPhysicsJointLimitClass.ml new file mode 100644 index 00000000..68e34456 --- /dev/null +++ b/SpriteKit/SKPhysicsJointLimitClass.ml @@ -0,0 +1,14 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointlimit?language=objc}SKPhysicsJointLimit} *) + +let jointWithBodyA x ~bodyB ~anchorA ~anchorB self = msg_send ~self ~cmd:(selector "jointWithBodyA:bodyB:anchorA:anchorB:") ~typ:(id @-> id @-> CGPoint.t @-> CGPoint.t @-> returning id) x bodyB anchorA anchorB +let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPhysicsJointPin.ml b/SpriteKit/SKPhysicsJointPin.ml index efcab423..6cb1ae05 100644 --- a/SpriteKit/SKPhysicsJointPin.ml +++ b/SpriteKit/SKPhysicsJointPin.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointpin?language=objc}SKPhysicsJointPin} *) +let self = get_class "SKPhysicsJointPin" + let anchor self = msg_send ~self ~cmd:(selector "anchor") ~typ:(returning CGPoint.t) let frictionTorque self = msg_send ~self ~cmd:(selector "frictionTorque") ~typ:(returning double) let lowerAngleLimit self = msg_send ~self ~cmd:(selector "lowerAngleLimit") ~typ:(returning double) diff --git a/SpriteKit/SKPhysicsJointPinClass.ml b/SpriteKit/SKPhysicsJointPinClass.ml index 47ea81a3..32a87d8d 100644 --- a/SpriteKit/SKPhysicsJointPinClass.ml +++ b/SpriteKit/SKPhysicsJointPinClass.ml @@ -5,16 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointpin?language=objc}SKPhysicsJointPin} *) -let self = get_class "SKPhysicsJointPin" - -let allocWithZone x self = msg_send ~self ~cmd:(selector "allocWithZone:") ~typ:((ptr void) @-> returning id) x let jointWithBodyA x ~bodyB ~anchor self = msg_send ~self ~cmd:(selector "jointWithBodyA:bodyB:anchor:") ~typ:(id @-> id @-> CGPoint.t @-> returning id) x bodyB anchor let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPhysicsJointSliding.ml b/SpriteKit/SKPhysicsJointSliding.ml index a3ca7b8d..c9a8ba9b 100644 --- a/SpriteKit/SKPhysicsJointSliding.ml +++ b/SpriteKit/SKPhysicsJointSliding.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointsliding?language=objc}SKPhysicsJointSliding} *) +let self = get_class "SKPhysicsJointSliding" + let lowerDistanceLimit self = msg_send ~self ~cmd:(selector "lowerDistanceLimit") ~typ:(returning double) let setLowerDistanceLimit x self = msg_send ~self ~cmd:(selector "setLowerDistanceLimit:") ~typ:(double @-> returning void) x let setShouldEnableLimits x self = msg_send ~self ~cmd:(selector "setShouldEnableLimits:") ~typ:(bool @-> returning void) x diff --git a/SpriteKit/SKPhysicsJointSlidingClass.ml b/SpriteKit/SKPhysicsJointSlidingClass.ml index f20400de..e3ed6c3c 100644 --- a/SpriteKit/SKPhysicsJointSlidingClass.ml +++ b/SpriteKit/SKPhysicsJointSlidingClass.ml @@ -5,16 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointsliding?language=objc}SKPhysicsJointSliding} *) -let self = get_class "SKPhysicsJointSliding" - -let allocWithZone x self = msg_send ~self ~cmd:(selector "allocWithZone:") ~typ:((ptr void) @-> returning id) x let jointWithBodyA x ~bodyB ~anchor ~axis self = msg_send ~self ~cmd:(selector "jointWithBodyA:bodyB:anchor:axis:") ~typ:(id @-> id @-> CGPoint.t @-> CGVector.t @-> returning id) x bodyB anchor axis let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPhysicsJointSpring.ml b/SpriteKit/SKPhysicsJointSpring.ml index ed7deb96..5cba531d 100644 --- a/SpriteKit/SKPhysicsJointSpring.ml +++ b/SpriteKit/SKPhysicsJointSpring.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointspring?language=objc}SKPhysicsJointSpring} *) +let self = get_class "SKPhysicsJointSpring" + let damping self = msg_send ~self ~cmd:(selector "damping") ~typ:(returning double) let frequency self = msg_send ~self ~cmd:(selector "frequency") ~typ:(returning double) let setDamping x self = msg_send ~self ~cmd:(selector "setDamping:") ~typ:(double @-> returning void) x diff --git a/SpriteKit/SKPhysicsJointSpringClass.ml b/SpriteKit/SKPhysicsJointSpringClass.ml index 12d95249..41fdbc17 100644 --- a/SpriteKit/SKPhysicsJointSpringClass.ml +++ b/SpriteKit/SKPhysicsJointSpringClass.ml @@ -5,16 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsjointspring?language=objc}SKPhysicsJointSpring} *) -let self = get_class "SKPhysicsJointSpring" - -let allocWithZone x self = msg_send ~self ~cmd:(selector "allocWithZone:") ~typ:((ptr void) @-> returning id) x let jointWithBodyA x ~bodyB ~anchorA ~anchorB self = msg_send ~self ~cmd:(selector "jointWithBodyA:bodyB:anchorA:anchorB:") ~typ:(id @-> id @-> CGPoint.t @-> CGPoint.t @-> returning id) x bodyB anchorA anchorB let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPhysicsWorld.ml b/SpriteKit/SKPhysicsWorld.ml index 090cf253..a6f6378e 100644 --- a/SpriteKit/SKPhysicsWorld.ml +++ b/SpriteKit/SKPhysicsWorld.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsworld?language=objc}SKPhysicsWorld} *) +let self = get_class "SKPhysicsWorld" + let addBody x self = msg_send ~self ~cmd:(selector "addBody:") ~typ:(id @-> returning void) x let addJoint x self = msg_send ~self ~cmd:(selector "addJoint:") ~typ:(id @-> returning void) x let bodies self = msg_send ~self ~cmd:(selector "bodies") ~typ:(returning id) diff --git a/SpriteKit/SKPhysicsWorldClass.ml b/SpriteKit/SKPhysicsWorldClass.ml index 78ad89a6..2d043ede 100644 --- a/SpriteKit/SKPhysicsWorldClass.ml +++ b/SpriteKit/SKPhysicsWorldClass.ml @@ -5,15 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skphysicsworld?language=objc}SKPhysicsWorld} *) -let self = get_class "SKPhysicsWorld" - -let allocWithZone x self = msg_send ~self ~cmd:(selector "allocWithZone:") ~typ:((ptr void) @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPlaySound.ml b/SpriteKit/SKPlaySound.ml index c7acf97f..7af6e34c 100644 --- a/SpriteKit/SKPlaySound.ml +++ b/SpriteKit/SKPlaySound.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skplaysound?language=objc}SKPlaySound} *) +let self = get_class "SKPlaySound" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKPlaySoundClass.ml b/SpriteKit/SKPlaySoundClass.ml index e3fb8806..2bb64857 100644 --- a/SpriteKit/SKPlaySoundClass.ml +++ b/SpriteKit/SKPlaySoundClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skplaysound?language=objc}SKPlaySound} *) -let self = get_class "SKPlaySound" - let playSoundFileNamed x ~atPosition ~waitForCompletion self = msg_send ~self ~cmd:(selector "playSoundFileNamed:atPosition:waitForCompletion:") ~typ:(id @-> CGPoint.t @-> bool @-> returning id) x atPosition waitForCompletion let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKPositionConstraint.ml b/SpriteKit/SKPositionConstraint.ml index c1ac6f79..0195743c 100644 --- a/SpriteKit/SKPositionConstraint.ml +++ b/SpriteKit/SKPositionConstraint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skpositionconstraint?language=objc}SKPositionConstraint} *) +let self = get_class "SKPositionConstraint" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKPositionConstraintClass.ml b/SpriteKit/SKPositionConstraintClass.ml index 90802976..20753838 100644 --- a/SpriteKit/SKPositionConstraintClass.ml +++ b/SpriteKit/SKPositionConstraintClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skpositionconstraint?language=objc}SKPositionConstraint} *) -let self = get_class "SKPositionConstraint" - let constraintWithXRange x self = msg_send ~self ~cmd:(selector "constraintWithXRange:") ~typ:(id @-> returning id) x let constraintWithXRange' x ~_YRange self = msg_send ~self ~cmd:(selector "constraintWithXRange:YRange:") ~typ:(id @-> id @-> returning id) x _YRange let constraintWithYRange x self = msg_send ~self ~cmd:(selector "constraintWithYRange:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKRadialGravityFieldNode.ml b/SpriteKit/SKRadialGravityFieldNode.ml index f07ec3ec..31a1f210 100644 --- a/SpriteKit/SKRadialGravityFieldNode.ml +++ b/SpriteKit/SKRadialGravityFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skradialgravityfieldnode?language=objc}SKRadialGravityFieldNode} *) +let self = get_class "SKRadialGravityFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKRadialGravityFieldNodeClass.ml b/SpriteKit/SKRadialGravityFieldNodeClass.ml index 6aaa9722..589602a3 100644 --- a/SpriteKit/SKRadialGravityFieldNodeClass.ml +++ b/SpriteKit/SKRadialGravityFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skradialgravityfieldnode?language=objc}SKRadialGravityFieldNode} *) -let self = get_class "SKRadialGravityFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKRange.ml b/SpriteKit/SKRange.ml index e6b254df..a97c7d35 100644 --- a/SpriteKit/SKRange.ml +++ b/SpriteKit/SKRange.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrange?language=objc}SKRange} *) +let self = get_class "SKRange" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKRangeClass.ml b/SpriteKit/SKRangeClass.ml index ce8a9299..9281b9f0 100644 --- a/SpriteKit/SKRangeClass.ml +++ b/SpriteKit/SKRangeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrange?language=objc}SKRange} *) -let self = get_class "SKRange" - let rangeWithConstantValue x self = msg_send ~self ~cmd:(selector "rangeWithConstantValue:") ~typ:(double @-> returning id) x let rangeWithLowerLimit x self = msg_send ~self ~cmd:(selector "rangeWithLowerLimit:") ~typ:(double @-> returning id) x let rangeWithLowerLimit' x ~upperLimit self = msg_send ~self ~cmd:(selector "rangeWithLowerLimit:upperLimit:") ~typ:(double @-> double @-> returning id) x upperLimit diff --git a/SpriteKit/SKReach.ml b/SpriteKit/SKReach.ml index 2ab89f7e..14de280d 100644 --- a/SpriteKit/SKReach.ml +++ b/SpriteKit/SKReach.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreach?language=objc}SKReach} *) +let self = get_class "SKReach" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let solveIKWithTarget x self = msg_send ~self ~cmd:(selector "solveIKWithTarget:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKReachClass.ml b/SpriteKit/SKReachClass.ml index 5c3f20d5..559b8d96 100644 --- a/SpriteKit/SKReachClass.ml +++ b/SpriteKit/SKReachClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreach?language=objc}SKReach} *) -let self = get_class "SKReach" - let reachTo x ~rootNode ~duration self = msg_send ~self ~cmd:(selector "reachTo:rootNode:duration:") ~typ:(CGPoint.t @-> id @-> double @-> returning id) x rootNode duration let reachTo1 x ~rootNode ~velocity self = msg_send ~self ~cmd:(selector "reachTo:rootNode:velocity:") ~typ:(CGPoint.t @-> id @-> double @-> returning id) x rootNode velocity let reachTo2 x ~rootNode ~duration ~maxZRotationSpeed self = msg_send ~self ~cmd:(selector "reachTo:rootNode:duration:maxZRotationSpeed:") ~typ:(CGPoint.t @-> id @-> double @-> double @-> returning id) x rootNode duration maxZRotationSpeed diff --git a/SpriteKit/SKReachConstraints.ml b/SpriteKit/SKReachConstraints.ml index ee0fe9e7..5bcf596d 100644 --- a/SpriteKit/SKReachConstraints.ml +++ b/SpriteKit/SKReachConstraints.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreachconstraints?language=objc}SKReachConstraints} *) +let self = get_class "SKReachConstraints" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKReachConstraintsClass.ml b/SpriteKit/SKReachConstraintsClass.ml index b63226cf..2710a8f8 100644 --- a/SpriteKit/SKReachConstraintsClass.ml +++ b/SpriteKit/SKReachConstraintsClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreachconstraints?language=objc}SKReachConstraints} *) -let self = get_class "SKReachConstraints" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKReferenceNode.ml b/SpriteKit/SKReferenceNode.ml index c3459ff8..0b978871 100644 --- a/SpriteKit/SKReferenceNode.ml +++ b/SpriteKit/SKReferenceNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreferencenode?language=objc}SKReferenceNode} *) +let self = get_class "SKReferenceNode" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let didLoadReferenceNode x self = msg_send ~self ~cmd:(selector "didLoadReferenceNode:") ~typ:(id @-> returning void) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKReferenceNodeClass.ml b/SpriteKit/SKReferenceNodeClass.ml index 83e4ba6a..6dec8952 100644 --- a/SpriteKit/SKReferenceNodeClass.ml +++ b/SpriteKit/SKReferenceNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreferencenode?language=objc}SKReferenceNode} *) -let self = get_class "SKReferenceNode" - let nodeWithFileNamed x self = msg_send ~self ~cmd:(selector "nodeWithFileNamed:") ~typ:(id @-> returning id) x let referenceNodeWithFileNamed x self = msg_send ~self ~cmd:(selector "referenceNodeWithFileNamed:") ~typ:(id @-> returning id) x let referenceNodeWithURL x self = msg_send ~self ~cmd:(selector "referenceNodeWithURL:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKReferencedAction.ml b/SpriteKit/SKReferencedAction.ml index bc940cc2..54500971 100644 --- a/SpriteKit/SKReferencedAction.ml +++ b/SpriteKit/SKReferencedAction.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreferencedaction?language=objc}SKReferencedAction} *) +let self = get_class "SKReferencedAction" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKReferencedActionClass.ml b/SpriteKit/SKReferencedActionClass.ml index 19f7df07..9a9b882a 100644 --- a/SpriteKit/SKReferencedActionClass.ml +++ b/SpriteKit/SKReferencedActionClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skreferencedaction?language=objc}SKReferencedAction} *) -let self = get_class "SKReferencedAction" - let referenceActionWithName x ~duration self = msg_send ~self ~cmd:(selector "referenceActionWithName:duration:") ~typ:(id @-> double @-> returning id) x duration let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKRegion.ml b/SpriteKit/SKRegion.ml index 5ba70552..ae66777b 100644 --- a/SpriteKit/SKRegion.ml +++ b/SpriteKit/SKRegion.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skregion?language=objc}SKRegion} *) +let self = get_class "SKRegion" + let containsPoint x self = msg_send ~self ~cmd:(selector "containsPoint:") ~typ:(CGPoint.t @-> returning bool) x let containsPoints x ~locationStride ~results ~resultsStride ~count self = msg_send ~self ~cmd:(selector "containsPoints:locationStride:results:resultsStride:count:") ~typ:((ptr float) @-> llong @-> string @-> llong @-> int @-> returning void) x (LLong.of_int locationStride) results (LLong.of_int resultsStride) count let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x diff --git a/SpriteKit/SKRegionClass.ml b/SpriteKit/SKRegionClass.ml index e0c1f622..936ea7e9 100644 --- a/SpriteKit/SKRegionClass.ml +++ b/SpriteKit/SKRegionClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skregion?language=objc}SKRegion} *) -let self = get_class "SKRegion" - let infiniteRegion self = msg_send ~self ~cmd:(selector "infiniteRegion") ~typ:(returning id) let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKRemove.ml b/SpriteKit/SKRemove.ml index 9b1c05fe..2f975fa5 100644 --- a/SpriteKit/SKRemove.ml +++ b/SpriteKit/SKRemove.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skremove?language=objc}SKRemove} *) +let self = get_class "SKRemove" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKRemoveClass.ml b/SpriteKit/SKRemoveClass.ml index b1ad8f0d..f28d79fb 100644 --- a/SpriteKit/SKRemoveClass.ml +++ b/SpriteKit/SKRemoveClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skremove?language=objc}SKRemove} *) -let self = get_class "SKRemove" - let removeFromParent self = msg_send ~self ~cmd:(selector "removeFromParent") ~typ:(returning id) let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKRenderer.ml b/SpriteKit/SKRenderer.ml index 7549d796..1308667a 100644 --- a/SpriteKit/SKRenderer.ml +++ b/SpriteKit/SKRenderer.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrenderer?language=objc}SKRenderer} *) +let self = get_class "SKRenderer" + let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let ignoresSiblingOrder self = msg_send ~self ~cmd:(selector "ignoresSiblingOrder") ~typ:(returning bool) let initWithSKCRenderer x self = msg_send ~self ~cmd:(selector "initWithSKCRenderer:") ~typ:((ptr void) @-> returning id) x diff --git a/SpriteKit/SKRendererClass.ml b/SpriteKit/SKRendererClass.ml index a57437a6..0d3c5365 100644 --- a/SpriteKit/SKRendererClass.ml +++ b/SpriteKit/SKRendererClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrenderer?language=objc}SKRenderer} *) -let self = get_class "SKRenderer" - let rendererWithDevice x self = msg_send ~self ~cmd:(selector "rendererWithDevice:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKRepeat.ml b/SpriteKit/SKRepeat.ml index fd22ec1f..27218cdb 100644 --- a/SpriteKit/SKRepeat.ml +++ b/SpriteKit/SKRepeat.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrepeat?language=objc}SKRepeat} *) +let self = get_class "SKRepeat" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKRepeatClass.ml b/SpriteKit/SKRepeatClass.ml index bf7e72e8..c33a672a 100644 --- a/SpriteKit/SKRepeatClass.ml +++ b/SpriteKit/SKRepeatClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrepeat?language=objc}SKRepeat} *) -let self = get_class "SKRepeat" - let repeatAction x ~count self = msg_send ~self ~cmd:(selector "repeatAction:count:") ~typ:(id @-> ullong @-> returning id) x (ULLong.of_int count) let repeatActionForever x self = msg_send ~self ~cmd:(selector "repeatActionForever:") ~typ:(id @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKResize.ml b/SpriteKit/SKResize.ml index cddb7250..20212e01 100644 --- a/SpriteKit/SKResize.ml +++ b/SpriteKit/SKResize.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skresize?language=objc}SKResize} *) +let self = get_class "SKResize" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKResizeClass.ml b/SpriteKit/SKResizeClass.ml index ccd95ece..bd5281de 100644 --- a/SpriteKit/SKResizeClass.ml +++ b/SpriteKit/SKResizeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skresize?language=objc}SKResize} *) -let self = get_class "SKResize" - let resizeByWidth x ~height ~duration self = msg_send ~self ~cmd:(selector "resizeByWidth:height:duration:") ~typ:(double @-> double @-> double @-> returning id) x height duration let resizeToHeight x ~duration self = msg_send ~self ~cmd:(selector "resizeToHeight:duration:") ~typ:(double @-> double @-> returning id) x duration let resizeToWidth x ~duration self = msg_send ~self ~cmd:(selector "resizeToWidth:duration:") ~typ:(double @-> double @-> returning id) x duration diff --git a/SpriteKit/SKRotate.ml b/SpriteKit/SKRotate.ml index 265c6089..a83c2694 100644 --- a/SpriteKit/SKRotate.ml +++ b/SpriteKit/SKRotate.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrotate?language=objc}SKRotate} *) +let self = get_class "SKRotate" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKRotateClass.ml b/SpriteKit/SKRotateClass.ml index 961445b0..d4b51ffc 100644 --- a/SpriteKit/SKRotateClass.ml +++ b/SpriteKit/SKRotateClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrotate?language=objc}SKRotate} *) -let self = get_class "SKRotate" - let rotateByAngle x ~duration self = msg_send ~self ~cmd:(selector "rotateByAngle:duration:") ~typ:(double @-> double @-> returning id) x duration let rotateByX x ~duration self = msg_send ~self ~cmd:(selector "rotateByX:duration:") ~typ:(double @-> double @-> returning id) x duration let rotateByX' x ~y ~z ~duration self = msg_send ~self ~cmd:(selector "rotateByX:y:z:duration:") ~typ:(double @-> double @-> double @-> double @-> returning id) x y z duration diff --git a/SpriteKit/SKRotationConstraint.ml b/SpriteKit/SKRotationConstraint.ml index 1c7eec99..48c103b5 100644 --- a/SpriteKit/SKRotationConstraint.ml +++ b/SpriteKit/SKRotationConstraint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrotationconstraint?language=objc}SKRotationConstraint} *) +let self = get_class "SKRotationConstraint" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKRotationConstraintClass.ml b/SpriteKit/SKRotationConstraintClass.ml index c7baa8f8..9e7b9e92 100644 --- a/SpriteKit/SKRotationConstraintClass.ml +++ b/SpriteKit/SKRotationConstraintClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrotationconstraint?language=objc}SKRotationConstraint} *) -let self = get_class "SKRotationConstraint" - let constraintWithZRotationRange x self = msg_send ~self ~cmd:(selector "constraintWithZRotationRange:") ~typ:(id @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKRunAction.ml b/SpriteKit/SKRunAction.ml index 20e0cf84..f4f63c69 100644 --- a/SpriteKit/SKRunAction.ml +++ b/SpriteKit/SKRunAction.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrunaction?language=objc}SKRunAction} *) +let self = get_class "SKRunAction" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKRunActionClass.ml b/SpriteKit/SKRunActionClass.ml index 82869725..cf559914 100644 --- a/SpriteKit/SKRunActionClass.ml +++ b/SpriteKit/SKRunActionClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrunaction?language=objc}SKRunAction} *) -let self = get_class "SKRunAction" - let runAction x ~afterActionWithKey self = msg_send ~self ~cmd:(selector "runAction:afterActionWithKey:") ~typ:(id @-> id @-> returning id) x afterActionWithKey let runAction' x ~onFirstChildWithName self = msg_send ~self ~cmd:(selector "runAction:onFirstChildWithName:") ~typ:(id @-> id @-> returning id) x onFirstChildWithName let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKRunBlock.ml b/SpriteKit/SKRunBlock.ml index 090654df..1770324e 100644 --- a/SpriteKit/SKRunBlock.ml +++ b/SpriteKit/SKRunBlock.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrunblock?language=objc}SKRunBlock} *) +let self = get_class "SKRunBlock" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKRunBlockClass.ml b/SpriteKit/SKRunBlockClass.ml index 1e83e7b5..bb391b53 100644 --- a/SpriteKit/SKRunBlockClass.ml +++ b/SpriteKit/SKRunBlockClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skrunblock?language=objc}SKRunBlock} *) -let self = get_class "SKRunBlock" - let runBlock x ~queue self = msg_send ~self ~cmd:(selector "runBlock:queue:") ~typ:((ptr void) @-> id @-> returning id) x queue let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKSCNRenderer.ml b/SpriteKit/SKSCNRenderer.ml index c697fd16..dfbbbf58 100644 --- a/SpriteKit/SKSCNRenderer.ml +++ b/SpriteKit/SKSCNRenderer.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscnrenderer?language=objc}SKSCNRenderer} *) +let self = get_class "SKSCNRenderer" + let backingScaleFactor self = msg_send ~self ~cmd:(selector "backingScaleFactor") ~typ:(returning double) let bounds self = msg_send ~self ~cmd:(selector "bounds") ~typ:(returning CGRect.t) let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) diff --git a/SpriteKit/SKSCNRendererClass.ml b/SpriteKit/SKSCNRendererClass.ml index eb2822b0..cdbbd112 100644 --- a/SpriteKit/SKSCNRendererClass.ml +++ b/SpriteKit/SKSCNRendererClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscnrenderer?language=objc}SKSCNRenderer} *) -let self = get_class "SKSCNRenderer" - let getOpenGLFramebuffer x self = msg_send ~self ~cmd:(selector "getOpenGLFramebuffer:") ~typ:(id @-> returning int) x let rendererWithContext x ~options self = msg_send ~self ~cmd:(selector "rendererWithContext:options:") ~typ:(id @-> id @-> returning id) x options let rendererWithDevice x ~options self = msg_send ~self ~cmd:(selector "rendererWithDevice:options:") ~typ:(id @-> id @-> returning id) x options diff --git a/SpriteKit/SKScale.ml b/SpriteKit/SKScale.ml index 4ab2a0f4..a829c122 100644 --- a/SpriteKit/SKScale.ml +++ b/SpriteKit/SKScale.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscale?language=objc}SKScale} *) +let self = get_class "SKScale" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKScaleClass.ml b/SpriteKit/SKScaleClass.ml index 547ad97d..c048211c 100644 --- a/SpriteKit/SKScaleClass.ml +++ b/SpriteKit/SKScaleClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscale?language=objc}SKScale} *) -let self = get_class "SKScale" - let scaleBy x ~duration self = msg_send ~self ~cmd:(selector "scaleBy:duration:") ~typ:(double @-> double @-> returning id) x duration let scaleTo x ~duration self = msg_send ~self ~cmd:(selector "scaleTo:duration:") ~typ:(double @-> double @-> returning id) x duration let scaleToSize x ~duration self = msg_send ~self ~cmd:(selector "scaleToSize:duration:") ~typ:(CGSize.t @-> double @-> returning id) x duration diff --git a/SpriteKit/SKScaleConstraint.ml b/SpriteKit/SKScaleConstraint.ml index 3e034d28..291ad01a 100644 --- a/SpriteKit/SKScaleConstraint.ml +++ b/SpriteKit/SKScaleConstraint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscaleconstraint?language=objc}SKScaleConstraint} *) +let self = get_class "SKScaleConstraint" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKScaleConstraintClass.ml b/SpriteKit/SKScaleConstraintClass.ml index caa337fc..f086224b 100644 --- a/SpriteKit/SKScaleConstraintClass.ml +++ b/SpriteKit/SKScaleConstraintClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscaleconstraint?language=objc}SKScaleConstraint} *) -let self = get_class "SKScaleConstraint" - let constraintWithScaleRange x self = msg_send ~self ~cmd:(selector "constraintWithScaleRange:") ~typ:(id @-> returning id) x let constraintWithXRange x self = msg_send ~self ~cmd:(selector "constraintWithXRange:") ~typ:(id @-> returning id) x let constraintWithXRange' x ~_YRange self = msg_send ~self ~cmd:(selector "constraintWithXRange:YRange:") ~typ:(id @-> id @-> returning id) x _YRange diff --git a/SpriteKit/SKScene.ml b/SpriteKit/SKScene.ml index 555df556..514fb06c 100644 --- a/SpriteKit/SKScene.ml +++ b/SpriteKit/SKScene.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscene?language=objc}SKScene} *) +let self = get_class "SKScene" + let accessibilityParent self = msg_send ~self ~cmd:(selector "accessibilityParent") ~typ:(returning id) let anchorPoint self = msg_send ~self ~cmd:(selector "anchorPoint") ~typ:(returning CGPoint.t) let audioEngine self = msg_send ~self ~cmd:(selector "audioEngine") ~typ:(returning id) diff --git a/SpriteKit/SKSceneClass.ml b/SpriteKit/SKSceneClass.ml index 8b36279a..c701d447 100644 --- a/SpriteKit/SKSceneClass.ml +++ b/SpriteKit/SKSceneClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skscene?language=objc}SKScene} *) -let self = get_class "SKScene" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let sceneWithContentsOfFile x self = msg_send ~self ~cmd:(selector "sceneWithContentsOfFile:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKSceneUnarchiveDummy.ml b/SpriteKit/SKSceneUnarchiveDummy.ml new file mode 100644 index 00000000..c4c5cb21 --- /dev/null +++ b/SpriteKit/SKSceneUnarchiveDummy.ml @@ -0,0 +1,16 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksceneunarchivedummy?language=objc}SKSceneUnarchiveDummy} *) + +let self = get_class "SKSceneUnarchiveDummy" + +let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x +let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKTransformNodeClass.ml b/SpriteKit/SKSceneUnarchiveDummyClass.ml similarity index 53% rename from SpriteKit/SKTransformNodeClass.ml rename to SpriteKit/SKSceneUnarchiveDummyClass.ml index e539f4c9..f5a209e1 100644 --- a/SpriteKit/SKTransformNodeClass.ml +++ b/SpriteKit/SKSceneUnarchiveDummyClass.ml @@ -5,13 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktransformnode?language=objc}SKTransformNode} *) - -let self = get_class "SKTransformNode" +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksceneunarchivedummy?language=objc}SKSceneUnarchiveDummy} *) +let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKSequence.ml b/SpriteKit/SKSequence.ml index b96508db..aece74e4 100644 --- a/SpriteKit/SKSequence.ml +++ b/SpriteKit/SKSequence.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksequence?language=objc}SKSequence} *) +let self = get_class "SKSequence" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKSequenceClass.ml b/SpriteKit/SKSequenceClass.ml index 3ef92dd8..285d3624 100644 --- a/SpriteKit/SKSequenceClass.ml +++ b/SpriteKit/SKSequenceClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksequence?language=objc}SKSequence} *) -let self = get_class "SKSequence" - let sequenceWithActions x self = msg_send ~self ~cmd:(selector "sequenceWithActions:") ~typ:(id @-> returning id) x let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKShader.ml b/SpriteKit/SKShader.ml index d47a05c3..1656d2df 100644 --- a/SpriteKit/SKShader.ml +++ b/SpriteKit/SKShader.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skshader?language=objc}SKShader} *) +let self = get_class "SKShader" + let addUniform x self = msg_send ~self ~cmd:(selector "addUniform:") ~typ:(id @-> returning void) x let attributes self = msg_send ~self ~cmd:(selector "attributes") ~typ:(returning id) let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x diff --git a/SpriteKit/SKShaderClass.ml b/SpriteKit/SKShaderClass.ml index bdc1e98a..5fa295e9 100644 --- a/SpriteKit/SKShaderClass.ml +++ b/SpriteKit/SKShaderClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skshader?language=objc}SKShader} *) -let self = get_class "SKShader" - let precompiledMetalShaderWithFile x ~uniforms self = msg_send ~self ~cmd:(selector "precompiledMetalShaderWithFile:uniforms:") ~typ:(id @-> id @-> returning id) x uniforms let shader self = msg_send ~self ~cmd:(selector "shader") ~typ:(returning id) let shaderWithFileNamed x self = msg_send ~self ~cmd:(selector "shaderWithFileNamed:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKShapeNode.ml b/SpriteKit/SKShapeNode.ml index 2e9c37b4..989fc8e0 100644 --- a/SpriteKit/SKShapeNode.ml +++ b/SpriteKit/SKShapeNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skshapenode?language=objc}SKShapeNode} *) +let self = get_class "SKShapeNode" + let blendMode self = msg_send ~self ~cmd:(selector "blendMode") ~typ:(returning llong) let containsPoint x self = msg_send ~self ~cmd:(selector "containsPoint:") ~typ:(CGPoint.t @-> returning bool) x let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x diff --git a/SpriteKit/SKShapeNodeClass.ml b/SpriteKit/SKShapeNodeClass.ml index ab811ac9..b4af1cc9 100644 --- a/SpriteKit/SKShapeNodeClass.ml +++ b/SpriteKit/SKShapeNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skshapenode?language=objc}SKShapeNode} *) -let self = get_class "SKShapeNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let shapeNodeWithCircleOfRadius x self = msg_send ~self ~cmd:(selector "shapeNodeWithCircleOfRadius:") ~typ:(double @-> returning id) x diff --git a/SpriteKit/SKSizeConstraint.ml b/SpriteKit/SKSizeConstraint.ml index 4899ccfb..c30045cf 100644 --- a/SpriteKit/SKSizeConstraint.ml +++ b/SpriteKit/SKSizeConstraint.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksizeconstraint?language=objc}SKSizeConstraint} *) +let self = get_class "SKSizeConstraint" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let heightRange self = msg_send ~self ~cmd:(selector "heightRange") ~typ:(returning id) diff --git a/SpriteKit/SKSizeConstraintClass.ml b/SpriteKit/SKSizeConstraintClass.ml index 210f46bb..fd30557a 100644 --- a/SpriteKit/SKSizeConstraintClass.ml +++ b/SpriteKit/SKSizeConstraintClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksizeconstraint?language=objc}SKSizeConstraint} *) -let self = get_class "SKSizeConstraint" - let constraintWithHeightRange x self = msg_send ~self ~cmd:(selector "constraintWithHeightRange:") ~typ:(id @-> returning id) x let constraintWithWidthRange x self = msg_send ~self ~cmd:(selector "constraintWithWidthRange:") ~typ:(id @-> returning id) x let constraintWithWidthRange' x ~heightRange self = msg_send ~self ~cmd:(selector "constraintWithWidthRange:heightRange:") ~typ:(id @-> id @-> returning id) x heightRange diff --git a/SpriteKit/SKSoundBuffer.ml b/SpriteKit/SKSoundBuffer.ml index 4b523b14..a7f83ec4 100644 --- a/SpriteKit/SKSoundBuffer.ml +++ b/SpriteKit/SKSoundBuffer.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksoundbuffer?language=objc}SKSoundBuffer} *) +let self = get_class "SKSoundBuffer" + let bufferId self = msg_send ~self ~cmd:(selector "bufferId") ~typ:(returning uint) let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) diff --git a/SpriteKit/SKSoundBufferClass.ml b/SpriteKit/SKSoundBufferClass.ml index 6dc5566c..3b838945 100644 --- a/SpriteKit/SKSoundBufferClass.ml +++ b/SpriteKit/SKSoundBufferClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksoundbuffer?language=objc}SKSoundBuffer} *) -let self = get_class "SKSoundBuffer" - let bufferWithFileNamed x self = msg_send ~self ~cmd:(selector "bufferWithFileNamed:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKSoundContext.ml b/SpriteKit/SKSoundContext.ml index 8550226f..40f96c4b 100644 --- a/SpriteKit/SKSoundContext.ml +++ b/SpriteKit/SKSoundContext.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksoundcontext?language=objc}SKSoundContext} *) +let self = get_class "SKSoundContext" + let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let gain self = msg_send ~self ~cmd:(selector "gain") ~typ:(returning double) let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKSoundContextClass.ml b/SpriteKit/SKSoundContextClass.ml index a668a31a..5a67ce70 100644 --- a/SpriteKit/SKSoundContextClass.ml +++ b/SpriteKit/SKSoundContextClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksoundcontext?language=objc}SKSoundContext} *) -let self = get_class "SKSoundContext" - let context self = msg_send ~self ~cmd:(selector "context") ~typ:(returning id) let currentContext self = msg_send ~self ~cmd:(selector "currentContext") ~typ:(returning id) \ No newline at end of file diff --git a/SpriteKit/SKSoundSource.ml b/SpriteKit/SKSoundSource.ml index 5e9055e8..e80c9538 100644 --- a/SpriteKit/SKSoundSource.ml +++ b/SpriteKit/SKSoundSource.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksoundsource?language=objc}SKSoundSource} *) +let self = get_class "SKSoundSource" + let completedBufferCount self = msg_send ~self ~cmd:(selector "completedBufferCount") ~typ:(returning int) let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) diff --git a/SpriteKit/SKSoundSourceClass.ml b/SpriteKit/SKSoundSourceClass.ml index b20cb6ff..98997a4c 100644 --- a/SpriteKit/SKSoundSourceClass.ml +++ b/SpriteKit/SKSoundSourceClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sksoundsource?language=objc}SKSoundSource} *) -let self = get_class "SKSoundSource" - let source self = msg_send ~self ~cmd:(selector "source") ~typ:(returning id) let sourceWithBuffer x self = msg_send ~self ~cmd:(selector "sourceWithBuffer:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKSpeed.ml b/SpriteKit/SKSpeed.ml index 50db7ed9..3798de52 100644 --- a/SpriteKit/SKSpeed.ml +++ b/SpriteKit/SKSpeed.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skspeed?language=objc}SKSpeed} *) +let self = get_class "SKSpeed" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKSpeedClass.ml b/SpriteKit/SKSpeedClass.ml index bad34e57..398a820d 100644 --- a/SpriteKit/SKSpeedClass.ml +++ b/SpriteKit/SKSpeedClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skspeed?language=objc}SKSpeed} *) -let self = get_class "SKSpeed" - let speedBy x ~duration self = msg_send ~self ~cmd:(selector "speedBy:duration:") ~typ:(double @-> double @-> returning id) x duration let speedTo x ~duration self = msg_send ~self ~cmd:(selector "speedTo:duration:") ~typ:(double @-> double @-> returning id) x duration let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKSpringFieldNode.ml b/SpriteKit/SKSpringFieldNode.ml index 750b387f..6977bc25 100644 --- a/SpriteKit/SKSpringFieldNode.ml +++ b/SpriteKit/SKSpringFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skspringfieldnode?language=objc}SKSpringFieldNode} *) +let self = get_class "SKSpringFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKSpringFieldNodeClass.ml b/SpriteKit/SKSpringFieldNodeClass.ml index d4ba3c93..12ab8569 100644 --- a/SpriteKit/SKSpringFieldNodeClass.ml +++ b/SpriteKit/SKSpringFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skspringfieldnode?language=objc}SKSpringFieldNode} *) -let self = get_class "SKSpringFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKSpriteNode.ml b/SpriteKit/SKSpriteNode.ml index 0705178a..0979fdca 100644 --- a/SpriteKit/SKSpriteNode.ml +++ b/SpriteKit/SKSpriteNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skspritenode?language=objc}SKSpriteNode} *) +let self = get_class "SKSpriteNode" + let accessibilityLabel self = msg_send ~self ~cmd:(selector "accessibilityLabel") ~typ:(returning id) let anchorPoint self = msg_send ~self ~cmd:(selector "anchorPoint") ~typ:(returning CGPoint.t) let blendMode self = msg_send ~self ~cmd:(selector "blendMode") ~typ:(returning llong) diff --git a/SpriteKit/SKSpriteNodeClass.ml b/SpriteKit/SKSpriteNodeClass.ml index 4334d886..3d11a832 100644 --- a/SpriteKit/SKSpriteNodeClass.ml +++ b/SpriteKit/SKSpriteNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skspritenode?language=objc}SKSpriteNode} *) -let self = get_class "SKSpriteNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let spriteNodeWithColor x ~size self = msg_send ~self ~cmd:(selector "spriteNodeWithColor:size:") ~typ:(id @-> CGSize.t @-> returning id) x size diff --git a/SpriteKit/SKStrength.ml b/SpriteKit/SKStrength.ml index d12fcc44..f6963a39 100644 --- a/SpriteKit/SKStrength.ml +++ b/SpriteKit/SKStrength.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skstrength?language=objc}SKStrength} *) +let self = get_class "SKStrength" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKStrengthClass.ml b/SpriteKit/SKStrengthClass.ml index 1b469c99..501cd0fa 100644 --- a/SpriteKit/SKStrengthClass.ml +++ b/SpriteKit/SKStrengthClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skstrength?language=objc}SKStrength} *) -let self = get_class "SKStrength" - let strengthBy x ~duration self = msg_send ~self ~cmd:(selector "strengthBy:duration:") ~typ:(double @-> double @-> returning id) x duration let strengthTo x ~duration self = msg_send ~self ~cmd:(selector "strengthTo:duration:") ~typ:(double @-> double @-> returning id) x duration let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKTexture.ml b/SpriteKit/SKTexture.ml index d2a44895..c9b2da86 100644 --- a/SpriteKit/SKTexture.ml +++ b/SpriteKit/SKTexture.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktexture?language=objc}SKTexture} *) +let self = get_class "SKTexture" + let _CGImage self = msg_send ~self ~cmd:(selector "CGImage") ~typ:(returning (ptr CGImage.t)) let accessibilityLabel self = msg_send ~self ~cmd:(selector "accessibilityLabel") ~typ:(returning id) let alphaMap self = msg_send ~self ~cmd:(selector "alphaMap") ~typ:(returning (ptr uint)) @@ -31,8 +30,8 @@ let imageNameOrPath self = msg_send ~self ~cmd:(selector "imageNameOrPath") ~typ let imgName self = msg_send ~self ~cmd:(selector "imgName") ~typ:(returning id) let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initTextureCacheWithImageData self = msg_send ~self ~cmd:(selector "initTextureCacheWithImageData") ~typ:(returning void) -let initWithBackingTetxure x self = msg_send ~self ~cmd:(selector "initWithBackingTetxure:") ~typ:(ptr void @-> returning id) x -let initWithBackingTetxure' x ~logicalWidth ~height self = msg_send ~self ~cmd:(selector "initWithBackingTetxure:logicalWidth:height:") ~typ:(ptr void @-> float @-> float @-> returning id) x logicalWidth height +let initWithBackingTetxure x self = msg_send ~self ~cmd:(selector "initWithBackingTetxure:") ~typ:(id @-> returning id) x +let initWithBackingTetxure' x ~logicalWidth ~height self = msg_send ~self ~cmd:(selector "initWithBackingTetxure:logicalWidth:height:") ~typ:(id @-> float @-> float @-> returning id) x logicalWidth height let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x let initWithImageNamed x self = msg_send ~self ~cmd:(selector "initWithImageNamed:") ~typ:(id @-> returning id) x let initWithImagePath x self = msg_send ~self ~cmd:(selector "initWithImagePath:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKTextureAtlas.ml b/SpriteKit/SKTextureAtlas.ml index 21e15794..c01044d3 100644 --- a/SpriteKit/SKTextureAtlas.ml +++ b/SpriteKit/SKTextureAtlas.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktextureatlas?language=objc}SKTextureAtlas} *) +let self = get_class "SKTextureAtlas" + let commonInit self = msg_send ~self ~cmd:(selector "commonInit") ~typ:(returning void) let createSubTextureFromTexture x ~andCUINamedImage ~andOrigin self = msg_send ~self ~cmd:(selector "createSubTextureFromTexture:andCUINamedImage:andOrigin:") ~typ:(id @-> id @-> CGPoint.t @-> returning id) x andCUINamedImage andOrigin let createTextureFromProvider x ~andSource self = msg_send ~self ~cmd:(selector "createTextureFromProvider:andSource:") ~typ:((ptr void) @-> (ptr CGImage.t) @-> returning id) x andSource diff --git a/SpriteKit/SKTextureAtlasClass.ml b/SpriteKit/SKTextureAtlasClass.ml index 5caba810..ddd958de 100644 --- a/SpriteKit/SKTextureAtlasClass.ml +++ b/SpriteKit/SKTextureAtlasClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktextureatlas?language=objc}SKTextureAtlas} *) -let self = get_class "SKTextureAtlas" - let atlasFromCUIImageAtlas x ~withName self = msg_send ~self ~cmd:(selector "atlasFromCUIImageAtlas:withName:") ~typ:(id @-> id @-> returning id) x withName let atlasNamed x self = msg_send ~self ~cmd:(selector "atlasNamed:") ~typ:(id @-> returning id) x let atlasWithDictionary x self = msg_send ~self ~cmd:(selector "atlasWithDictionary:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKTextureAtlasPacker.ml b/SpriteKit/SKTextureAtlasPacker.ml index 75bb07e1..9c82ccef 100644 --- a/SpriteKit/SKTextureAtlasPacker.ml +++ b/SpriteKit/SKTextureAtlasPacker.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktextureatlaspacker?language=objc}SKTextureAtlasPacker} *) +let self = get_class "SKTextureAtlasPacker" + let calcNonAlphaArea x self = msg_send ~self ~cmd:(selector "calcNonAlphaArea:") ~typ:((ptr CGImage.t) @-> returning CGRect.t) x let copyRotateCGImage x ~direction self = msg_send ~self ~cmd:(selector "copyRotateCGImage:direction:") ~typ:((ptr CGImage.t) @-> bool @-> returning (ptr CGImage.t)) x direction let generateMetaData self = msg_send ~self ~cmd:(selector "generateMetaData") ~typ:(returning id) @@ -20,4 +19,4 @@ let generateTextureAtlasImages x ~outputDictionary ~forcePOT self = msg_send ~se let getTextureFileList x ~modDate self = msg_send ~self ~cmd:(selector "getTextureFileList:modDate:") ~typ:(id @-> (ptr id) @-> returning id) x modDate let isFullyOpaque x self = msg_send ~self ~cmd:(selector "isFullyOpaque:") ~typ:((ptr CGImage.t) @-> returning bool) x let partitionTextureFilesByResolution x self = msg_send ~self ~cmd:(selector "partitionTextureFilesByResolution:") ~typ:(id @-> returning id) x -let processPackedTextureAtlas x ~suffix ~packer ~sortedTrimArray ~sortedTextureArray self = msg_send ~self ~cmd:(selector "processPackedTextureAtlas:suffix:packer:sortedTrimArray:sortedTextureArray:") ~typ:((ptr void) @-> id @-> ptr void @-> (ptr void) @-> (ptr void) @-> returning id) x suffix packer sortedTrimArray sortedTextureArray \ No newline at end of file +let processPackedTextureAtlas x ~suffix ~packer ~sortedTrimArray ~sortedTextureArray self = msg_send ~self ~cmd:(selector "processPackedTextureAtlas:suffix:packer:sortedTrimArray:sortedTextureArray:") ~typ:((ptr void) @-> id @-> id @-> (ptr void) @-> (ptr void) @-> returning id) x suffix packer sortedTrimArray sortedTextureArray \ No newline at end of file diff --git a/SpriteKit/SKTextureAtlasPackerClass.ml b/SpriteKit/SKTextureAtlasPackerClass.ml index 3f99cb25..bbc9f9e2 100644 --- a/SpriteKit/SKTextureAtlasPackerClass.ml +++ b/SpriteKit/SKTextureAtlasPackerClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktextureatlaspacker?language=objc}SKTextureAtlasPacker} *) -let self = get_class "SKTextureAtlasPacker" - let copyProcessedImageSource x self = msg_send ~self ~cmd:(selector "copyProcessedImageSource:") ~typ:(id @-> returning (ptr CGImage.t)) x \ No newline at end of file diff --git a/SpriteKit/SKTextureCache.ml b/SpriteKit/SKTextureCache.ml index 280bfbd9..4cf0f314 100644 --- a/SpriteKit/SKTextureCache.ml +++ b/SpriteKit/SKTextureCache.ml @@ -5,14 +5,14 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktexturecache?language=objc}SKTextureCache} *) +let self = get_class "SKTextureCache" + +let backingTexture self = msg_send ~self ~cmd:(selector "backingTexture") ~typ:(returning id) let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let filteringMode self = msg_send ~self ~cmd:(selector "filteringMode") ~typ:(returning llong) let getLock self = msg_send ~self ~cmd:(selector "getLock") ~typ:(returning (ptr void)) @@ -21,7 +21,7 @@ let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let isPOT self = msg_send ~self ~cmd:(selector "isPOT") ~typ:(returning bool) let pixelData self = msg_send ~self ~cmd:(selector "pixelData") ~typ:(returning string) let pixelSize self = msg_send ~self ~cmd:(selector "pixelSize") ~typ:(returning CGSize.t) -let setBackingTexture x self = msg_send ~self ~cmd:(selector "setBackingTexture:") ~typ:(ptr void @-> returning void) x +let setBackingTexture x self = msg_send ~self ~cmd:(selector "setBackingTexture:") ~typ:(id @-> returning void) x let setFilteringMode x self = msg_send ~self ~cmd:(selector "setFilteringMode:") ~typ:(llong @-> returning void) (LLong.of_int x) let setHasAlpha x self = msg_send ~self ~cmd:(selector "setHasAlpha:") ~typ:(bool @-> returning void) x let setIsPOT x self = msg_send ~self ~cmd:(selector "setIsPOT:") ~typ:(bool @-> returning void) x diff --git a/SpriteKit/SKTextureCacheClass.ml b/SpriteKit/SKTextureCacheClass.ml deleted file mode 100644 index 362eff35..00000000 --- a/SpriteKit/SKTextureCacheClass.ml +++ /dev/null @@ -1,17 +0,0 @@ -(* auto-generated, do not modify *) - -open Runtime -open Objc - -[@@@ocaml.warning "-33"] -open CoreFoundation -open CoreFoundation_globals -open CoreGraphics -open CoreGraphics_globals -open CoreText -open CoreText_globals - -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktexturecache?language=objc}SKTextureCache} *) - -let self = get_class "SKTextureCache" - diff --git a/SpriteKit/SKTextureClass.ml b/SpriteKit/SKTextureClass.ml index d68a77e6..0105d29d 100644 --- a/SpriteKit/SKTextureClass.ml +++ b/SpriteKit/SKTextureClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktexture?language=objc}SKTexture} *) -let self = get_class "SKTexture" - let lookupTextureCacheForName x self = msg_send ~self ~cmd:(selector "lookupTextureCacheForName:") ~typ:(id @-> returning id) x let preloadQueue self = msg_send ~self ~cmd:(selector "preloadQueue") ~typ:(returning id) let preloadTextures x ~withCompletionHandler self = msg_send ~self ~cmd:(selector "preloadTextures:withCompletionHandler:") ~typ:(id @-> (ptr void) @-> returning void) x withCompletionHandler diff --git a/SpriteKit/SKThreadSafeMapTable.ml b/SpriteKit/SKThreadSafeMapTable.ml index d2289219..3ab19670 100644 --- a/SpriteKit/SKThreadSafeMapTable.ml +++ b/SpriteKit/SKThreadSafeMapTable.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skthreadsafemaptable?language=objc}SKThreadSafeMapTable} *) +let self = get_class "SKThreadSafeMapTable" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) let forwardInvocation x self = msg_send ~self ~cmd:(selector "forwardInvocation:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKThreadSafeMapTableClass.ml b/SpriteKit/SKThreadSafeMapTableClass.ml index 33d4a135..8caf2fac 100644 --- a/SpriteKit/SKThreadSafeMapTableClass.ml +++ b/SpriteKit/SKThreadSafeMapTableClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skthreadsafemaptable?language=objc}SKThreadSafeMapTable} *) -let self = get_class "SKThreadSafeMapTable" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKThreadSafeMutableArray.ml b/SpriteKit/SKThreadSafeMutableArray.ml index bdf24b09..3187f3e9 100644 --- a/SpriteKit/SKThreadSafeMutableArray.ml +++ b/SpriteKit/SKThreadSafeMutableArray.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skthreadsafemutablearray?language=objc}SKThreadSafeMutableArray} *) +let self = get_class "SKThreadSafeMutableArray" + let arrayRepresentation self = msg_send ~self ~cmd:(selector "arrayRepresentation") ~typ:(returning id) let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) diff --git a/SpriteKit/SKThreadSafeMutableArrayClass.ml b/SpriteKit/SKThreadSafeMutableArrayClass.ml deleted file mode 100644 index b15cdbcc..00000000 --- a/SpriteKit/SKThreadSafeMutableArrayClass.ml +++ /dev/null @@ -1,17 +0,0 @@ -(* auto-generated, do not modify *) - -open Runtime -open Objc - -[@@@ocaml.warning "-33"] -open CoreFoundation -open CoreFoundation_globals -open CoreGraphics -open CoreGraphics_globals -open CoreText -open CoreText_globals - -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skthreadsafemutablearray?language=objc}SKThreadSafeMutableArray} *) - -let self = get_class "SKThreadSafeMutableArray" - diff --git a/SpriteKit/SKThreadSafeMutableDictionary.ml b/SpriteKit/SKThreadSafeMutableDictionary.ml index 058d3ead..fb84c7bb 100644 --- a/SpriteKit/SKThreadSafeMutableDictionary.ml +++ b/SpriteKit/SKThreadSafeMutableDictionary.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skthreadsafemutabledictionary?language=objc}SKThreadSafeMutableDictionary} *) +let self = get_class "SKThreadSafeMutableDictionary" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) let forwardInvocation x self = msg_send ~self ~cmd:(selector "forwardInvocation:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKThreadSafeMutableDictionaryClass.ml b/SpriteKit/SKThreadSafeMutableDictionaryClass.ml deleted file mode 100644 index b54ab59b..00000000 --- a/SpriteKit/SKThreadSafeMutableDictionaryClass.ml +++ /dev/null @@ -1,17 +0,0 @@ -(* auto-generated, do not modify *) - -open Runtime -open Objc - -[@@@ocaml.warning "-33"] -open CoreFoundation -open CoreFoundation_globals -open CoreGraphics -open CoreGraphics_globals -open CoreText -open CoreText_globals - -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skthreadsafemutabledictionary?language=objc}SKThreadSafeMutableDictionary} *) - -let self = get_class "SKThreadSafeMutableDictionary" - diff --git a/SpriteKit/SKTileDefinition.ml b/SpriteKit/SKTileDefinition.ml index be6bd0fc..b0f6ae64 100644 --- a/SpriteKit/SKTileDefinition.ml +++ b/SpriteKit/SKTileDefinition.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktiledefinition?language=objc}SKTileDefinition} *) +let self = get_class "SKTileDefinition" + let copy self = msg_send ~self ~cmd:(selector "copy") ~typ:(returning id) let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let currentFrameIndex self = msg_send ~self ~cmd:(selector "currentFrameIndex") ~typ:(returning ushort) diff --git a/SpriteKit/SKTileDefinitionClass.ml b/SpriteKit/SKTileDefinitionClass.ml index 61aa5710..78ec3731 100644 --- a/SpriteKit/SKTileDefinitionClass.ml +++ b/SpriteKit/SKTileDefinitionClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktiledefinition?language=objc}SKTileDefinition} *) -let self = get_class "SKTileDefinition" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let tileDefinitionWithTexture x self = msg_send ~self ~cmd:(selector "tileDefinitionWithTexture:") ~typ:(id @-> returning id) x let tileDefinitionWithTexture1 x ~size self = msg_send ~self ~cmd:(selector "tileDefinitionWithTexture:size:") ~typ:(id @-> CGSize.t @-> returning id) x size diff --git a/SpriteKit/SKTileGroup.ml b/SpriteKit/SKTileGroup.ml index 6feb4753..8f13cc33 100644 --- a/SpriteKit/SKTileGroup.ml +++ b/SpriteKit/SKTileGroup.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilegroup?language=objc}SKTileGroup} *) +let self = get_class "SKTileGroup" + let copy self = msg_send ~self ~cmd:(selector "copy") ~typ:(returning id) let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKTileGroupClass.ml b/SpriteKit/SKTileGroupClass.ml index 285838d1..4d9e3bb4 100644 --- a/SpriteKit/SKTileGroupClass.ml +++ b/SpriteKit/SKTileGroupClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilegroup?language=objc}SKTileGroup} *) -let self = get_class "SKTileGroup" - let emptyTileGroup self = msg_send ~self ~cmd:(selector "emptyTileGroup") ~typ:(returning id) let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let tileGroupWithRules x self = msg_send ~self ~cmd:(selector "tileGroupWithRules:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKTileGroupRule.ml b/SpriteKit/SKTileGroupRule.ml index 717d31ec..6dd8b018 100644 --- a/SpriteKit/SKTileGroupRule.ml +++ b/SpriteKit/SKTileGroupRule.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilegrouprule?language=objc}SKTileGroupRule} *) +let self = get_class "SKTileGroupRule" + let adjacency self = msg_send ~self ~cmd:(selector "adjacency") ~typ:(returning ullong) let calcTileDefinitionIDsWithTileSet x self = msg_send ~self ~cmd:(selector "calcTileDefinitionIDsWithTileSet:") ~typ:(id @-> returning void) x let copy self = msg_send ~self ~cmd:(selector "copy") ~typ:(returning id) diff --git a/SpriteKit/SKTileGroupRuleClass.ml b/SpriteKit/SKTileGroupRuleClass.ml index 4e0d44a9..8c137b54 100644 --- a/SpriteKit/SKTileGroupRuleClass.ml +++ b/SpriteKit/SKTileGroupRuleClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilegrouprule?language=objc}SKTileGroupRule} *) -let self = get_class "SKTileGroupRule" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let tileGroupRuleWithAdjacency x ~tileDefinitions self = msg_send ~self ~cmd:(selector "tileGroupRuleWithAdjacency:tileDefinitions:") ~typ:(ullong @-> id @-> returning id) (ULLong.of_int x) tileDefinitions \ No newline at end of file diff --git a/SpriteKit/SKTileMapNode.ml b/SpriteKit/SKTileMapNode.ml index 12dca59b..f89d2dd2 100644 --- a/SpriteKit/SKTileMapNode.ml +++ b/SpriteKit/SKTileMapNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilemapnode?language=objc}SKTileMapNode} *) +let self = get_class "SKTileMapNode" + let alpha self = msg_send ~self ~cmd:(selector "alpha") ~typ:(returning double) let anchorPoint self = msg_send ~self ~cmd:(selector "anchorPoint") ~typ:(returning CGPoint.t) let applyTileStamp x ~inColumn ~row self = msg_send ~self ~cmd:(selector "applyTileStamp:inColumn:row:") ~typ:(id @-> llong @-> llong @-> returning void) x (LLong.of_int inColumn) (LLong.of_int row) diff --git a/SpriteKit/SKTileMapNodeClass.ml b/SpriteKit/SKTileMapNodeClass.ml index fb05b5fa..36a684ce 100644 --- a/SpriteKit/SKTileMapNodeClass.ml +++ b/SpriteKit/SKTileMapNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilemapnode?language=objc}SKTileMapNode} *) -let self = get_class "SKTileMapNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) diff --git a/SpriteKit/SKTileSet.ml b/SpriteKit/SKTileSet.ml index 2c8bdeb0..58c74f00 100644 --- a/SpriteKit/SKTileSet.ml +++ b/SpriteKit/SKTileSet.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktileset?language=objc}SKTileSet} *) +let self = get_class "SKTileSet" + let calcDefaultTileSize self = msg_send ~self ~cmd:(selector "calcDefaultTileSize") ~typ:(returning void) let commonInit self = msg_send ~self ~cmd:(selector "commonInit") ~typ:(returning void) let copy self = msg_send ~self ~cmd:(selector "copy") ~typ:(returning id) diff --git a/SpriteKit/SKTileSetClass.ml b/SpriteKit/SKTileSetClass.ml index 6eb28757..d37040b3 100644 --- a/SpriteKit/SKTileSetClass.ml +++ b/SpriteKit/SKTileSetClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktileset?language=objc}SKTileSet} *) -let self = get_class "SKTileSet" - let clearTileSetTableCache self = msg_send ~self ~cmd:(selector "clearTileSetTableCache") ~typ:(returning void) let findTileSetInBundleNamed x self = msg_send ~self ~cmd:(selector "findTileSetInBundleNamed:") ~typ:(id @-> returning id) x let recursivePathsForResourcesOfType x ~inDirectory self = msg_send ~self ~cmd:(selector "recursivePathsForResourcesOfType:inDirectory:") ~typ:(id @-> id @-> returning id) x inDirectory diff --git a/SpriteKit/SKTileStamp.ml b/SpriteKit/SKTileStamp.ml index e75f6adb..a7cdb67c 100644 --- a/SpriteKit/SKTileStamp.ml +++ b/SpriteKit/SKTileStamp.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilestamp?language=objc}SKTileStamp} *) +let self = get_class "SKTileStamp" + let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKTileStampClass.ml b/SpriteKit/SKTileStampClass.ml index 0a580c9a..d4e25d24 100644 --- a/SpriteKit/SKTileStampClass.ml +++ b/SpriteKit/SKTileStampClass.ml @@ -5,15 +5,10 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktilestamp?language=objc}SKTileStamp} *) -let self = get_class "SKTileStamp" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let tileStampWithWidth x ~height ~tileData self = msg_send ~self ~cmd:(selector "tileStampWithWidth:height:tileData:") ~typ:(ullong @-> ullong @-> (ptr uint) @-> returning id) (ULLong.of_int x) (ULLong.of_int height) tileData \ No newline at end of file diff --git a/SpriteKit/SKTransformNode.ml b/SpriteKit/SKTransformNode.ml index 58a624dc..f28d5a08 100644 --- a/SpriteKit/SKTransformNode.ml +++ b/SpriteKit/SKTransformNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktransformnode?language=objc}SKTransformNode} *) +let self = get_class "SKTransformNode" + let quaternion self = msg_send ~self ~cmd:(selector "quaternion") ~typ:(returning void) let rotationMatrix self = msg_send ~self ~cmd:(selector "rotationMatrix") ~typ:(returning void) let setQuaternion x self = msg_send ~self ~cmd:(selector "setQuaternion:") ~typ:(void @-> returning void) x diff --git a/SpriteKit/SKTransition.ml b/SpriteKit/SKTransition.ml index cb52680d..9d1dd7ae 100644 --- a/SpriteKit/SKTransition.ml +++ b/SpriteKit/SKTransition.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktransition?language=objc}SKTransition} *) +let self = get_class "SKTransition" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let dealloc self = msg_send ~self ~cmd:(selector "dealloc") ~typ:(returning void) let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) diff --git a/SpriteKit/SKTransitionClass.ml b/SpriteKit/SKTransitionClass.ml index ee87e11b..f79206c6 100644 --- a/SpriteKit/SKTransitionClass.ml +++ b/SpriteKit/SKTransitionClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/sktransition?language=objc}SKTransition} *) -let self = get_class "SKTransition" - let crossFadeWithDuration x self = msg_send ~self ~cmd:(selector "crossFadeWithDuration:") ~typ:(double @-> returning id) x let doorsCloseHorizontalWithDuration x self = msg_send ~self ~cmd:(selector "doorsCloseHorizontalWithDuration:") ~typ:(double @-> returning id) x let doorsCloseVerticalWithDuration x self = msg_send ~self ~cmd:(selector "doorsCloseVerticalWithDuration:") ~typ:(double @-> returning id) x diff --git a/SpriteKit/SKTurbulenceFieldNode.ml b/SpriteKit/SKTurbulenceFieldNode.ml index 374ec8fd..4646b46e 100644 --- a/SpriteKit/SKTurbulenceFieldNode.ml +++ b/SpriteKit/SKTurbulenceFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skturbulencefieldnode?language=objc}SKTurbulenceFieldNode} *) +let self = get_class "SKTurbulenceFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKTurbulenceFieldNodeClass.ml b/SpriteKit/SKTurbulenceFieldNodeClass.ml index 46600dfb..f6ec7b43 100644 --- a/SpriteKit/SKTurbulenceFieldNodeClass.ml +++ b/SpriteKit/SKTurbulenceFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skturbulencefieldnode?language=objc}SKTurbulenceFieldNode} *) -let self = get_class "SKTurbulenceFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKUniform.ml b/SpriteKit/SKUniform.ml index 36e9a7b7..c2669c55 100644 --- a/SpriteKit/SKUniform.ml +++ b/SpriteKit/SKUniform.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skuniform?language=objc}SKUniform} *) +let self = get_class "SKUniform" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let description self = msg_send ~self ~cmd:(selector "description") ~typ:(returning id) let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x diff --git a/SpriteKit/SKUniformClass.ml b/SpriteKit/SKUniformClass.ml index eb83cce5..27eabca6 100644 --- a/SpriteKit/SKUniformClass.ml +++ b/SpriteKit/SKUniformClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skuniform?language=objc}SKUniform} *) -let self = get_class "SKUniform" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let uniformWithName x self = msg_send ~self ~cmd:(selector "uniformWithName:") ~typ:(id @-> returning id) x let uniformWithName1 x ~float_ self = msg_send ~self ~cmd:(selector "uniformWithName:float:") ~typ:(id @-> float @-> returning id) x float_ diff --git a/SpriteKit/SKUniformInfo.ml b/SpriteKit/SKUniformInfo.ml index 4d26d07d..b4002e4f 100644 --- a/SpriteKit/SKUniformInfo.ml +++ b/SpriteKit/SKUniformInfo.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skuniforminfo?language=objc}SKUniformInfo} *) +let self = get_class "SKUniformInfo" + let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let seed self = msg_send ~self ~cmd:(selector "seed") ~typ:(returning ullong) let setSeed x self = msg_send ~self ~cmd:(selector "setSeed:") ~typ:(ullong @-> returning void) (ULLong.of_int x) diff --git a/SpriteKit/SKUniformInfoClass.ml b/SpriteKit/SKUniformInfoClass.ml deleted file mode 100644 index 7503568a..00000000 --- a/SpriteKit/SKUniformInfoClass.ml +++ /dev/null @@ -1,17 +0,0 @@ -(* auto-generated, do not modify *) - -open Runtime -open Objc - -[@@@ocaml.warning "-33"] -open CoreFoundation -open CoreFoundation_globals -open CoreGraphics -open CoreGraphics_globals -open CoreText -open CoreText_globals - -(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skuniforminfo?language=objc}SKUniformInfo} *) - -let self = get_class "SKUniformInfo" - diff --git a/SpriteKit/SKUniformShaderReference.ml b/SpriteKit/SKUniformShaderReference.ml new file mode 100644 index 00000000..f8f2721a --- /dev/null +++ b/SpriteKit/SKUniformShaderReference.ml @@ -0,0 +1,16 @@ +(* auto-generated, do not modify *) + +open Runtime +open Objc + +[@@@ocaml.warning "-33"] +open CoreFoundation +open CoreGraphics +open CoreText + +(** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skuniformshaderreference?language=objc}SKUniformShaderReference} *) + +let self = get_class "SKUniformShaderReference" + +let setTargetShader x self = msg_send ~self ~cmd:(selector "setTargetShader:") ~typ:(id @-> returning void) x +let targetShader self = msg_send ~self ~cmd:(selector "targetShader") ~typ:(returning id) \ No newline at end of file diff --git a/SpriteKit/SKVelocityFieldNode.ml b/SpriteKit/SKVelocityFieldNode.ml index 909a8b66..8ed0c3fe 100644 --- a/SpriteKit/SKVelocityFieldNode.ml +++ b/SpriteKit/SKVelocityFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skvelocityfieldnode?language=objc}SKVelocityFieldNode} *) +let self = get_class "SKVelocityFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKVelocityFieldNodeClass.ml b/SpriteKit/SKVelocityFieldNodeClass.ml index 7daf8b5a..638abf30 100644 --- a/SpriteKit/SKVelocityFieldNodeClass.ml +++ b/SpriteKit/SKVelocityFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skvelocityfieldnode?language=objc}SKVelocityFieldNode} *) -let self = get_class "SKVelocityFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKVideoNode.ml b/SpriteKit/SKVideoNode.ml index bd94fc67..53b74a67 100644 --- a/SpriteKit/SKVideoNode.ml +++ b/SpriteKit/SKVideoNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skvideonode?language=objc}SKVideoNode} *) +let self = get_class "SKVideoNode" + let accessibilityLabel self = msg_send ~self ~cmd:(selector "accessibilityLabel") ~typ:(returning id) let anchorPoint self = msg_send ~self ~cmd:(selector "anchorPoint") ~typ:(returning CGPoint.t) let commonInit self = msg_send ~self ~cmd:(selector "commonInit") ~typ:(returning void) diff --git a/SpriteKit/SKVideoNodeClass.ml b/SpriteKit/SKVideoNodeClass.ml index 64b5e8ca..777fc6f5 100644 --- a/SpriteKit/SKVideoNodeClass.ml +++ b/SpriteKit/SKVideoNodeClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skvideonode?language=objc}SKVideoNode} *) -let self = get_class "SKVideoNode" - let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) let debugHierarchyValueForPropertyWithName x ~onObject ~outOptions ~outError self = msg_send ~self ~cmd:(selector "debugHierarchyValueForPropertyWithName:onObject:outOptions:outError:") ~typ:(id @-> id @-> (ptr id) @-> (ptr id) @-> returning id) x onObject outOptions outError let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) diff --git a/SpriteKit/SKView.ml b/SpriteKit/SKView.ml index 7b24af2f..a60b0241 100644 --- a/SpriteKit/SKView.ml +++ b/SpriteKit/SKView.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skview?language=objc}SKView} *) +let self = get_class "SKView" + let acceptsFirstResponder self = msg_send ~self ~cmd:(selector "acceptsFirstResponder") ~typ:(returning bool) let accessibilityChildren self = msg_send ~self ~cmd:(selector "accessibilityChildren") ~typ:(returning id) let accessibilityHitTest x self = msg_send ~self ~cmd:(selector "accessibilityHitTest:") ~typ:(CGPoint.t @-> returning id) x @@ -54,6 +53,7 @@ let mouseEntered x self = msg_send ~self ~cmd:(selector "mouseEntered:") ~typ:(i let mouseExited x self = msg_send ~self ~cmd:(selector "mouseExited:") ~typ:(id @-> returning void) x let mouseMoved x self = msg_send ~self ~cmd:(selector "mouseMoved:") ~typ:(id @-> returning void) x let mouseUp x self = msg_send ~self ~cmd:(selector "mouseUp:") ~typ:(id @-> returning void) x +let nextFramebuffer self = msg_send ~self ~cmd:(selector "nextFramebuffer") ~typ:(returning id) let notifyWillRenderContent self = msg_send ~self ~cmd:(selector "notifyWillRenderContent") ~typ:(returning void) let onInit self = msg_send ~self ~cmd:(selector "onInit") ~typ:(returning void) let options self = msg_send ~self ~cmd:(selector "options") ~typ:(returning id) diff --git a/SpriteKit/SKViewClass.ml b/SpriteKit/SKViewClass.ml index 9d7a0c45..264700e4 100644 --- a/SpriteKit/SKViewClass.ml +++ b/SpriteKit/SKViewClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skview?language=objc}SKView} *) -let self = get_class "SKView" - let debugHierarchyAdditionalGroupingIDs self = msg_send ~self ~cmd:(selector "debugHierarchyAdditionalGroupingIDs") ~typ:(returning id) let debugHierarchyObjectsInGroupWithID x ~onObject ~outOptions self = msg_send ~self ~cmd:(selector "debugHierarchyObjectsInGroupWithID:onObject:outOptions:") ~typ:(id @-> id @-> (ptr id) @-> returning id) x onObject outOptions let debugHierarchyPropertyDescriptions self = msg_send ~self ~cmd:(selector "debugHierarchyPropertyDescriptions") ~typ:(returning id) diff --git a/SpriteKit/SKVortexFieldNode.ml b/SpriteKit/SKVortexFieldNode.ml index 58d69ee6..59b753ab 100644 --- a/SpriteKit/SKVortexFieldNode.ml +++ b/SpriteKit/SKVortexFieldNode.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skvortexfieldnode?language=objc}SKVortexFieldNode} *) +let self = get_class "SKVortexFieldNode" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x \ No newline at end of file diff --git a/SpriteKit/SKVortexFieldNodeClass.ml b/SpriteKit/SKVortexFieldNodeClass.ml index bd8cb31c..71947e03 100644 --- a/SpriteKit/SKVortexFieldNodeClass.ml +++ b/SpriteKit/SKVortexFieldNodeClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skvortexfieldnode?language=objc}SKVortexFieldNode} *) -let self = get_class "SKVortexFieldNode" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKWait.ml b/SpriteKit/SKWait.ml index 543e5a7c..ce3ab14b 100644 --- a/SpriteKit/SKWait.ml +++ b/SpriteKit/SKWait.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skwait?language=objc}SKWait} *) +let self = get_class "SKWait" + let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let init self = msg_send ~self ~cmd:(selector "init") ~typ:(returning id) let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKWaitClass.ml b/SpriteKit/SKWaitClass.ml index 4b6a1d32..1a79e106 100644 --- a/SpriteKit/SKWaitClass.ml +++ b/SpriteKit/SKWaitClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skwait?language=objc}SKWait} *) -let self = get_class "SKWait" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) let waitForDuration x self = msg_send ~self ~cmd:(selector "waitForDuration:") ~typ:(double @-> returning id) x let waitForDuration' x ~withRange self = msg_send ~self ~cmd:(selector "waitForDuration:withRange:") ~typ:(double @-> double @-> returning id) x withRange \ No newline at end of file diff --git a/SpriteKit/SKWarpGeometry.ml b/SpriteKit/SKWarpGeometry.ml index 17576541..1f734304 100644 --- a/SpriteKit/SKWarpGeometry.ml +++ b/SpriteKit/SKWarpGeometry.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skwarpgeometry?language=objc}SKWarpGeometry} *) +let self = get_class "SKWarpGeometry" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let initWithCoder x self = msg_send ~self ~cmd:(selector "initWithCoder:") ~typ:(id @-> returning id) x diff --git a/SpriteKit/SKWarpGeometryClass.ml b/SpriteKit/SKWarpGeometryClass.ml index bade3afe..ab746e01 100644 --- a/SpriteKit/SKWarpGeometryClass.ml +++ b/SpriteKit/SKWarpGeometryClass.ml @@ -5,14 +5,9 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skwarpgeometry?language=objc}SKWarpGeometry} *) -let self = get_class "SKWarpGeometry" - let supportsSecureCoding self = msg_send ~self ~cmd:(selector "supportsSecureCoding") ~typ:(returning bool) \ No newline at end of file diff --git a/SpriteKit/SKWarpGeometryGrid.ml b/SpriteKit/SKWarpGeometryGrid.ml index 762f795c..9a6b6794 100644 --- a/SpriteKit/SKWarpGeometryGrid.ml +++ b/SpriteKit/SKWarpGeometryGrid.ml @@ -5,14 +5,13 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skwarpgeometrygrid?language=objc}SKWarpGeometryGrid} *) +let self = get_class "SKWarpGeometryGrid" + let copyWithZone x self = msg_send ~self ~cmd:(selector "copyWithZone:") ~typ:((ptr void) @-> returning id) x let encodeWithCoder x self = msg_send ~self ~cmd:(selector "encodeWithCoder:") ~typ:(id @-> returning void) x let gridByReplacingDestPositions x self = msg_send ~self ~cmd:(selector "gridByReplacingDestPositions:") ~typ:(ptr void @-> returning id) x diff --git a/SpriteKit/SKWarpGeometryGridClass.ml b/SpriteKit/SKWarpGeometryGridClass.ml index 8ca8245b..0ca38aaa 100644 --- a/SpriteKit/SKWarpGeometryGridClass.ml +++ b/SpriteKit/SKWarpGeometryGridClass.ml @@ -5,16 +5,11 @@ open Objc [@@@ocaml.warning "-33"] open CoreFoundation -open CoreFoundation_globals open CoreGraphics -open CoreGraphics_globals open CoreText -open CoreText_globals (** Apple docs: {{:https://developer.apple.com/documentation/spritekit/skwarpgeometrygrid?language=objc}SKWarpGeometryGrid} *) -let self = get_class "SKWarpGeometryGrid" - let grid self = msg_send ~self ~cmd:(selector "grid") ~typ:(returning id) let gridWithColumns x ~rows self = msg_send ~self ~cmd:(selector "gridWithColumns:rows:") ~typ:(llong @-> llong @-> returning id) (LLong.of_int x) (LLong.of_int rows) let gridWithColumns' x ~rows ~sourcePositions ~destPositions self = msg_send ~self ~cmd:(selector "gridWithColumns:rows:sourcePositions:destPositions:") ~typ:(llong @-> llong @-> ptr void @-> ptr void @-> returning id) (LLong.of_int x) (LLong.of_int rows) sourcePositions destPositions diff --git a/SpriteKit/SpriteKit.ml b/SpriteKit/SpriteKit.ml new file mode 100644 index 00000000..df146eb0 --- /dev/null +++ b/SpriteKit/SpriteKit.ml @@ -0,0 +1,221 @@ +include SpriteKit_globals + +module IKLink = IKLink +module SK3DNode = SK3DNode +module SK3DNodeClass = SK3DNodeClass +module SKAction = SKAction +module SKActionClass = SKActionClass +module SKActionTable = SKActionTable +module SKActionTableClass = SKActionTableClass +module SKAnalytics = SKAnalytics +module SKAnalyticsClass = SKAnalyticsClass +module SKAnimate = SKAnimate +module SKAnimateClass = SKAnimateClass +module SKAnimateWarp = SKAnimateWarp +module SKAnimateWarpClass = SKAnimateWarpClass +module SKAttribute = SKAttribute +module SKAttributeClass = SKAttributeClass +module SKAttributeValue = SKAttributeValue +module SKAttributeValueClass = SKAttributeValueClass +module SKAudioNode = SKAudioNode +module SKAudioNodeClass = SKAudioNodeClass +module SKBitmapFont = SKBitmapFont +module SKBitmapFontClass = SKBitmapFontClass +module SKButtonNode = SKButtonNode +module SKButtonNodeClass = SKButtonNodeClass +module SKButtonNodeSprite = SKButtonNodeSprite +module SKButtonNodeSpriteClass = SKButtonNodeSpriteClass +module SKCameraNode = SKCameraNode +module SKCameraNodeClass = SKCameraNodeClass +module SKColorize = SKColorize +module SKColorizeClass = SKColorizeClass +module SKConstraint = SKConstraint +module SKConstraintClass = SKConstraintClass +module SKCropNode = SKCropNode +module SKCropNodeClass = SKCropNodeClass +module SKCustomAction = SKCustomAction +module SKCustomActionClass = SKCustomActionClass +module SKCustomFieldNode = SKCustomFieldNode +module SKCustomFieldNodeClass = SKCustomFieldNodeClass +module SKDisplayLink = SKDisplayLink +module SKDisplayLinkClass = SKDisplayLinkClass +module SKDistanceConstraint = SKDistanceConstraint +module SKDistanceConstraintClass = SKDistanceConstraintClass +module SKDragFieldNode = SKDragFieldNode +module SKDragFieldNodeClass = SKDragFieldNodeClass +module SKEffectNode = SKEffectNode +module SKEffectNodeClass = SKEffectNodeClass +module SKElectricFieldNode = SKElectricFieldNode +module SKElectricFieldNodeClass = SKElectricFieldNodeClass +module SKEmitterNode = SKEmitterNode +module SKEmitterNodeClass = SKEmitterNodeClass +module SKFade = SKFade +module SKFadeClass = SKFadeClass +module SKFalloff = SKFalloff +module SKFalloffClass = SKFalloffClass +module SKFieldNode = SKFieldNode +module SKFieldNodeClass = SKFieldNodeClass +module SKFollowPath = SKFollowPath +module SKFollowPathClass = SKFollowPathClass +module SKFrameCaptureDelegate = SKFrameCaptureDelegate +module SKFrameCaptureDelegateClass = SKFrameCaptureDelegateClass +module SKGroup = SKGroup +module SKGroupClass = SKGroupClass +module SKHide = SKHide +module SKHideClass = SKHideClass +module SKKeyedUnarchiver = SKKeyedUnarchiver +module SKKeyframeSequence = SKKeyframeSequence +module SKKeyframeSequenceClass = SKKeyframeSequenceClass +module SKLabelNode = SKLabelNode +module SKLabelNodeClass = SKLabelNodeClass +module SKLightNode = SKLightNode +module SKLightNodeClass = SKLightNodeClass +module SKLinearGravityFieldNode = SKLinearGravityFieldNode +module SKLinearGravityFieldNodeClass = SKLinearGravityFieldNodeClass +module SKMagneticFieldNode = SKMagneticFieldNode +module SKMagneticFieldNodeClass = SKMagneticFieldNodeClass +module SKMove = SKMove +module SKMoveClass = SKMoveClass +module SKMutableTexture = SKMutableTexture +module SKMutableTextureClass = SKMutableTextureClass +module SKNode = SKNode +module SKNodeClass = SKNodeClass +module SKNodeCustomClassUnarchiver = SKNodeCustomClassUnarchiver +module SKNoiseFieldNode = SKNoiseFieldNode +module SKNoiseFieldNodeClass = SKNoiseFieldNodeClass +module SKOpenGLLayer = SKOpenGLLayer +module SKOpenGLNode = SKOpenGLNode +module SKOpenGLNodeClass = SKOpenGLNodeClass +module SKOrientationConstraint = SKOrientationConstraint +module SKOrientationConstraintClass = SKOrientationConstraintClass +module SKPerformSelector = SKPerformSelector +module SKPerformSelectorClass = SKPerformSelectorClass +module SKPhysicsBody = SKPhysicsBody +module SKPhysicsBodyClass = SKPhysicsBodyClass +module SKPhysicsContact = SKPhysicsContact +module SKPhysicsGrid = SKPhysicsGrid +module SKPhysicsGridClass = SKPhysicsGridClass +module SKPhysicsJoint = SKPhysicsJoint +module SKPhysicsJointClass = SKPhysicsJointClass +module SKPhysicsJointLimit = SKPhysicsJointLimit +module SKPhysicsJointLimitClass = SKPhysicsJointLimitClass +module SKPhysicsJointPin = SKPhysicsJointPin +module SKPhysicsJointPinClass = SKPhysicsJointPinClass +module SKPhysicsJointSliding = SKPhysicsJointSliding +module SKPhysicsJointSlidingClass = SKPhysicsJointSlidingClass +module SKPhysicsJointSpring = SKPhysicsJointSpring +module SKPhysicsJointSpringClass = SKPhysicsJointSpringClass +module SKPhysicsWorld = SKPhysicsWorld +module SKPhysicsWorldClass = SKPhysicsWorldClass +module SKPlaySound = SKPlaySound +module SKPlaySoundClass = SKPlaySoundClass +module SKPositionConstraint = SKPositionConstraint +module SKPositionConstraintClass = SKPositionConstraintClass +module SKRadialGravityFieldNode = SKRadialGravityFieldNode +module SKRadialGravityFieldNodeClass = SKRadialGravityFieldNodeClass +module SKRange = SKRange +module SKRangeClass = SKRangeClass +module SKReach = SKReach +module SKReachClass = SKReachClass +module SKReachConstraints = SKReachConstraints +module SKReachConstraintsClass = SKReachConstraintsClass +module SKReferenceNode = SKReferenceNode +module SKReferenceNodeClass = SKReferenceNodeClass +module SKReferencedAction = SKReferencedAction +module SKReferencedActionClass = SKReferencedActionClass +module SKRegion = SKRegion +module SKRegionClass = SKRegionClass +module SKRemove = SKRemove +module SKRemoveClass = SKRemoveClass +module SKRenderer = SKRenderer +module SKRendererClass = SKRendererClass +module SKRepeat = SKRepeat +module SKRepeatClass = SKRepeatClass +module SKResize = SKResize +module SKResizeClass = SKResizeClass +module SKRotate = SKRotate +module SKRotateClass = SKRotateClass +module SKRotationConstraint = SKRotationConstraint +module SKRotationConstraintClass = SKRotationConstraintClass +module SKRunAction = SKRunAction +module SKRunActionClass = SKRunActionClass +module SKRunBlock = SKRunBlock +module SKRunBlockClass = SKRunBlockClass +module SKSCNRenderer = SKSCNRenderer +module SKSCNRendererClass = SKSCNRendererClass +module SKScale = SKScale +module SKScaleClass = SKScaleClass +module SKScaleConstraint = SKScaleConstraint +module SKScaleConstraintClass = SKScaleConstraintClass +module SKScene = SKScene +module SKSceneClass = SKSceneClass +module SKSceneUnarchiveDummy = SKSceneUnarchiveDummy +module SKSceneUnarchiveDummyClass = SKSceneUnarchiveDummyClass +module SKSequence = SKSequence +module SKSequenceClass = SKSequenceClass +module SKShader = SKShader +module SKShaderClass = SKShaderClass +module SKShapeNode = SKShapeNode +module SKShapeNodeClass = SKShapeNodeClass +module SKSizeConstraint = SKSizeConstraint +module SKSizeConstraintClass = SKSizeConstraintClass +module SKSoundBuffer = SKSoundBuffer +module SKSoundBufferClass = SKSoundBufferClass +module SKSoundContext = SKSoundContext +module SKSoundContextClass = SKSoundContextClass +module SKSoundSource = SKSoundSource +module SKSoundSourceClass = SKSoundSourceClass +module SKSpeed = SKSpeed +module SKSpeedClass = SKSpeedClass +module SKSpringFieldNode = SKSpringFieldNode +module SKSpringFieldNodeClass = SKSpringFieldNodeClass +module SKSpriteNode = SKSpriteNode +module SKSpriteNodeClass = SKSpriteNodeClass +module SKStrength = SKStrength +module SKStrengthClass = SKStrengthClass +module SKTexture = SKTexture +module SKTextureAtlas = SKTextureAtlas +module SKTextureAtlasClass = SKTextureAtlasClass +module SKTextureAtlasPacker = SKTextureAtlasPacker +module SKTextureAtlasPackerClass = SKTextureAtlasPackerClass +module SKTextureCache = SKTextureCache +module SKTextureClass = SKTextureClass +module SKThreadSafeMapTable = SKThreadSafeMapTable +module SKThreadSafeMapTableClass = SKThreadSafeMapTableClass +module SKThreadSafeMutableArray = SKThreadSafeMutableArray +module SKThreadSafeMutableDictionary = SKThreadSafeMutableDictionary +module SKTileDefinition = SKTileDefinition +module SKTileDefinitionClass = SKTileDefinitionClass +module SKTileGroup = SKTileGroup +module SKTileGroupClass = SKTileGroupClass +module SKTileGroupRule = SKTileGroupRule +module SKTileGroupRuleClass = SKTileGroupRuleClass +module SKTileMapNode = SKTileMapNode +module SKTileMapNodeClass = SKTileMapNodeClass +module SKTileSet = SKTileSet +module SKTileSetClass = SKTileSetClass +module SKTileStamp = SKTileStamp +module SKTileStampClass = SKTileStampClass +module SKTransformNode = SKTransformNode +module SKTransition = SKTransition +module SKTransitionClass = SKTransitionClass +module SKTurbulenceFieldNode = SKTurbulenceFieldNode +module SKTurbulenceFieldNodeClass = SKTurbulenceFieldNodeClass +module SKUniform = SKUniform +module SKUniformClass = SKUniformClass +module SKUniformInfo = SKUniformInfo +module SKUniformShaderReference = SKUniformShaderReference +module SKVelocityFieldNode = SKVelocityFieldNode +module SKVelocityFieldNodeClass = SKVelocityFieldNodeClass +module SKVideoNode = SKVideoNode +module SKVideoNodeClass = SKVideoNodeClass +module SKView = SKView +module SKViewClass = SKViewClass +module SKVortexFieldNode = SKVortexFieldNode +module SKVortexFieldNodeClass = SKVortexFieldNodeClass +module SKWait = SKWait +module SKWaitClass = SKWaitClass +module SKWarpGeometry = SKWarpGeometry +module SKWarpGeometryClass = SKWarpGeometryClass +module SKWarpGeometryGrid = SKWarpGeometryGrid +module SKWarpGeometryGridClass = SKWarpGeometryGridClass