Skip to content

Tags: ebitengine/purego

Tags

v0.9.0-alpha.9

Toggle v0.9.0-alpha.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for Objc blocks (#325)

Adds new type, objc.Block, which is an objc.ID referencing an
Objective-C "block" function pointer.

Adds methods to create a Block from a Go function value,
get a Go function value from a block, directly invoke
a block function, and handle Objective-C memory management
(e.g. Copy/Release).

Mitigates pressure on purego Callback limit by relying on the
fact the first argument passed to a block implementation is the
block itself. This allows for a single callback to handle every
block instance that has the same signature, by way of keeping
an association between the Go func value and the block instance
it was used to create.

Was refactored from code in a different personal project to
better fit the purego convetions and architecture.

Closes #129

---------

Co-authored-by: James Welch <[email protected]>

v0.9.0-alpha.8

Toggle v0.9.0-alpha.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
objc: bug fix: wrong implementation in encodeType for a struct (#324)

Updates #225

v0.9.0-alpha.7

Toggle v0.9.0-alpha.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
objc: implement ability to create Protocols at runtime (#320)

Closes #321

v0.9.0-alpha.6

Toggle v0.9.0-alpha.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
internal/fakecgo: disable race in fakecgo (#319)

Closes #318

v0.8.4

Toggle v0.8.4's commit message
internal/fakecgo: disable race in fakecgo (#319)

Closes #318

v0.9.0-alpha.5

Toggle v0.9.0-alpha.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Allow uintptr in struct on amd64 (#317)

v0.9.0-alpha.4

Toggle v0.9.0-alpha.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
all: fix the link error with Go 1.24.3 (#312)

This addresses the issue golang/go#73617.

Closes #313

v0.8.3

Toggle v0.8.3's commit message
all: fix the link error with Go 1.24.3 (#312)

This addresses the issue golang/go#73617.

Closes #313

v0.9.0-alpha.3

Toggle v0.9.0-alpha.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix alignment of stack args on macOS (#310)

Fixes #309

v0.9.0-alpha.2

Toggle v0.9.0-alpha.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
.github/workflows: update Go versions for FreeBSD (#296)