mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 12:29:41 +00:00
Avoid using cbindgen_private in generated C++ code
Instead, pull in the types manually.
This commit is contained in:
parent
697aa61a0c
commit
9dd6101494
2 changed files with 4 additions and 2 deletions
|
@ -39,6 +39,7 @@ extern const cbindgen_private::ItemVTable WindowVTable;
|
|||
|
||||
// Bring opaque structure in scope
|
||||
using cbindgen_private::ComponentVTable;
|
||||
using cbindgen_private::ItemVTable;
|
||||
using ItemTreeNode = cbindgen_private::ItemTreeNode<uint8_t>;
|
||||
using ComponentRef = VRef<ComponentVTable>;
|
||||
using ItemVisitorRefMut = VRefMut<cbindgen_private::ItemVisitorVTable>;
|
||||
|
@ -47,6 +48,7 @@ using cbindgen_private::EasingCurve;
|
|||
using cbindgen_private::TextHorizontalAlignment;
|
||||
using cbindgen_private::TextVerticalAlignment;
|
||||
using cbindgen_private::Slice;
|
||||
using cbindgen_private::PropertyAnimation;
|
||||
|
||||
struct ComponentWindow
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue