You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this is pretty unsafe, but it's probably the cleanest way to implement
this. Type checking is up to the caller to do, because there's no way to do that
with C unions.
The text was updated successfully, but these errors were encountered:
This commit changes most record return values to return a pointer
instead of value, to both reflect how it'll always pass-by-reference and
how most record methods need a pointer receiver.
This commit also changes the underlying types for enums and bitfields to
be C.int and C.uint, respectively, to allow for direct casting of
enums/bitfields lists.
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.
This commit closes issue #25.
Currently, gotk4 does not implement union generation. It can probably be
implemented like so:
Using this is pretty unsafe, but it's probably the cleanest way to implement
this. Type checking is up to the caller to do, because there's no way to do that
with C unions.
The text was updated successfully, but these errors were encountered: