mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 21:25:16 +03:00
14 lines
286 B
Go
14 lines
286 B
Go
|
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))
|
||
|
}
|