Update purego
- commit
- f867f22b9fdf15bc34b7793ea39816f4945fd8cf
- author
- Jeroen Wijenbergh · · 2025-08-12 13:00 UTC
- parent
- 00b2644
- signature
- SSH Unverified
SHA256:8N5EoON8reSTMm461SyWlzRhib6IymBjUHb1p62kwywThe key is unknown
6 files · +8 -14
M go.mod +2 -2
| @@ -2,6 +2,6 @@ module github.com/jwijenbergh/puregotk | |||
| 2 | 2 | ||
| 3 | 3 | go 1.23 | |
| 4 | 4 | ||
| 5 | - | require github.com/jwijenbergh/purego v0.0.0-20241210143217-aeaa0bfe09e0 | |
| 5 | + | replace github.com/ebitengine/purego => github.com/jwijenbergh/purego v0.0.0-20250812125240-cafa2c762d9d | |
| 6 | 6 | ||
| 7 | - | require golang.org/x/sys v0.28.0 // indirect | |
| 7 | + | require github.com/ebitengine/purego v0.0.0-00010101000000-000000000000 | |
| @@ -2,6 +2,6 @@ module github.com/jwijenbergh/puregotk | |||||
| 2 | 2 | ||||
| 3 | go 1.23 | 3 | go 1.23 | ||
| 4 | 4 | ||||
| 5 | - | require github.com/jwijenbergh/purego v0.0.0-20241210143217-aeaa0bfe09e0 | 5 | + | replace github.com/ebitengine/purego => github.com/jwijenbergh/purego v0.0.0-20250812125240-cafa2c762d9d |
| 6 | 6 | ||||
| 7 | - | require golang.org/x/sys v0.28.0 // indirect | 7 | + | require github.com/ebitengine/purego v0.0.0-00010101000000-000000000000 |
M go.sum +2 -8 generated file: collapsed
M internal/core/core.go +1 -1
| @@ -12,7 +12,7 @@ import ( | |||
| 12 | 12 | "strings" | |
| 13 | 13 | "unsafe" | |
| 14 | 14 | ||
| 15 | - | "github.com/jwijenbergh/purego" | |
| 15 | + | "github.com/ebitengine/purego" | |
| 16 | 16 | ) | |
| 17 | 17 | ||
| 18 | 18 | func PuregoSafeRegister(fptr interface{}, handle uintptr, name string) error { | |
| @@ -12,7 +12,7 @@ import ( | |||||
| 12 | "strings" | 12 | "strings" | ||
| 13 | "unsafe" | 13 | "unsafe" | ||
| 14 | 14 | ||||
| 15 | - | "github.com/jwijenbergh/purego" | 15 | + | "github.com/ebitengine/purego" |
| 16 | ) | 16 | ) | ||
| 17 | 17 | ||||
| 18 | func PuregoSafeRegister(fptr interface{}, handle uintptr, name string) error { | 18 | func PuregoSafeRegister(fptr interface{}, handle uintptr, name string) error { | ||
M templates/glib +1 -1
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | 4 | "fmt" | |
| 5 | 5 | "sync" | |
| 6 | 6 | ||
| 7 | - | "github.com/jwijenbergh/purego" | |
| 7 | + | "github.com/ebitengine/purego" | |
| 8 | 8 | "github.com/jwijenbergh/puregotk/internal/core" | |
| 9 | 9 | ) | |
| 10 | 10 | ||
| @@ -4,7 +4,7 @@ import ( | |||||
| 4 | "fmt" | 4 | "fmt" | ||
| 5 | "sync" | 5 | "sync" | ||
| 6 | 6 | ||||
| 7 | - | "github.com/jwijenbergh/purego" | 7 | + | "github.com/ebitengine/purego" |
| 8 | "github.com/jwijenbergh/puregotk/internal/core" | 8 | "github.com/jwijenbergh/puregotk/internal/core" | ||
| 9 | ) | 9 | ) | ||
| 10 | 10 | ||||
M templates/glib_sysv +1 -1
| @@ -6,7 +6,7 @@ import ( | |||
| 6 | 6 | "fmt" | |
| 7 | 7 | "reflect" | |
| 8 | 8 | ||
| 9 | - | "github.com/jwijenbergh/purego" | |
| 9 | + | "github.com/ebitengine/purego" | |
| 10 | 10 | ) | |
| 11 | 11 | ||
| 12 | 12 | func unrefCallback(fnPtr interface{}) error { | |
| @@ -6,7 +6,7 @@ import ( | |||||
| 6 | "fmt" | 6 | "fmt" | ||
| 7 | "reflect" | 7 | "reflect" | ||
| 8 | 8 | ||||
| 9 | - | "github.com/jwijenbergh/purego" | 9 | + | "github.com/ebitengine/purego" |
| 10 | ) | 10 | ) | ||
| 11 | 11 | ||||
| 12 | func unrefCallback(fnPtr interface{}) error { | 12 | func unrefCallback(fnPtr interface{}) error { | ||
M templates/go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | {{if .Records}} | |
| 10 | 10 | "structs" | |
| 11 | 11 | {{end}} | |
| 12 | - | "github.com/jwijenbergh/purego" | |
| 12 | + | "github.com/ebitengine/purego" | |
| 13 | 13 | "github.com/jwijenbergh/puregotk/internal/core" | |
| 14 | 14 | ) | |
| 15 | 15 | {{end}} | |
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | {{if .Records}} | 9 | {{if .Records}} | ||
| 10 | "structs" | 10 | "structs" | ||
| 11 | {{end}} | 11 | {{end}} | ||
| 12 | - | "github.com/jwijenbergh/purego" | 12 | + | "github.com/ebitengine/purego" |
| 13 | "github.com/jwijenbergh/puregotk/internal/core" | 13 | "github.com/jwijenbergh/puregotk/internal/core" | ||
| 14 | ) | 14 | ) | ||
| 15 | {{end}} | 15 | {{end}} | ||