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

Prefer generating class pointers over values #42

Open
diamondburned opened this issue Oct 23, 2021 · 1 comment
Open

Prefer generating class pointers over values #42

diamondburned opened this issue Oct 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@diamondburned
Copy link
Owner

This is a follow up from issue #25 and commit d16c0d1:

The record pointer change is expected to be followed up with a similar
change for classes. This will make signal generation slightly more
accurate as well, since both of those types are always passed by
pointers.
@diamondburned diamondburned added the enhancement New feature or request label Oct 23, 2021
@diamondburned
Copy link
Owner Author

Example signal:

func (*gdk.DisplayManager).ConnectDisplayOpened(f func(display gdk.Display)) glib.SignalHandle                                                                               

should be

func (*gdk.DisplayManager).ConnectDisplayOpened(f func(display *gdk.Display)) glib.SignalHandle                                                                               

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant