(header_path: Path)
| 256 | if ptype == "void": |
| 257 | continue |
| 258 | params.append(FuncParam(name="", c_type=ptype)) |
| 259 | elif isinstance(param, c_ast.Decl): |
| 260 | pname = param.name or "" |
| 261 | ptype = _decl_type_to_str(param.type) |
| 262 | if ptype == "void" and not pname: |
| 263 | continue |
| 264 | params.append(FuncParam(name=pname, c_type=ptype)) |