updated ebiten version from 2.7.9 to 2.9.9
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ func (ctx *context) cString(str string) (uintptr, func()) {
|
||||
return uintptr(ptr), func() { C.free(ptr) }
|
||||
}
|
||||
|
||||
// cString creates a pointer to a C string off the Go heap.
|
||||
// cStringPtr creates a pointer to a C string off the Go heap.
|
||||
// ret is a **char.
|
||||
func (ctx *context) cStringPtr(str string) (uintptr, func()) {
|
||||
s, free := ctx.cString(str)
|
||||
|
||||
Reference in New Issue
Block a user