(gdoc string)
| 208 | } |
| 209 | |
| 210 | func isIfaceHandle(gdoc string) (bool, string) { |
| 211 | const PythonIface = "gopy:interface=handle" |
| 212 | if idx := strings.Index(gdoc, PythonIface); idx >= 0 { |
| 213 | gdoc = gdoc[:idx] + gdoc[idx+len(PythonIface)+1:] |
| 214 | return true, gdoc |
| 215 | } |
| 216 | return false, gdoc |
| 217 | } |
| 218 | |
| 219 | func (g *pyGen) genFuncBody(sym *symbol, fsym *Func) { |
| 220 | isMethod := (sym != nil) |
no outgoing calls
no test coverage detected