Global C function inside class definition?