mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Rename two more pre-processor variables
This commit is contained in:
parent
1a0a495bc5
commit
b45433951a
3 changed files with 7 additions and 7 deletions
|
@ -202,9 +202,9 @@ inline vtable::Layout drop_in_place(ComponentRef component)
|
|||
// so we have a relocation to a function that returns the address we seek. That
|
||||
// relocation will be resolved to the locally linked stub library, the implementation of
|
||||
// which will be patched.
|
||||
# define SIXTYFPS_GET_ITEM_VTABLE(VTableName) slint::private_api::slint_get_##VTableName()
|
||||
# define SLINT_GET_ITEM_VTABLE(VTableName) slint::private_api::slint_get_##VTableName()
|
||||
# else
|
||||
# define SIXTYFPS_GET_ITEM_VTABLE(VTableName) (&slint::private_api::VTableName)
|
||||
# define SLINT_GET_ITEM_VTABLE(VTableName) (&slint::private_api::VTableName)
|
||||
# endif
|
||||
#endif // !defined(DOXYGEN)
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
#include <optional>
|
||||
|
||||
#if !defined(DOXYGEN)
|
||||
# define SIXTYFPS_QT_INTEGRATION // In the future, should be defined by cmake only if this is
|
||||
// enabled
|
||||
# define SLINT_QT_INTEGRATION // In the future, should be defined by cmake only if this is
|
||||
// enabled
|
||||
#endif
|
||||
#ifdef SIXTYFPS_QT_INTEGRATION
|
||||
#ifdef SLINT_QT_INTEGRATION
|
||||
class QWidget;
|
||||
#endif
|
||||
|
||||
|
@ -569,7 +569,7 @@ public:
|
|||
cbindgen_private::slint_run_event_loop();
|
||||
hide();
|
||||
}
|
||||
#if defined(SIXTYFPS_QT_INTEGRATION) || defined(DOXYGEN)
|
||||
#if defined(SLINT_QT_INTEGRATION) || defined(DOXYGEN)
|
||||
/// Return a QWidget for this instance.
|
||||
/// This function is only available if the qt graphical backend was compiled in, and
|
||||
/// it may return nullptr if the Qt backend is not used at runtime.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue