some ntdll functions (2a) - part 3: forwards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

Here are forwards of some ntdll functions to msvcrt.
These forwards require the functions implemented in
part 1 of this patch (see part1: functions).

Changelog:

	* dlls/msvcrt/msvcrt.spec,
	  dlls/msvcrt20/msvcrt20.spec,
	  dlls/msvcrt/wcs.c:
	Thomas Mertes <thomas.mertes@gmx.at>
	- Forward the ntdll functions _itoa, _ltoa,
	  _ultoa, _i64toa, _ui64toa, _itow, _ltow,
	  _ultow, _i64tow, _ui64tow, _atoi64, _wtoi,
	  _wtol, _wtoi64 to msvcrt / msvcrt20

Greetings
Thomas Mertes

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
diff -urN old_wine-20030219/dlls/msvcrt/msvcrt.spec new_wine-20030219/dlls/msvcrt/msvcrt.spec
--- old_wine-20030219/dlls/msvcrt/msvcrt.spec	Sat Feb 15 00:26:58 2003
+++ new_wine-20030219/dlls/msvcrt/msvcrt.spec	Thu Mar  6 00:02:11 2003
@@ -164,7 +164,7 @@
 @ cdecl _amsg_exit(long) MSVCRT__amsg_exit
 @ cdecl _assert(str str long) MSVCRT__assert
 @ stub _atodbl
-@ stub _atoi64 #(str)
+@ forward _atoi64 ntdll._atoi64
 @ stub _atoldbl
 @ cdecl _beep(long long) _beep
 @ cdecl _beginthread (ptr long ptr) _beginthread
@@ -271,8 +271,8 @@
 @ stub _heapused #(ptr ptr)
 @ cdecl _heapwalk(ptr) _heapwalk
 @ cdecl _hypot(double double) hypot
-@ stub _i64toa #(long str long)
-@ stub _i64tow #(long wstr long)
+@ forward _i64toa ntdll._i64toa
+@ forward _i64tow ntdll._i64tow
 @ cdecl _initterm(ptr ptr) _initterm
 @ stub _inp #(long) -i386
 @ stub _inpd #(long) -i386
@@ -311,7 +311,7 @@
 @ cdecl _ismbstrail(ptr ptr) _ismbstrail
 @ cdecl _isnan( double ) _isnan
 @ forward _itoa ntdll._itoa
-@ cdecl _itow(long wstr long) _itow
+@ forward _itow ntdll._itow
 @ cdecl _j0(double) j0
 @ cdecl _j1(double) j1
 @ cdecl _jn(long double) jn
@@ -329,7 +329,7 @@
 @ cdecl _lseek(long long long) _lseek
 @ cdecl -ret64 _lseeki64(long long long long) _lseeki64
 @ forward _ltoa ntdll._ltoa
-@ cdecl _ltow(long ptr long) _ltow
+@ forward _ltow ntdll._ltow
 @ cdecl _makepath(str str str str str) _makepath
 @ cdecl _matherr(ptr) _matherr
 @ cdecl _mbbtombc(long) _mbbtombc
@@ -474,8 +474,8 @@
 @ cdecl _toupper(long) MSVCRT__toupper
 @ stub _tzname
 @ cdecl _tzset() tzset
-@ stub _ui64toa #(long str long)
-@ stub _ui64tow #(long wstr long)
+@ forward _ui64toa ntdll._ui64toa
+@ forward _ui64tow ntdll._ui64tow
 @ forward _ultoa ntdll._ultoa
 @ forward _ultow ntdll._ultow
 @ cdecl _umask(long) _umask
@@ -559,9 +559,9 @@
 @ stub _wsystem #(wstr)
 @ cdecl _wtempnam(wstr wstr) _wtempnam
 @ stub _wtmpnam #(wstr)
-@ forward _wtoi NTDLL._wtoi
-@ stub _wtoi64 #(wstr)
-@ forward _wtol NTDLL._wtol
+@ forward _wtoi ntdll._wtoi
+@ forward _wtoi64 ntdll._wtoi64
+@ forward _wtol ntdll._wtol
 @ cdecl _wunlink(wstr) _wunlink
 @ cdecl _wutime(wstr ptr) _wutime
 @ cdecl _y0(double) _y0
diff -urN old_wine-20030219/dlls/msvcrt/wcs.c new_wine-20030219/dlls/msvcrt/wcs.c
--- old_wine-20030219/dlls/msvcrt/wcs.c	Thu Dec 19 05:21:30 2002
+++ new_wine-20030219/dlls/msvcrt/wcs.c	Thu Mar  6 00:02:20 2003
@@ -363,25 +363,3 @@
 {
     return isxdigitW( wc );
 }
-
-/*********************************************************************
- *		_itow (MSVCRT.@)
- */
-MSVCRT_wchar_t* _itow(int value,MSVCRT_wchar_t* out,int base)
-{
-  char buf[64];
-  _itoa(value, buf, base);
-  MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, buf, -1, out, 128);
-  return out;
-}
-
-/*********************************************************************
- *		_ltow (MSVCRT.@)
- */
-MSVCRT_wchar_t* _ltow(long value,MSVCRT_wchar_t* out,int base)
-{
-  char buf[128];
-  _ltoa(value, buf, base);
-  MultiByteToWideChar (CP_ACP, MB_PRECOMPOSED, buf, -1, out, 128);
-  return out;
-}
diff -urN old_wine-20030219/dlls/msvcrt20/msvcrt20.spec new_wine-20030219/dlls/msvcrt20/msvcrt20.spec
--- old_wine-20030219/dlls/msvcrt20/msvcrt20.spec	Thu Dec 12 03:20:47 2002
+++ new_wine-20030219/dlls/msvcrt20/msvcrt20.spec	Thu Mar  6 00:02:05 2003
@@ -525,6 +525,7 @@
 @ forward _amsg_exit msvcrt._amsg_exit
 @ forward _assert msvcrt._assert
 @ forward _atodbl msvcrt._atodbl
+@ forward _atoi64 msvcrt._atoi64
 @ forward _atoldbl msvcrt._atoldbl
 @ forward _beep msvcrt._beep
 @ forward _beginthread msvcrt._beginthread
@@ -622,6 +623,8 @@
 @ forward _heapused msvcrt._heapused
 @ forward _heapwalk msvcrt._heapwalk
 @ forward _hypot msvcrt._hypot
+@ forward _i64toa msvcrt._i64toa
+@ forward _i64tow msvcrt._i64tow
 @ forward _initterm msvcrt._initterm
 @ forward _iob msvcrt._iob
 @ forward _isatty msvcrt._isatty
@@ -844,6 +847,8 @@
 @ forward _toupper msvcrt._toupper
 @ forward _tzname msvcrt._tzname
 @ forward _tzset msvcrt._tzset
+@ forward _ui64toa msvcrt._ui64toa
+@ forward _ui64tow msvcrt._ui64tow
 @ forward _ultoa msvcrt._ultoa
 @ forward _ultow msvcrt._ultow
 @ forward _umask msvcrt._umask
@@ -924,6 +929,7 @@
 @ forward _wtempnam msvcrt._wtempnam
 @ forward _wtmpnam msvcrt._wtmpnam
 @ forward _wtoi msvcrt._wtoi
+@ forward _wtoi64 msvcrt._wtoi64
 @ forward _wtol msvcrt._wtol
 @ forward _wunlink msvcrt._wunlink
 @ forward _wutime msvcrt._wutime

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux