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

Side by Side Diff: third_party/minicrt/alloc.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/_libctiny.mak ('k') | third_party/minicrt/alloc2.cc » ('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 <windows.h>
7 #include <malloc.h>
8
9 extern "C"
10 #if _MSC_VER >= 1400
11 __declspec(noalias restrict)
12 #endif
13 void * __cdecl malloc(size_t size) {
14 return HeapAlloc( GetProcessHeap(), 0, size );
15 }
16
17 extern "C"
18 #if _MSC_VER >= 1400
19 __declspec(noalias)
20 #endif
21 void __cdecl free(void * p) {
22 HeapFree( GetProcessHeap(), 0, p );
23 }
OLDNEW
« no previous file with comments | « third_party/minicrt/_libctiny.mak ('k') | third_party/minicrt/alloc2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698