Skip to content

bind: support for variadic arguments #55

Description

@phil-mansfield

The package

package variadic

func Variadic(s ...float64) {
}

fails with

go build && gopy bind --lang=py2 .
2015/08/31 10:36:03 work: /var/folders/j0/l297p36x68dfmcrh07jptj200000gn/T/gopy-208401189
# _/private/var/folders/j0/l297p36x68dfmcrh07jptj200000gn/T/gopy-208401189
./variadic.go:159: cannot use *(*[]float64)(unsafe.Pointer(s)) (type []float64) as type float64 in argument to variadic.Variadic
2015/08/31 10:36:03 error dispatching command: exit status 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions