This is the continuation of the previous tasks. The goal here is to complete the translation of c_preproc.py into a C/C++ Python extension while still assuming ascii encoding for all input files. The logic in the previous steps should be re-used to complete the module. It is important to verify that the unit tests in "tests/preproc/wscript" pass and that the Python interpreter does not crash on invalid inputs.
When done, commit your changes, then create a patch by using git-format and submit an enhancement request to the Waf bug tracker on googlecode and post the resulting URL to this task.
While working on this task you should join and remain in #Waf on Freenode to get help, feedback, and guidance from mentors and other developers.
When you've done, post the resulting tool this task.