OLD | NEW |
| (Empty) |
1 //========================================== | |
2 // LIBCTINY - Matt Pietrek 2001 | |
3 // MSDN Magazine, January 2001 | |
4 //========================================== | |
5 #include "libctiny.h" | |
6 #include <windows.h> | |
7 #include <string.h> | |
8 | |
9 // Force the linker to include USER32.LIB | |
10 #pragma comment(linker, "/defaultlib:user32.lib") | |
11 | |
12 extern "C" char * __cdecl strupr(char *s) { | |
13 CharUpperBuff( s, lstrlen(s) ); | |
14 return s; | |
15 } | |
16 | |
17 extern "C" char * __cdecl strlwr(char *s) { | |
18 CharLowerBuff( s, lstrlen(s) ); | |
19 return s; | |
20 } | |
OLD | NEW |