ritual icon indicating copy to clipboard operation
ritual copied to clipboard

Unsupported kind of type: ConstantArray

Open alexchandel opened this issue 7 years ago • 1 comments

Dealing with C++ code that uses networking on OSX invariably includes headers like sys/_pthread/_pthread_types.h which are full of structs with constant array members. C++ objects with fields that are (eventually) composed of these structs fail to parse.

Rust supports fixed-length arrays, so this should be easy to add.

alexchandel avatar Sep 26 '16 22:09 alexchandel

Yes, fixed size arrays can be supported. It was not a top priority because they are seldom used in API, but it should be fairly easy.

Note that information about class fields is currently not used. Failing to parse a field will not have any effect. The class and its methods should still be available.

Riateche avatar Sep 26 '16 23:09 Riateche