Do these functions have to be in C?