File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/python_bindings/bindings Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ namespace hal
1616
1717 .def (
1818 " load_netlist" ,
19- [](const std::filesystem::path& netlist_file, const std::filesystem::path& gate_library_file) {
19+ [](const std::filesystem::path& netlist_file, const std::filesystem::path& gate_library_file = std::filesystem::path () ) {
2020 return std::shared_ptr<Netlist>(netlist_factory::load_netlist (netlist_file, gate_library_file));
2121 },
2222 py::arg (" netlist_file" ),
23- py::arg (" gate_library_file" ) = " " ,
23+ py::arg (" gate_library_file" ) = std::filesystem::path () ,
2424 R"(
2525 Create a netlist from the given file using the specified gate library file.
2626 Will either deserialize ``.hal`` file or call parser plugin for other formats.
@@ -42,7 +42,7 @@ namespace hal
4242 Will either deserialize ``.hal`` file or call parser plugin for other formats.
4343
4444 :param pathlib.Path netlist_file: Path to the file.
45- :param pathlib.Path gate_library_file: Path to the gate library file.
45+ :param hal_py.GateLibrary gate_library_file: Path to the gate library file.
4646 :returns: The netlist on success, ``None`` otherwise.
4747 :rtype: hal_py.Netlist or None
4848 )" )
You can’t perform that action at this time.
0 commit comments