Diamond
Diamond
`gcore` is just far easier to import than having to manually make an alias.
This issue tracks the progress for deprecating the `(*glib.Object).Connect` and `(*glib.Object).ConnectAfter` methods, reason being that they're not needed anymore with autogenerated signal methods (which are more performant and correct). -...
Right now, the `typeconv` package is used by the code generators to inline the conversion directly into the functions. This means the code size (and probably binary size) is really...
gotk4 should generate C functions in its own header file that panics when called just so it could be compiled on systems with any outdated libraries. The user of the...
Right now, every object creation involves acquiring the global mutex to register itself, as well as hitting several extra C functions to register a toggle reference and its callback. Not...
Some Unix GIO types like `UnixSocketAddress` are useful since the only ways to make them useful is to call their methods, but they're not generated because there's no build tags...
This is a follow up from issue #25 and commit d16c0d15: The record pointer change is expected to be followed up with a similar change for classes. This will make...
``` runtime: bad pointer in frame github.com/diamondburned/gotk4/pkg/core/glib.timeoutAdd.func2 at 0xc0003c3a60: 0x13 fatal error: invalid pointer found on stack runtime stack: runtime.throw({0x1c7f681, 0x3430b60}) /nix/store/1y1sxwam2jf1f5w9dqfg44wdpwappdch-go-1.17/share/go/src/runtime/panic.go:1198 +0x71 fp=0x7f2712fba0c0 sp=0x7f2712fba090 pc=0x5794d1 runtime.adjustpointers(0x7f2712fba4e0, 0x7f265cb2c880, 0x2aab5c0, {0x2aab5c0,...
I've thought of a way that can potentially improve compile time significantly. Many C types don't actually have to be resolved by Cgo, since they're only handled around as pointers....