make header file C compatible