You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#definesystemVariableInt( name ) { 0, NULL, NULL, #name, { Commander::VARIABLE_INT, { (float*)&name } } }// It is an union, this is why (float*) casting required.
143
143
144
144
/// This macro simplifies the char* or const char* type system variable creation.
145
145
///
146
146
/// With this macro you can fill the system variable table easily.
147
147
/// @param name The name of the char* or const char* variable.
148
148
/// @note Do not use & operator before the name. Just use the name, the macro will handle the rest. Also, no const casting is needed.
#definesystemVariableString( name ) { 0, NULL, NULL, #name, { Commander::VARIABLE_STRING, { (float*)name } } } // It is an union, this is why (float*) casting required.
178
150
179
151
/// This macro simplifies the attachment of the system variable table.
0 commit comments