Author: tkreuzer
Date: Wed Dec 1 21:39:38 2010
New Revision: 49888
URL:
http://svn.reactos.org/svn/reactos?rev=49888&view=rev
Log:
[CMAKE]
Convert __wine_spec_unimplemented_stub to a macro
Modified:
branches/cmake-bringup/include/reactos/stubs.h
Modified: branches/cmake-bringup/include/reactos/stubs.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/reactos/s…
==============================================================================
--- branches/cmake-bringup/include/reactos/stubs.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/reactos/stubs.h [iso-8859-1] Wed Dec 1 21:39:38 2010
@@ -7,11 +7,10 @@
#include <debug.h>
-void __wine_spec_unimplemented_stub(const char *module, const char *function )
-{
- ULONG_PTR args[2];
-
- args[0] = (ULONG_PTR)module;
- args[1] = (ULONG_PTR)function;
- RaiseException( EXCEPTION_WINE_STUB, EH_NONCONTINUABLE, 2, args );
+#define __wine_spec_unimplemented_stub(module, function) \
+{ \
+ ULONG_PTR args[2]; \
+ args[0] = (ULONG_PTR)module; \
+ args[1] = (ULONG_PTR)function; \
+ RaiseException( EXCEPTION_WINE_STUB, EH_NONCONTINUABLE, 2, args ); \
}