diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-11-26 19:57:20 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-12-05 20:29:00 +0100 |
commit | 0d118ef0c95d5b2ba306372c97526cd2aaaac679 (patch) | |
tree | e4c237e7923c41c359eef852a234f81b40eda2b7 /src/libutil/rust-ffi.hh | |
parent | 50d483a2c1c77bef1bab742eb8708626a61dc00e (diff) |
Bindings::get(): Add convenience method
This allows writing attribute lookups as
if (auto name = value.attrs->get(state.sName))
...
(cherry picked from commit f216c76c56cdffb5214d074a7d44812843dd174f)
Diffstat (limited to 'src/libutil/rust-ffi.hh')
0 files changed, 0 insertions, 0 deletions