library

command
v0.103.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

README

Library bindings

This unholy namespace generates C bindings for mobile/. It does so by parsing the go files, identify any public function in the namespace that is not a test file, and generate an equivalent function with the correct C signature, which will then just call the version in mobile/.

This method is ad-hoc and not bullet-proof, the main limitation is that only some types are supported for now, C.int, *C.char and unsafer.Pointer. Functions that do not use these types will be ignored.

The problem this sledgehammer solves is to have to keep in sync the two namespaces, which is fiddly and prone to error as they are modified by either teams.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL