mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 20:42:25 +00:00
Move all cbindgen generated code into
sixtyfps::cbindgen_private Having private in the name makes it clear that this is ... private, and cbindgen helps remember that it's generated.
This commit is contained in:
parent
2fa953ce8a
commit
14fe897086
12 changed files with 108 additions and 108 deletions
|
@ -15,16 +15,16 @@ LICENSE END */
|
|||
|
||||
namespace sixtyfps {
|
||||
|
||||
using internal::types::PathArcTo;
|
||||
using internal::types::PathElement;
|
||||
using internal::types::PathEvent;
|
||||
using internal::types::PathLineTo;
|
||||
using internal::types::Point;
|
||||
using cbindgen_private::types::PathArcTo;
|
||||
using cbindgen_private::types::PathElement;
|
||||
using cbindgen_private::types::PathEvent;
|
||||
using cbindgen_private::types::PathLineTo;
|
||||
using cbindgen_private::types::Point;
|
||||
|
||||
struct PathData
|
||||
{
|
||||
public:
|
||||
using Tag = internal::types::PathData::Tag;
|
||||
using Tag = cbindgen_private::types::PathData::Tag;
|
||||
|
||||
PathData() : data(Data::None()) { }
|
||||
PathData(const PathElement *firstElement, size_t count)
|
||||
|
@ -47,7 +47,7 @@ private:
|
|||
return tmp;
|
||||
}
|
||||
|
||||
static internal::types::PathData events_from_array(const PathEvent *firstEvent,
|
||||
static cbindgen_private::types::PathData events_from_array(const PathEvent *firstEvent,
|
||||
size_t event_count,
|
||||
const Point *firstCoordinate,
|
||||
size_t coordinate_count)
|
||||
|
@ -59,7 +59,7 @@ private:
|
|||
return Data::Events(events, coordinates);
|
||||
}
|
||||
|
||||
using Data = internal::types::PathData;
|
||||
using Data = cbindgen_private::types::PathData;
|
||||
Data data;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue