Convert param Python module to "manual" C.