fixing bug that occurs when function pointers in C structs are used from Terra.