mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
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:
parent
16ba23ae47
commit
ae114cf79d
7 changed files with 39 additions and 91 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue