Mercurial > hg
comparison contrib/python-zstandard/zstd/common/mem.h @ 30822:b54a2984cdd4
zstd: vendor python-zstandard 0.6.0
Commit 63c68d6f5fc8de4afd9bde81b13b537beb4e47e8 from
https://github.com/indygreg/python-zstandard is imported without
modifications (other than removing unwanted files).
This includes minor performance and feature improvements. It also
changes the vendored zstd library from 1.1.1 to 1.1.2.
# no-check-commit
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 14 Jan 2017 19:41:43 -0800 |
parents | 2e484bdea8c4 |
children | c32454d69b85 |
comparison
equal
deleted
inserted
replaced
30821:7005c03f7387 | 30822:b54a2984cdd4 |
---|---|
53 typedef int16_t S16; | 53 typedef int16_t S16; |
54 typedef uint32_t U32; | 54 typedef uint32_t U32; |
55 typedef int32_t S32; | 55 typedef int32_t S32; |
56 typedef uint64_t U64; | 56 typedef uint64_t U64; |
57 typedef int64_t S64; | 57 typedef int64_t S64; |
58 #else | 58 typedef intptr_t iPtrDiff; |
59 typedef unsigned char BYTE; | 59 #else |
60 typedef unsigned char BYTE; | |
60 typedef unsigned short U16; | 61 typedef unsigned short U16; |
61 typedef signed short S16; | 62 typedef signed short S16; |
62 typedef unsigned int U32; | 63 typedef unsigned int U32; |
63 typedef signed int S32; | 64 typedef signed int S32; |
64 typedef unsigned long long U64; | 65 typedef unsigned long long U64; |
65 typedef signed long long S64; | 66 typedef signed long long S64; |
67 typedef ptrdiff_t iPtrDiff; | |
66 #endif | 68 #endif |
67 | 69 |
68 | 70 |
69 /*-************************************************************** | 71 /*-************************************************************** |
70 * Memory I/O | 72 * Memory I/O |