From c01aa64b321981ae4cb841da1efbdd8eea382a85 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 1 May 2019 12:30:49 +1000 Subject: [PATCH] preprocessor: add DECLARE_CLASS and DECLARE_STRUCT helpers --- preprocessor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/preprocessor.py b/preprocessor.py index 1e113000..a0a862db 100755 --- a/preprocessor.py +++ b/preprocessor.py @@ -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; + /////////////////////////////////////////////////////////////////////////////// """)