Skip to content

liztio/cgo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cgo Demos

make all

A .so for adding two numbers together

make -C src/addlib

A go library that calls Addlib

make addbin
LD_LIBRARY_PATH=src/addlib addbin

A small example Go application using libimagemagick

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

make imagemagick
./imagemagick

An example of calling C from Go

make c_from_go
./c_from_go

An example of calling go from C

make -C src/gofromc
./gofromc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published