mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 04:45:13 +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
|
@ -18,13 +18,13 @@ namespace sixtyfps {
|
|||
struct Resource
|
||||
{
|
||||
public:
|
||||
using Tag = internal::types::Resource::Tag;
|
||||
using Tag = cbindgen_private::types::Resource::Tag;
|
||||
|
||||
Resource() : data(Data::None()) { }
|
||||
Resource(const SharedString &file_path) : data(Data::AbsoluteFilePath(file_path)) { }
|
||||
|
||||
private:
|
||||
using Data = internal::types::Resource;
|
||||
using Data = cbindgen_private::types::Resource;
|
||||
Data data;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue