Skip to content

Commit

Permalink
Add methods that take __strong pointer parameters
Browse files Browse the repository at this point in the history
Possible since d78b047, because now we can properly propagate the
attribute.
  • Loading branch information
madsmtm committed Jan 17, 2025
1 parent 8c383ce commit 193d1bc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions framework-crates/objc2-foundation/translation-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ protocol.NSKeyedUnarchiverDelegate.methods."unarchiver:didDecodeObject:".skipped
# ns_consumes_self / NS_REPLACES_RECEIVER
class.NSObject.methods."awakeAfterUsingCoder:".skipped = true

# Uses `SomeObject * __strong *`, which is unsupported
class.NSNetService.methods."getInputStream:outputStream:".skipped = true
class.NSPropertyListSerialization.methods."dataFromPropertyList:format:errorDescription:".skipped = true
class.NSPropertyListSerialization.methods."propertyListFromData:mutabilityOption:format:errorDescription:".skipped = true

# Uses `NSArray<void (^)(void)>`, which is difficult to handle
class.NSBlockOperation.methods.executionBlocks.skipped = true

Expand Down
3 changes: 0 additions & 3 deletions framework-crates/objc2-metal/translation-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ ios = "8.0"
tvos = "9.0"
visionos = "1.0"

# Uses `SomeObject * __strong *`, which is unsupported
fn.MTLCopyAllDevicesWithObserver.skipped = true

# Duplicated property
class.MTLRasterizationRateLayerDescriptor.methods.sampleCount.skipped = true

Expand Down
2 changes: 1 addition & 1 deletion generated

0 comments on commit 193d1bc

Please sign in to comment.