diff options
author | bashi@chromium.org <bashi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-22 23:01:02 +0000 |
---|---|---|
committer | bashi@chromium.org <bashi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-22 23:01:02 +0000 |
commit | c2a4e52708caf2c92e8f783ffb79e7212ad3f853 (patch) | |
tree | bf761d0b82ad8c5a456240edf38fbb11623964ec /third_party/lzma_sdk/7zAlloc.h | |
parent | 4a4e3477010dceec7df3313ec20c6d0915ef4fca (diff) | |
download | chromium_src-c2a4e52708caf2c92e8f783ffb79e7212ad3f853.zip chromium_src-c2a4e52708caf2c92e8f783ffb79e7212ad3f853.tar.gz chromium_src-c2a4e52708caf2c92e8f783ffb79e7212ad3f853.tar.bz2 |
Second attempt to update lzma_sdk to 9.20
The first attempt (r132887) was reverted because the CL
caused build failure on Linux. This is second attempt.
Copied only C code required to open 7z archive files and
uncompress LZMA compression.
CpuArch.c was modified to fix an compile error on 32bit Linux.
Updated chrome/installer/util/lzma_util.cc to follow API
changes.
BUG=None
TEST=installer_util_unittests --gtest_filter='LzmaUtilTest.*'
Review URL: http://codereview.chromium.org/10152012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/lzma_sdk/7zAlloc.h')
-rw-r--r-- | third_party/lzma_sdk/7zAlloc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/lzma_sdk/7zAlloc.h b/third_party/lzma_sdk/7zAlloc.h new file mode 100644 index 0000000..3344e93 --- /dev/null +++ b/third_party/lzma_sdk/7zAlloc.h @@ -0,0 +1,15 @@ +/* 7zAlloc.h -- Allocation functions +2010-10-29 : Igor Pavlov : Public domain */ + +#ifndef __7Z_ALLOC_H +#define __7Z_ALLOC_H + +#include <stdlib.h> + +void *SzAlloc(void *p, size_t size); +void SzFree(void *p, void *address); + +void *SzAllocTemp(void *p, size_t size); +void SzFreeTemp(void *p, void *address); + +#endif |