mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
internal/gl: avoid excessive Cgo pointer checks
As suggested by Egon Elbre, passing a large struct of function pointers forces Cgo checks on all of the pointer on every Cgo call. This change instead passes only the relevant function pointer. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+579
-489
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user