mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
feat(handle): add handle declaration macro
This commit is contained in:
parent
3d14119536
commit
71ce2471ac
1 changed files with 10 additions and 0 deletions
10
storm/Handle.hpp
Normal file
10
storm/Handle.hpp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef STORM_HANDLE_HPP
|
||||
#define STORM_HANDLE_HPP
|
||||
|
||||
#if !defined(DECLARE_HANDLE)
|
||||
#define DECLARE_HANDLE(name) \
|
||||
struct name##__; \
|
||||
typedef struct name##__* name
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue