mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 05:43:40 +00:00
kernel: pass-by-value into Design::scratchpad_set_string() too
This commit is contained in:
parent
6ca7844cec
commit
348e892314
2 changed files with 3 additions and 3 deletions
|
@ -999,7 +999,7 @@ struct RTLIL::Design
|
|||
|
||||
void scratchpad_set_int(const std::string &varname, int value);
|
||||
void scratchpad_set_bool(const std::string &varname, bool value);
|
||||
void scratchpad_set_string(const std::string &varname, const std::string &value);
|
||||
void scratchpad_set_string(const std::string &varname, std::string value);
|
||||
|
||||
int scratchpad_get_int(const std::string &varname, int default_value = 0) const;
|
||||
bool scratchpad_get_bool(const std::string &varname, bool default_value = false) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue