preprocessor: add DECLARE_CLASS and DECLARE_STRUCT helpers

This commit is contained in:
Danny Robson 2019-05-01 12:30:49 +10:00
parent 35ae04510f
commit c01aa64b32

View File

@ -172,6 +172,9 @@ if __name__ == '__main__':
#define STATIC_ASSERT(MSG) static_assert(false, MSG);
#define DECLARE_STRUCT(KLASS) struct KLASS;
#define DECLARE_CLASS(KLASS) class KLASS;
///////////////////////////////////////////////////////////////////////////////
""")