Generates C function stubs