diff options
author | Chris Robinson <[email protected]> | 2013-05-21 23:42:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-21 23:42:40 -0700 |
commit | 0a07ed14c27a3b4269c024dc4827483d33b9c059 (patch) | |
tree | 8d3d8c654f3041ea7b77d1c6b5c78db037d74c66 /OpenAL32/Include | |
parent | 604726c6392e6deefa9648ef6f8044ccf85ac1fa (diff) |
Rename DELETE to DELETE_OBJ
Because Windows.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index c7ad6418..6ad7382e 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -70,8 +70,7 @@ static const union { #define SET_VTABLE1(T1, obj) ((obj)->vtbl = &(T1##_vtable)) #define SET_VTABLE2(T1, T2, obj) SET_VTABLE1(T1##_##T2, STATIC_CAST(T2, (obj))) -#define NEW(T) (T##Factory_getFactory()->create()) -#define DELETE(obj) ((obj)->vtbl->getCreator()->vtbl->destroy((obj))) +#define DELETE_OBJ(obj) ((obj)->vtbl->getCreator()->vtbl->destroy((obj))) #ifdef _WIN32 |