Skip to content

Support recursive structs #103

@ekrich

Description

@ekrich

Currently, a recursive struct causes an error message and does not get generated but other code generates which is good. Example error follows:

Error: struct___darwin_pthread_handler_rec is cyclic
struct___darwin_pthread_handler_rec
    Unit
    struct___darwin_pthread_handler_rec
    void (void *)
1

Scala Native does not support this feature directly as far as I know so I believe that that the inner struct would have to be a Ptr[Byte] and casting by the client code is needed to access the field.

Related: #77

Metadata

Metadata

Assignees

Labels

bindgenBinding generator

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions