in c_declare, we declare a typedef related to the dtype. We need to get rid of it, so add the check_input parameter to it too.