Mercurial > pub > dyncall > bindings
comparison go/godc/godc.go @ 9:8a45a05ff64e
- go binding cleanup, not enforcing relative paths anymore, readme update
author | cslag |
---|---|
date | Sat, 26 Mar 2016 01:09:51 +0100 |
parents | 0cfcc391201f |
children | 1e3d929e43be |
comparison
equal
deleted
inserted
replaced
8:c7830d9614f5 | 9:8a45a05ff64e |
---|---|
19 | 19 |
20 | 20 |
21 // Go/dyncall extension implementation. | 21 // Go/dyncall extension implementation. |
22 package godc | 22 package godc |
23 | 23 |
24 // #cgo LDFLAGS: -L../../../dyncall/ -ldyncall_s | 24 // #cgo LDFLAGS: -ldyncall_s |
25 // #cgo LDFLAGS: -L../../../dynload/ -ldynload_s | 25 // #cgo LDFLAGS: -ldynload_s |
26 // #cgo LDFLAGS: -L../../../dyncallback/ -ldyncallback_s | 26 // #cgo LDFLAGS: -ldyncallback_s |
27 // #include <stdlib.h> | 27 // #include <stdlib.h> |
28 // #include "../../../dyncall/dyncall/dyncall.h" | 28 // #include "dyncall.h" |
29 // #include "../../../dyncall/dynload/dynload.h" | 29 // #include "dynload.h" |
30 // #include "../../../dyncall/dyncall/dyncall_signature.h" | 30 // #include "dyncall_signature.h" |
31 import "C" | 31 import "C" |
32 import ( | 32 import ( |
33 "unsafe" | 33 "unsafe" |
34 "fmt" | 34 "fmt" |
35 "reflect" | 35 "reflect" |