Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
src
.gitignore
Makefile
README.md

README.md

Cgo Demos

make all

Addlib

A .so for adding two numbers together

make -C src/addlib

Addbin

A go library that calls Addlib

make addbin
LD_LIBRARY_PATH=src/addlib addbin

Imagemagick

A small example Go application using libimagemagick

May require libmagickwand-6-headers to compile and libmagickwand-6.q16

make imagemagick
./imagemagick

C_from_go

An example of calling C from Go

make c_from_go
./c_from_go

gofromc

An example of calling go from C

make -C src/gofromc
./gofromc
You can’t perform that action at this time.