command
Version:
v0.0.0-...-28f4970
Opens a new window with list of versions in this module.
Published: Mar 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Rules to be followed when generating a C-shared library from Go
- Program will be a main package
- However the main function will be empty for obvious reasons
- Go source will need to import "C" package
- Functions should be explicitly using the //export FunctionName directive
Here is how you will generate the C-shared library for programs written in Go
go build -buildmode=c-shared -o gojnalib.so gojnalib.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.