Here in the example below:
package main
import (
"C"
"fmt"
)
//export test
func test() {
fmt.Println("test code")
}
func main() {
}
The above package was built using -builtmode=c-shared. I wanted to load the
built library in my C code, and interpose the esported function 'test'. I
wonder if this is possible at all.
Thanks:)
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/f6720cce-4bd9-42ce-b1a5-a8a324fcb6a5o%40googlegroups.com.