fixed macro bug in c_interface.h