add cfunction type.