mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 18:42:28 +00:00
feat(log): add first SLog functions
This commit is contained in:
parent
2c6f97dbb9
commit
ec148a9af8
3 changed files with 371 additions and 0 deletions
16
storm/Common.hpp
Normal file
16
storm/Common.hpp
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue