Re: Support for qualifiers
Greg Ewing <[email protected]>
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
Jelmer Vernooij wrote: > I figured it would simply be a matter of tracking whether > something is const. Would there be more required than that? The type compatibility rules all become more complicated. For instance, you can assign a char * to a const char *, but not the other way around. The parsing gets more complicated as well. I'm not even confident I know all the places you're allowed to insert a 'const' into a C declaration, and what they all mean. It's all doable, but it will require some careful thought. -- Greg