diff options
author | Chris Robinson <[email protected]> | 2023-05-14 17:53:48 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-14 17:53:48 -0700 |
commit | 6b9b875d6f256c659762073a227032f7e7fcbc02 (patch) | |
tree | af27c2b5c7f382cffc7cb9eed7d7b47d4de8f985 /al/direct_defs.h | |
parent | 9d60823014c038bd4078fdf47e83118b2a17fc32 (diff) |
Implement direct functions for the listener and events
Diffstat (limited to 'al/direct_defs.h')
-rw-r--r-- | al/direct_defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/al/direct_defs.h b/al/direct_defs.h index be92e759..c36211ae 100644 --- a/al/direct_defs.h +++ b/al/direct_defs.h @@ -25,6 +25,12 @@ R AL_API Name(T1 a, T2 b, T3 c) START_API_FUNC \ return Name##Direct(GetContextRef().get(), a, b, c); \ } END_API_FUNC +#define DECL_FUNC4(R, Name, T1, T2, T3, T4) \ +R AL_API Name(T1 a, T2 b, T3 c, T4 d) START_API_FUNC \ +{ \ + return Name##Direct(GetContextRef().get(), a, b, c, d); \ +} END_API_FUNC + #define DECL_FUNC5(R, Name, T1, T2, T3, T4, T5) \ R AL_API Name(T1 a, T2 b, T3 c, T4 d, T5 e) START_API_FUNC \ { \ |