Change C++ API to use the ComponentHandle

This commit is contained in:
Olivier Goffart 2020-11-10 19:28:34 +01:00
parent 8f362ead43
commit d6a440aa4a
65 changed files with 222 additions and 141 deletions

View file

@ -23,7 +23,7 @@ struct Signal
Signal &operator=(const Signal &) = delete;
template<typename F>
void set_handler(F binding)
void set_handler(F binding) const
{
cbindgen_private::sixtyfps_signal_set_handler(
&inner,