[ros-diffs] [fireball] 40783: - Implement RtlDecodePointer and remove respective redefining hack from vectoreh.c.

fireball at svn.reactos.org fireball at svn.reactos.org
Mon May 4 15:26:25 CEST 2009


Author: fireball
Date: Mon May  4 17:26:24 2009
New Revision: 40783

URL: http://svn.reactos.org/svn/reactos?rev=40783&view=rev
Log:
- Implement RtlDecodePointer and remove respective redefining hack from vectoreh.c.

Modified:
    trunk/reactos/lib/rtl/process.c
    trunk/reactos/lib/rtl/vectoreh.c

Modified: trunk/reactos/lib/rtl/process.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/process.c?rev=40783&r1=40782&r2=40783&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/process.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/process.c [iso-8859-1] Mon May  4 17:26:24 2009
@@ -330,6 +330,16 @@
 }
 
 /*
+ * @implemented
+ */
+PVOID
+NTAPI
+RtlDecodePointer(IN PVOID Pointer)
+{
+  return RtlEncodePointer(Pointer);
+}
+
+/*
  * @unimplemented
  */
 PVOID

Modified: trunk/reactos/lib/rtl/vectoreh.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/vectoreh.c?rev=40783&r1=40782&r2=40783&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/vectoreh.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/vectoreh.c [iso-8859-1] Mon May  4 17:26:24 2009
@@ -21,10 +21,6 @@
   LIST_ENTRY ListEntry;
   PVECTORED_EXCEPTION_HANDLER VectoredHandler;
 } RTL_VECTORED_EXCEPTION_HANDLER, *PRTL_VECTORED_EXCEPTION_HANDLER;
-
-/* FIXME - stupid ld won't resolve RtlDecodePointer! Since their implementation
-           is the same just use RtlEncodePointer for now! */
-#define RtlDecodePointer RtlEncodePointer
 
 /* FUNCTIONS ***************************************************************/
 



More information about the Ros-diffs mailing list