Using F2PY
F2PY can also wrap C code if we specify the function signatures as Fortran 90 modules
My procedure:
write the C functions as empty Fortran 77 functions or subroutines
run F2PY on the Fortran specification to generate an interface file
run F2PY with the interface file and the C source code