From 2ab3a8fc9bd173a2e51a91cfbff9ba466c2510c7 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 25 Jan 2020 19:32:47 -0800 Subject: Fixed IObject::AddRef c interface --- Primitives/interface/Object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Primitives/interface') diff --git a/Primitives/interface/Object.h b/Primitives/interface/Object.h index a3ede3ff..931020ab 100644 --- a/Primitives/interface/Object.h +++ b/Primitives/interface/Object.h @@ -109,7 +109,7 @@ struct IObject // clang-format off # define IObject_QueryInterface(This, ...) (This)->pVtbl->Object.QueryInterface((struct IObject*)(This), __VA_ARGS__) -# define IObject_AddRef(This, ...) (This)->pVtbl->Object.AddRef ((struct IObject*)(This), __VA_ARGS__) +# define IObject_AddRef(This) (This)->pVtbl->Object.AddRef ((struct IObject*)(This)) # define IObject_Release(This) (This)->pVtbl->Object.Release ((struct IObject*)(This)) // clang-format on -- cgit v1.2.3