interface: fix to compatible with C language.