mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
16 lines
350 B
C++
16 lines
350 B
C++
#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
|