mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Centralize the C++ sixtyfps version macros in the generated public header file
This commit is contained in:
parent
174fd2659f
commit
dc387553ba
2 changed files with 16 additions and 23 deletions
|
@ -36,19 +36,6 @@ struct ItemVTable;
|
|||
/// \endrst
|
||||
namespace sixtyfps {
|
||||
|
||||
// these macro are defined in the generated sixtyfps_internal.h
|
||||
#if defined(DOXYGEN)
|
||||
/// This macro expands to the to the numeric value of the major version of SixtyFPS you're
|
||||
/// developing against. For example if you're using version 1.5.2, this macro will expand to 1.
|
||||
# define SIXTYFPS_VERSION_MAJOR SIXTYFPS_VERSION_MAJOR
|
||||
/// This macro expands to the to the numeric value of the minor version of SixtyFPS you're
|
||||
/// developing against. For example if you're using version 1.5.2, this macro will expand to 5.
|
||||
# define SIXTYFPS_VERSION_MINOR SIXTYFPS_VERSION_MINOR
|
||||
/// This macro expands to the to the numeric value of the patch version of SixtyFPS you're
|
||||
/// developing against. For example if you're using version 1.5.2, this macro will expand to 2.
|
||||
# define SIXTYFPS_VERSION_PATCH SIXTYFPS_VERSION_PATCH
|
||||
#endif
|
||||
|
||||
// Bring opaque structure in scope
|
||||
namespace private_api {
|
||||
using cbindgen_private::ComponentVTable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue