rust-bindgen icon indicating copy to clipboard operation
rust-bindgen copied to clipboard

Enables blocklisting of Objective-C methods

Open csmulhern opened this issue 3 years ago • 3 comments

This PR adds the ability to blocklist Objective-C methods using --blocklist-item. The path format that's matched against is ItemPath:: rustMethodName.

The Rust method name is used over the Objective-C name, as it is needed to deal with the ambiguity when class and instance methods share the same name.

csmulhern avatar Dec 27 '21 15:12 csmulhern

I've added a small bit of guidance to the docs. Let me know how it looks!

csmulhern avatar Dec 28 '21 00:12 csmulhern

Any feedback on the latest changelist?

csmulhern avatar May 06 '22 21:05 csmulhern

Another gentle ping.

csmulhern avatar Aug 14 '22 00:08 csmulhern

Thanks, Christian. Can we go ahead and merge?

csmulhern avatar Sep 22 '22 23:09 csmulhern

Even though the changes look good to me we have to wait for either @emilio or @kulp to merge it

pvdrz avatar Sep 23 '22 17:09 pvdrz

Even though the changes look good to me we have to wait for either @emilio or @kulp to merge it

In the future I think @pvdrz will not have to wait! :) Upon a quick skim this seems good to me too.

kulp avatar Oct 02 '22 23:10 kulp