Skip to content

Feature request: option to treat certain pointers as opaque #20

@GoogleCodeExporter

Description

@GoogleCodeExporter
It would be really nice to be able to ask ctypesgen to not recursively define 
certain kinds of pointers and simply treat them as opaque (void *).  For 
example, I keep Berkeley DB "DB *" pointers around.  The python bindings 
shouldn't need to care that it's a DB pointer as I'm never going to dereference 
it, and the fact that it _does_ care means it tries to write wrappers for the 
DB struct, which basically means it tries to write wrappers for all of Berkeley 
DB.  I don't want or need that, and it explodes the size (and complexity) of 
the generated file.

(Thanks for all your work though...great tool!)

Original issue reported on code.google.com by [email protected] on 5 Aug 2011 at 6:27

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions