Skip to content

Commit

Permalink
Re-generate SpriteKit bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed Sep 2, 2024
1 parent a02ef61 commit be2c890
Show file tree
Hide file tree
Showing 225 changed files with 575 additions and 938 deletions.
5 changes: 2 additions & 3 deletions SpriteKit/IKLink.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions SpriteKit/SK3DNode.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SK3DNodeClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 2 additions & 3 deletions SpriteKit/SKAction.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKActionClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions SpriteKit/SKActionTable.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKActionTableClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
16 changes: 16 additions & 0 deletions SpriteKit/SKAnalytics.ml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 2 additions & 6 deletions SpriteKit/IKLinkClass.ml → SpriteKit/SKAnalyticsClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 2 additions & 3 deletions SpriteKit/SKAnimate.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKAnimateClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 2 additions & 3 deletions SpriteKit/SKAnimateWarp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKAnimateWarpClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 2 additions & 3 deletions SpriteKit/SKAttribute.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKAttributeClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 2 additions & 3 deletions SpriteKit/SKAttributeValue.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKAttributeValueClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 2 additions & 3 deletions SpriteKit/SKAudioNode.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKAudioNodeClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 2 additions & 3 deletions SpriteKit/SKBitmapFont.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKBitmapFontClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 2 additions & 3 deletions SpriteKit/SKButtonNode.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions SpriteKit/SKButtonNodeClass.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Loading

0 comments on commit be2c890

Please sign in to comment.