mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 21:25:16 +03:00
7f61353ee7
* fix unsafe pointer arithmetic issues
16 lines
311 B
Go
16 lines
311 B
Go
// +build !http_interop
|
|
|
|
package interop
|
|
|
|
import "C"
|
|
|
|
//export syncCallIntoLocal
|
|
func syncCallIntoLocal(i *C.char) *C.char {
|
|
return C.CString(_syncCallIntoLocal(C.GoString(i)))
|
|
}
|
|
|
|
//export asyncCallIntoRemoteResponse
|
|
func asyncCallIntoRemoteResponse(i *C.char) {
|
|
_asyncCallIntoRemoteResponse(C.GoString(i))
|
|
}
|