C++: don't re-export private symbol in the public API

Use the cbindgen_private namespace dirrectly from the generated code
This commit is contained in:
Olivier Goffart 2021-06-28 11:45:01 +02:00
parent 16ba23ae47
commit ae114cf79d
7 changed files with 39 additions and 91 deletions

View file

@ -31,7 +31,7 @@ inline void send_mouse_click(const Component *component, float x, float y)
template<typename Component>
inline void send_keyboard_string_sequence(const Component *component,
const sixtyfps::SharedString &str,
KeyboardModifiers modifiers = {})
cbindgen_private::KeyboardModifiers modifiers = {})
{
cbindgen_private::send_keyboard_string_sequence(&str, modifiers, &component->window);
}