I'am started to try to add const awareness to swig (python module at first).
I made a (very ugly) patch that add this feature. The idea is that for each "class" type we add "q(const).class" type too and add a cast to "q(const).class" type from "class" type.
The patch is very ugly but i'am new with swig and it was lot of work to do this minimal patch. Maybe i take the wrong way. Have you advices to improve that?
Log in to post a comment.