cutego/interop/interop_c_api.go
therecipe 7f61353ee7 add support for haxe and swift + fix interop stack overflow issue
* fix unsafe pointer arithmetic issues
2020-07-01 22:05:31 +02:00

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))
}