diff options
| author | realtradam <[email protected]> | 2023-05-29 22:42:36 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-05-29 22:42:36 -0400 |
| commit | 53cd72592c3b900175ac069708f4937c83dea37c (patch) | |
| tree | 9df89ffdbf595f64846b5a95aaf2e4371440f07b /src/input.h | |
| parent | 3b821ced9b6e9e363996b2aee0e497a2de204b44 (diff) | |
| download | TOJam2023-53cd72592c3b900175ac069708f4937c83dea37c.tar.gz TOJam2023-53cd72592c3b900175ac069708f4937c83dea37c.zip | |
better init and deinit of systems
Diffstat (limited to 'src/input.h')
| -rw-r--r-- | src/input.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h index c03c454..c73e59a 100644 --- a/src/input.h +++ b/src/input.h @@ -77,3 +77,9 @@ register_inputs(void); void unregister_inputs(void); + +#define inputs_register_do() \ + mrodeo_defer_do( \ + register_inputs(), \ + unregister_inputs() \ + ) |
