mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-27 12:29:41 +00:00
Exclude SharedArray::SharedArrayHeader from the C++ docs
This commit is contained in:
parent
29a9bd05eb
commit
0dc81895ed
2 changed files with 5 additions and 1 deletions
|
@ -71,6 +71,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
#if !defined(DOXYGEN)
|
||||
// Unfortunately, this cannot be generated by cbindgen because std::atomic is not understood
|
||||
struct SharedArrayHeader {
|
||||
std::atomic<std::intptr_t> refcount;
|
||||
|
@ -79,5 +80,6 @@ private:
|
|||
};
|
||||
static_assert(alignof(T) <= alignof(SharedArrayHeader), "Not yet supported because we would need to add padding");
|
||||
SharedArrayHeader *inner;
|
||||
#endif
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue