2008/6/30 Roman Yakovenko <email@example.com
I am not sure you are right. Consider next use case:
On Mon, Jun 30, 2008 at 3:11 PM, Gustavo Carneiro <firstname.lastname@example.org
> I don't actually _need_ to remove consts from typedefs, only from the outer
typedef const item_t c_item_t;
Obviously, in this case you have to find out whether the "v" is const
or not, and generate different code.
I think you're right, but that typedef is kind of evil anyway, and I would rather deal with corner cases as they appear, particularly since some corner cases often are theoretical and never manifest themselves in real life.
I guess you are talking about some specific use case, which is not this.
:-(. I will see what I can do.
> Anyway, I copy-pasted those functions into pybindgen and patched them to do
> what I need, so all is fine now.
If I get into trouble with my simplification, I'll help. Until then...