Skip to content

fp_st type is incompatible with cgo FFI #60

Description

@FiloSottile

cggo can't see through "fp_st and fp_t are both different fancy typedefs for dig_t*", and gets particularly confused by the array type.

relic/relic.go:189: cannot use ep.st.y (type C.fp_st) as type *C.dig_t in argument to _Cfunc__fp_neg
relic/relic.go:189: cannot use ep.st.y (type C.fp_st) as type C.fp_t in argument to _Cfunc__fp_neg

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions