Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be nice to be able to whitelist/blacklist methods #669

Closed
jsgf opened this issue Apr 27, 2017 · 2 comments · Fixed by #2344
Closed

It would be nice to be able to whitelist/blacklist methods #669

jsgf opened this issue Apr 27, 2017 · 2 comments · Fixed by #2344

Comments

@jsgf
Copy link
Contributor

jsgf commented Apr 27, 2017

Sometimes only a small number of a class's methods are needed, and the other unwanted ones have bad side-effects (namely, use awkward complex types, etc). It would be nice to have a whitelist-method option to allow selectively generating bindings for methods.

@fitzgen
Copy link
Member

fitzgen commented Apr 27, 2017

Sounds reasonable!

@iulianR
Copy link

iulianR commented Sep 8, 2020

Hello, is it currently not possible to whitelist a type, together with all its methods? I had some functions whitelisted and I'm also trying to whitelist the type (and all it's methods), but by using whitelist_type("foo::bar::Baz:.*"), only code for struct Baz is generated, none for its methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants