Commit d67f057
feat: add uintptr interop for gomobile/x-mobile/gio compatibility
Add UintPtr() and NewXFromUintPtr() methods to all 124 generated handle
types via template, plus a handle.NativeHandle interface and EGL type
conversion helpers. This enables seamless interop with golang.org/x/mobile
(which uses uintptr for JVM/JNI handles), gioui.org, xlab/android-go,
and gomobile bind (which cannot export unsafe.Pointer).1 parent 4526e3c commit d67f057
128 files changed
Lines changed: 1711 additions & 0 deletions
File tree
- activity
- asset
- audio
- binder
- bitmap
- camera
- choreographer
- config
- egl
- font
- gameactivity
- handle
- hint
- hwbuf
- image
- input
- looper
- media
- midi
- nnapi
- persistablebundle
- sensor
- storage
- surfacecontrol
- surfacetexture
- templates
- thermal
- window
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments