示例#1
0
func init() {
	seq.Register(proxyS_Descriptor, proxyS_X_Set_Code, proxyS_X_Set)
	seq.Register(proxyS_Descriptor, proxyS_X_Get_Code, proxyS_X_Get)
	seq.Register(proxyS_Descriptor, proxyS_Y_Set_Code, proxyS_Y_Set)
	seq.Register(proxyS_Descriptor, proxyS_Y_Get_Code, proxyS_Y_Get)
	seq.Register(proxyS_Descriptor, proxyS_Sum_Code, proxyS_Sum)
}
示例#2
0
func init() {
	seq.Register("testpkg", 1, proxy_BytesAppend)
	seq.Register("testpkg", 2, proxy_CallSSum)
	seq.Register("testpkg", 3, proxy_CollectS)
	seq.Register("testpkg", 4, proxy_Hello)
	seq.Register("testpkg", 5, proxy_Hi)
	seq.Register("testpkg", 6, proxy_Int)
	seq.Register("testpkg", 7, proxy_NewS)
	seq.Register("testpkg", 8, proxy_ReturnsError)
	seq.Register("testpkg", 9, proxy_Sum)
}
示例#3
0
func init() {
	seq.Register("testpkg.IntVar", 1, var_setIntVar)
	seq.Register("testpkg.IntVar", 2, var_getIntVar)
	seq.Register("testpkg.InterfaceVar", 1, var_setInterfaceVar)
	seq.Register("testpkg.InterfaceVar", 2, var_getInterfaceVar)
	seq.Register("testpkg.StringVar", 1, var_setStringVar)
	seq.Register("testpkg.StringVar", 2, var_getStringVar)
	seq.Register("testpkg.StructVar", 1, var_setStructVar)
	seq.Register("testpkg.StructVar", 2, var_getStructVar)
}
示例#4
0
func init() {
	seq.Register("testpkg", 1, proxy_Add)
	seq.Register("testpkg", 2, proxy_Call)
	seq.Register("testpkg", 3, proxy_Err)
	seq.Register("testpkg", 4, proxy_GC)
	seq.Register("testpkg", 5, proxy_Keep)
	seq.Register("testpkg", 6, proxy_New)
	seq.Register("testpkg", 7, proxy_NumSCollected)
	seq.Register("testpkg", 8, proxy_StrDup)
}
示例#5
0
文件: go_testpkg.go 项目: Miaque/mojo
func init() {
	seq.Register(proxyIDescriptor, proxyIECode, proxyIE)
	seq.Register(proxyIDescriptor, proxyIFCode, proxyIF)
	seq.Register(proxyIDescriptor, proxyIICode, proxyII)
	seq.Register(proxyIDescriptor, proxyISCode, proxyIS)
	seq.Register(proxyIDescriptor, proxyIStringCode, proxyIString)
	seq.Register(proxyIDescriptor, proxyIVCode, proxyIV)
	seq.Register(proxyIDescriptor, proxyIVECode, proxyIVE)
}
示例#6
0
func init() {
	seq.Register(proxyS_Descriptor, proxyS_X_Set_Code, proxyS_X_Set)
	seq.Register(proxyS_Descriptor, proxyS_X_Get_Code, proxyS_X_Get)
	seq.Register(proxyS_Descriptor, proxyS_Y_Set_Code, proxyS_Y_Set)
	seq.Register(proxyS_Descriptor, proxyS_Y_Get_Code, proxyS_Y_Get)
	seq.Register(proxyS_Descriptor, proxyS_Sum_Code, proxyS_Sum)
	seq.Register(proxyS_Descriptor, proxyS_TryTwoStrings_Code, proxyS_TryTwoStrings)
}
示例#7
0
func init() {
	seq.Register("testpkg", 1, proxy_BytesAppend)
	seq.Register("testpkg", 2, proxy_CallIError)
	seq.Register("testpkg", 3, proxy_CallIStringError)
	seq.Register("testpkg", 4, proxy_CallSSum)
	seq.Register("testpkg", 5, proxy_CollectS)
	seq.Register("testpkg", 6, proxy_GC)
	seq.Register("testpkg", 7, proxy_Hello)
	seq.Register("testpkg", 8, proxy_Hi)
	seq.Register("testpkg", 9, proxy_Int)
	seq.Register("testpkg", 10, proxy_Multiply)
	seq.Register("testpkg", 11, proxy_NewI)
	seq.Register("testpkg", 12, proxy_NewNode)
	seq.Register("testpkg", 13, proxy_NewS)
	seq.Register("testpkg", 14, proxy_RegisterI)
	seq.Register("testpkg", 15, proxy_ReturnsError)
	seq.Register("testpkg", 16, proxy_Sum)
	seq.Register("testpkg", 17, proxy_UnregisterI)
}
示例#8
0
func init() {
	seq.Register(proxyNode_Descriptor, proxyNode_V_Set_Code, proxyNode_V_Set)
	seq.Register(proxyNode_Descriptor, proxyNode_V_Get_Code, proxyNode_V_Get)
	seq.Register(proxyNode_Descriptor, proxyNode_Err_Set_Code, proxyNode_Err_Set)
	seq.Register(proxyNode_Descriptor, proxyNode_Err_Get_Code, proxyNode_Err_Get)
}
示例#9
0
func init() {
	seq.Register(proxyI_Descriptor, proxyI_Error_Code, proxyI_Error)
	seq.Register(proxyI_Descriptor, proxyI_StringError_Code, proxyI_StringError)
	seq.Register(proxyI_Descriptor, proxyI_Times_Code, proxyI_Times)
}
示例#10
0
文件: go_testpkg.go 项目: Miaque/mojo
func init() {
	seq.Register("testpkg", 1, proxy_Add)
	seq.Register("testpkg", 2, proxy_AppendToString)
	seq.Register("testpkg", 3, proxy_BytesAppend)
	seq.Register("testpkg", 4, proxy_CallE)
	seq.Register("testpkg", 5, proxy_CallF)
	seq.Register("testpkg", 6, proxy_CallI)
	seq.Register("testpkg", 7, proxy_CallS)
	seq.Register("testpkg", 8, proxy_CallV)
	seq.Register("testpkg", 9, proxy_CallVE)
	seq.Register("testpkg", 10, proxy_Err)
	seq.Register("testpkg", 11, proxy_GC)
	seq.Register("testpkg", 12, proxy_Keep)
	seq.Register("testpkg", 13, proxy_New)
	seq.Register("testpkg", 14, proxy_NumSCollected)
	seq.Register("testpkg", 15, proxy_StrDup)
}
示例#11
0
文件: go_testpkg.go 项目: Miaque/mojo
func init() {
	seq.Register(proxySDescriptor, proxySFCode, proxySF)
	seq.Register(proxySDescriptor, proxySStringCode, proxySString)
}
示例#12
0
func init() {
	seq.Register("hi", 1, proxy_Hello)
}
示例#13
0
func init() {
	seq.Register("flashlight", 1, proxy_RunClientProxy)
	seq.Register("flashlight", 2, proxy_StopClientProxy)
}
示例#14
0
func init() {
	seq.Register(proxySDescriptor, proxySFCode, proxySF)
}
示例#15
0
func init() {
	seq.Register(proxyI_Descriptor, proxyI_Times_Code, proxyI_Times)
}
示例#16
0
func init() {
	seq.Register(proxyStructThatStartsWithLetterBeforeZ_Descriptor, proxyStructThatStartsWithLetterBeforeZ_Value_Set_Code, proxyStructThatStartsWithLetterBeforeZ_Value_Set)
	seq.Register(proxyStructThatStartsWithLetterBeforeZ_Descriptor, proxyStructThatStartsWithLetterBeforeZ_Value_Get_Code, proxyStructThatStartsWithLetterBeforeZ_Value_Get)
}