aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-29 15:07:13 -0700
committerChris Robinson <[email protected]>2013-10-29 15:07:13 -0700
commit9f0e49917d808b93e0c47ce4fa2cbf7050cfe65a (patch)
treef31632c945aba429146c4d0b1cb175c9619d9e5f /OpenAL32/Include
parent779eb4b82b8c50174ae8bb464bc4938cff07d231 (diff)
Add default handlers for reset, captureSamples, and availableSamples
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 0f31960f..370c20af 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -106,6 +106,10 @@ static const union {
rettype T1##_##func(T1 *obj) \
{ return T2##_##func(STATIC_CAST(T2, obj)); }
+#define DECLARE_FORWARD2(T1, T2, rettype, func, argtype1, argtype2) \
+rettype T1##_##func(T1 *obj, argtype1 a, argtype2 b) \
+{ return T2##_##func(STATIC_CAST(T2, obj), a, b); }
+
/* Helper to extract an argument list for VCALL. Not used directly. */
#define EXTRACT_VCALL_ARGS(...) __VA_ARGS__))