func init() { seq.EncString = func(out *seq.Buffer, v string) { out.WriteUTF8(v) } seq.DecString = func(in *seq.Buffer) string { return in.ReadUTF8() } seq.Transact = transact seq.FinalizeRef = finalizeRef C.init_seq() }
func init() { // TODO: seq.FinalizeRef, seq.Transact. seq.EncString = func(out *seq.Buffer, v string) { out.WriteUTF8(v) } seq.DecString = func(in *seq.Buffer) string { return in.ReadUTF8() } C.init_seq() }
func init() { app.JavaInit = func(javaVM uintptr) { C.init_seq(unsafe.Pointer(javaVM)) } }
func initSeq() { vm := app.State.(interface { JavaVM() unsafe.Pointer }).JavaVM() C.init_seq(vm) }