Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 370 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 370 Bytes

Go / C++ bindings example

This is an example of Go code calling to a C++ library with a C wrapper.

Makefile build + run

make

Build manually

(cd src/ && g++ -c nummer.cpp && /usr/bin/ar rcs libnummer.a nummer.o)
go build  # this only ensures it compiles

Test manually

go test  # actually runs tests, c++ lib must be built