deleted useless function in c_function class