Patch To Speed Up Removal of include/heap.h

Robert Shearman rob at codeweavers.com
Thu Aug 19 20:28:50 CDT 2004


Changelog:
Mark HEAP_strdupWtoA as deprecated.

-------------- next part --------------
Index: wine/include/heap.h
===================================================================
RCS file: /home/wine/wine/include/heap.h,v
retrieving revision 1.26
diff -u -p -r1.26 heap.h
--- wine/include/heap.h	5 Sep 2003 23:15:44 -0000	1.26
+++ wine/include/heap.h	20 Aug 2004 01:25:16 -0000
@@ -31,6 +31,10 @@
 /* strdup macros */
 /* DO NOT USE IT!!  it will go away soon */
 
+#ifdef __GNUC__
+static LPSTR HEAP_strdupWtoA( HANDLE heap, DWORD flags, LPCWSTR str ) __attribute__ ((deprecated));
+#endif
+
 inline static LPSTR HEAP_strdupWtoA( HANDLE heap, DWORD flags, LPCWSTR str )
 {
     LPSTR ret;


More information about the wine-patches mailing list