Skip to content

Commit

Permalink
Merge pull request #685 from dkimitsa/ios16
Browse files Browse the repository at this point in the history
IOS 16 bindings
  • Loading branch information
Tom-Ski authored Jan 3, 2023
2 parents 09b2a4b + 205b7ef commit a5b9351
Show file tree
Hide file tree
Showing 1,643 changed files with 44,888 additions and 483 deletions.
3 changes: 3 additions & 0 deletions compiler/cocoatouch/src/main/bro-gen/arkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ classes:
name: update
'-getGeoLocationForPoint:completionHandler:':
name: getGeoLocation
'-captureHighResolutionFrameWithCompletion:':
name: captureHighResolutionFrame
ARWorldTrackingConfiguration: #since 11.0
skip_def_constructor: true
methods:
Expand Down Expand Up @@ -242,6 +244,7 @@ classes:
ARMeshAnchor: {} #since 13.4
ARMeshGeometry: {} #since 13.4
ARAppClipCodeAnchor: {} #since 14.3
ARPlaneExtent: {} #since 16.0
protocols:
ARSCNViewDelegate: #since 11.0
methods:
Expand Down
62 changes: 56 additions & 6 deletions compiler/cocoatouch/src/main/bro-gen/audiotoolbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ private_typedefs:
'__CFDictionary': NSDictionary
'__CFArray': NSArray
'__CFRunLoop': NSRunLoop
AUParameterListenerRef: AUParameterListener
AUEventListenerRef: AUEventListener
OS_dispatch_queue: org.robovm.apple.dispatch.DispatchQueue

enums:
AudioBytePacketTranslationFlags: {prefix: kBytePacketTranslationFlag_, bits: true}
Expand Down Expand Up @@ -205,7 +208,7 @@ enums:
AUSpatialMixerSourceMode: {prefix: kSpatialMixerSourceMode_}
AUSpatialMixerOutputType: {prefix: kSpatialMixerOutputType_}
AUSpatialMixerPointSourceInHeadMode: {prefix: kSpatialMixerPointSourceInHeadMode_}

AudioUnitEventType: {}
# excludes as either deprecated or not to be used
Excluded2: {prefix: kNumberOfResponseFrequencies, first: kNumberOfResponseFrequencies, exclude: true}
# Excluded3: {prefix: kAudioUnitParameterName_Full, first: kAudioUnitParameterName_Full, exclude: true} -- will convert to constant
Expand Down Expand Up @@ -269,6 +272,9 @@ classes:
AUParameterAutomationEvent: {}
AUParameterEvent:
annotations: ['@Packed(4)']
AudioUnitEvent: {}
AudioUnitEvent$InnerStruct$1:
name: AudioUnitEventArgument
AURenderEvent: {}
AURenderEventHeader:
annotations: ['@Packed(4)']
Expand Down Expand Up @@ -838,12 +844,12 @@ classes:
name: create
constructor: true
protocols:
AUAudioUnitFactory:
AUAudioUnitFactory:
methods:
'-createAudioUnitWithComponentDescription:error:':
throws: NSErrorException
name: createAudioUnit

AUMessageChannel: {} #since 16.0
functions:
(Audio.*)GetTypeID:
class: '#{g[0]}'
Expand Down Expand Up @@ -1533,11 +1539,44 @@ functions:
AudioWorkIntervalCreate:
exclude: true # as workgroups are not supported

AUListener(CreateWithDispatchQueue):
class: AUParameterListener
name: create0
visibility: protected
AUListenerCreate:
exclude: true # in sake of block version
AUListener(.*):
class: AUParameterListener
name: '#{g[0]}'
AUParameterSet:
class: AUParameterListener
name: setParameter
AUParameterListenerNotify:
class: AUParameterListener
name: notifyParameterListener

AUEventListener(CreateWithDispatchQueue):
class: AUEventListener
name: create0
visibility: protected
AUEventListenerCreate:
exclude: true # in sake of block version
AUEventListener(.*):
class: AUEventListener
name: '#{g[0]}'

AUParameterValue(FromLinear|ToLinear):
class: AudioUnitParameter
name: '#{g[0]}'
static: true
AUParameterFormatValue:
exclude: true

# Make sure we don't miss any functions if new ones are introduced in a later version
(k?AU.*):
class: AudioUnitGlobals
(AU.*):
class: AudioToolbox
name: 'Function__#{g[0]}'
(k?Audio.*):
(Audio.*):
class: AudioToolbox
name: 'Function__#{g[0]}'

Expand Down Expand Up @@ -1608,6 +1647,17 @@ constants:
kMusicTimeStamp_EndOfTrack:
class: AudioToolbox
name: EndOfTrackTimeStamp
kAUParameterListener_(.*):
class: AUParameterListener
name: '#{g[0]}'
kAUSoundIsolationParam_(.*):
class: AudioToolbox
static_class: IsolationParams
name: '#{g[0]}'
kAUSoundIsolationSoundType_(.*):
class: AudioToolbox
static_class: IsolationSoundTypes
name: '#{g[0]}'

# Make sure we don't miss any constants if new ones are introduced in a later version
(k.*):
Expand Down
3 changes: 3 additions & 0 deletions compiler/cocoatouch/src/main/bro-gen/authservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ enums:
ASAuthorizationError: {nserror: true} #since 13.0
ASAuthorizationAppleIDButtonType: {} #since 13.0
ASAuthorizationAppleIDButtonStyle: {} #since 13.0
ASAuthorizationControllerRequestOptions: {prefix: ASAuthorizationControllerRequestOption} #since 16.0

classes:
ASCredentialIdentityStore: #since 12.0
Expand Down Expand Up @@ -78,6 +79,8 @@ classes:
methods:
'-initWithAuthorizationRequests:':
name: init
'-performRequestsWithOptions:':
name: performRequests
ASAuthorizationOpenIDRequest: {} #since 13.0
ASAuthorizationPasswordProvider: {} #since 13.0
ASAuthorizationPasswordRequest: {} #since 13.0
Expand Down
Loading

0 comments on commit a5b9351

Please sign in to comment.