We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbdbd55 commit 009a114Copy full SHA for 009a114
generate/codegen/gen_function.go
@@ -81,19 +81,6 @@ func (f *Function) String() string {
81
return f.Selector()
82
}
83
84
-// NormalizeInstanceTypeFunction return new init function.
85
-func (f *Function) NormalizeInstanceTypeFunction(returnType *typing.ClassType) *Function {
86
- nm := &Function{
87
- Name: f.Name,
88
- GoName: f.GoName,
89
- Parameters: f.Parameters,
90
- ReturnType: returnType,
91
- goFuncName: f.goFuncName,
92
- Suffix: f.Suffix,
93
- }
94
- return nm
95
-}
96
-
97
// WriteGoCallCode generate go function code to call c wrapper code
98
func (f *Function) WriteGoCallCode(currentModule *modules.Module, cw *CodeWriter) {
99
funcDeclare := f.GoFuncDeclare(currentModule)
0 commit comments