Author: jgardou
Date: Mon Jul 30 12:56:25 2012
New Revision: 56996
URL:
http://svn.reactos.org/svn/reactos?rev=56996&view=rev
Log:
[MSVCRTEX]
- Add is(w)blank implementation
Added:
trunk/reactos/lib/sdk/crt/misc/isblank.c (with props)
trunk/reactos/lib/sdk/crt/misc/iswblank.c (with props)
Modified:
trunk/reactos/lib/sdk/crt/msvcrtex.cmake
Added: trunk/reactos/lib/sdk/crt/misc/isblank.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/misc/isblank.c…
==============================================================================
--- trunk/reactos/lib/sdk/crt/misc/isblank.c (added)
+++ trunk/reactos/lib/sdk/crt/misc/isblank.c [iso-8859-1] Mon Jul 30 12:56:25 2012
@@ -1,0 +1,7 @@
+#define __NO_CTYPE_LINES
+#include <ctype.h>
+
+int __cdecl isblank (int _C)
+{
+ return (_isctype(_C, _BLANK) || _C == '\t');
+}
Propchange: trunk/reactos/lib/sdk/crt/misc/isblank.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/misc/iswblank.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/misc/iswblank.…
==============================================================================
--- trunk/reactos/lib/sdk/crt/misc/iswblank.c (added)
+++ trunk/reactos/lib/sdk/crt/misc/iswblank.c [iso-8859-1] Mon Jul 30 12:56:25 2012
@@ -1,0 +1,7 @@
+#define _CRT_WCTYPE_NOINLINE
+#include <ctype.h>
+
+int __cdecl iswblank (wint_t _C)
+{
+ return (iswctype(_C, _BLANK) || _C == '\t');
+}
Propchange: trunk/reactos/lib/sdk/crt/misc/iswblank.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/lib/sdk/crt/msvcrtex.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/msvcrtex.cmake…
==============================================================================
--- trunk/reactos/lib/sdk/crt/msvcrtex.cmake [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/msvcrtex.cmake [iso-8859-1] Mon Jul 30 12:56:25 2012
@@ -36,6 +36,8 @@
startup/dllentry.c
startup/reactos.c
misc/fltused.c
+ misc/isblank.c
+ misc/iswblank.c
misc/ofmt_stub.c
)