feat(log): add first SLog functions

This commit is contained in:
VDm 2024-02-16 00:37:18 +04:00
parent 2c6f97dbb9
commit ec148a9af8
3 changed files with 371 additions and 0 deletions

16
storm/Common.hpp Normal file
View file

@ -0,0 +1,16 @@
#ifndef STORM_COMMON_HPP
#define STORM_COMMON_HPP
#define DECLARE_STRICT_HANDLE(name) \
typedef struct name##__ { \
int unused; \
}* name
#define DECLARE_DERIVED_HANDLE(name, base) \
typedef struct name##__ : public base##__ { \
int unused; \
}* name
#endif