Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with “typedef struct x y[n]” #10

Closed
chmod007 opened this issue Sep 10, 2013 · 0 comments
Closed

Error with “typedef struct x y[n]” #10

chmod007 opened this issue Sep 10, 2013 · 0 comments

Comments

@chmod007
Copy link

This causes an error:

    struct foo {
     int bar;
    };

    typedef struct foo foo_t[256];

    typedef struct {
        foo_t baz;
    } __somestruct;

File "ctypeslib/codegen/clangparser.py", line 1035, in FIELD_DECL
raise TypeError('Field can not be None %s'%(name ))
TypeError: Field can not be None baz

trolldbois added a commit that referenced this issue Sep 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants