mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 08:59:07 +00:00
12 lines
344 B
C++
12 lines
344 B
C++
#ifndef STORM_HANDLE_HPP
|
|
#define STORM_HANDLE_HPP
|
|
|
|
#define DECLARE_STORM_HANDLE(name) \
|
|
struct name##__ { int32_t unused; }; \
|
|
typedef struct name##__* name
|
|
|
|
#define DECLARE_STORM_CHILD_HANDLE(name, super) \
|
|
struct name##__ : public super##__ { int32_t unused; }; \
|
|
typedef struct name##__* name
|
|
|
|
#endif
|