callback

command
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 4 Imported by: 0

README

This is a small example showing libffi's closure API. It basically just creates a callback function and passes it as an argument to another function that invokes the callback.

The required C library must be compiled in advance:

gcc -shared -o libcallback.so -fPIC callback.c

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