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

Side by Side Diff: third_party/lzma_sdk/Alloc.h

Issue 6730044: Upgrading lzma_sdk to version 9.20. Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
OLDNEW
(Empty)
1 /* Alloc.h */
2
3 #ifndef __COMMON_ALLOC_H
4 #define __COMMON_ALLOC_H
5
6 #include <stddef.h>
7
8 void *MyAlloc(size_t size);
9 void MyFree(void *address);
10
11 #ifdef _WIN32
12
13 void SetLargePageSize();
14
15 void *MidAlloc(size_t size);
16 void MidFree(void *address);
17 void *BigAlloc(size_t size);
18 void BigFree(void *address);
19
20 #else
21
22 #define MidAlloc(size) MyAlloc(size)
23 #define MidFree(address) MyFree(address)
24 #define BigAlloc(size) MyAlloc(size)
25 #define BigFree(address) MyFree(address)
26
27 #endif
28
29 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698