cutego/internal/binding/converter/body_output_go.go
2016-04-28 19:43:44 +02:00

18 lines
519 B
Go
Executable file

package converter
import "github.com/therecipe/qt/internal/binding/parser"
func GoOutputParametersFromC(function *parser.Function, name string) string {
if function.Meta == parser.CONSTRUCTOR {
return goOutput(name, function.Name, function)
}
return goOutput(name, function.Output, function)
}
func GoOutputParametersFromCFailed(function *parser.Function) string {
if function.Meta == parser.CONSTRUCTOR {
return goOutputFailed(function.Name, function)
}
return goOutputFailed(function.Output, function)
}