KiCad PCB EDA Suite
|
This file contains miscellaneous commonly used macros and functions. More...
#include <wx/string.h>
Go to the source code of this file.
Macros | |
#define | KI_HAS_ATTRIBUTE(x) 0 |
#define | KI_HAS_CPP_ATTRIBUTE(x) 0 |
#define | KI_FALLTHROUGH ( ( void ) 0 ) |
The KI_FALLTHROUGH macro is to be used when switch statement cases should purposely fallthrough from one to the next. | |
#define | TO_STR2(x) #x |
Stringifies the given parameter by placing in quotes. | |
#define | TO_STR(x) TO_STR2(x) |
#define | UNIMPLEMENTED_FOR(type) wxFAIL_MSG( wxString::Format( wxT( "%s: unimplemented for %s" ), __FUNCTION__, type ) ) |
This file contains miscellaneous commonly used macros and functions.
Definition in file macros.h.
#define KI_FALLTHROUGH ( ( void ) 0 ) |
#define TO_STR2 | ( | x | ) | #x |
#define UNIMPLEMENTED_FOR | ( | type | ) | wxFAIL_MSG( wxString::Format( wxT( "%s: unimplemented for %s" ), __FUNCTION__, type ) ) |