Searched refs:need_type (Results 1 – 2 of 2) sorted by relevance
89 bool need_type) in get_if_type() argument93 if (*argc < 1 + !!need_type) in get_if_type()96 if (need_type && strcmp((*argv)[0], "type")) in get_if_type()99 tpstr = (*argv)[!!need_type]; in get_if_type()100 *argc -= 1 + !!need_type; in get_if_type()101 *argv += 1 + !!need_type; in get_if_type()
88 def c_params(self, need_type=True, need_name=True): argument90 if self.params and (need_type or need_name):91 if need_type and need_name:93 elif need_type:98 return "void" if need_type else ""148 return "%s(%s)" % (self.name, self.c_params(need_type=False))