package main
/*
#cgo CFLAGS: -I.
#cgo LDFLAGS: -L. -lQRModule
#include "QRModule.h"
*/
import "C"
import "fmt"
func main() {
var a,b string
res := C.makeEncDatQR(C.CString(a), C.CString(b))
fmt.Println(res)
}
int makeEncDatQR( char*, char*, char*, char*, char* );
➜ test ls
QRModule.h go.mod libQRModule.so main.go