`cpdef` functions efficiently convert Python numeric types (like `int`, `float`) and string types to their C equivalents (`int`, `double`, `char*`), and back, automatically handling the data marshalling for significant performance gains.
Open the full topic