mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
C++: document the SLINT_FEATURE_* macros
This commit is contained in:
parent
cc47d6863f
commit
6b1c02be94
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ macro_rules! declare_features {
|
|||
let mut defines = String::new();
|
||||
$(
|
||||
if self.$f {
|
||||
defines = format!("{defines}#define SLINT_FEATURE_{}\n", stringify!($f).to_ascii_uppercase());
|
||||
defines = format!("{defines}///This macro is defined when Slint was configured with the SLINT_FEATURE_{0} flag enabled\n#define SLINT_FEATURE_{0}\n", stringify!($f).to_ascii_uppercase());
|
||||
};
|
||||
)*
|
||||
defines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue