Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/minicrt/isctype.cc

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/minicrt/initterm.cc ('k') | third_party/minicrt/libctiny.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //==========================================
2 // LIBCTINY - Matt Pietrek 2001
3 // MSDN Magazine, January 2001
4 //==========================================
5 #include "libctiny.h"
6 #include <ctype.h>
7
8 extern "C" int __cdecl _isctype( int c , int mask ) {
9 /* c valid between -1 and 255 */
10 if (((unsigned)(c + 1)) <= 256)
11 {
12 return ( _pctype[c] & mask ) ;
13 }
14 else
15 return 0;
16 }
OLDNEW
« no previous file with comments | « third_party/minicrt/initterm.cc ('k') | third_party/minicrt/libctiny.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698