mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
26
third_party/zlib/internal.h
vendored
Normal file
26
third_party/zlib/internal.h
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef COSMOPOLITAN_THIRD_PARTY_ZLIB_INTERNAL_H_
|
||||
#define COSMOPOLITAN_THIRD_PARTY_ZLIB_INTERNAL_H_
|
||||
#include "third_party/zlib/deflate.h"
|
||||
|
||||
#define Z_CRC32_SSE42_MINIMUM_LENGTH 64
|
||||
#define Z_CRC32_SSE42_CHUNKSIZE_MASK 15
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
unsigned deflate_read_buf(z_streamp, Bytef *, unsigned) hidden;
|
||||
void copy_with_crc(z_streamp, Bytef *, long) hidden;
|
||||
void crc_finalize(struct DeflateState *const) hidden;
|
||||
void crc_reset(struct DeflateState *const) hidden;
|
||||
uint32_t adler32_simd_(uint32_t, const unsigned char *, size_t) hidden;
|
||||
void crc_fold_init(struct DeflateState *const) hidden;
|
||||
void crc_fold_copy(struct DeflateState *const, unsigned char *,
|
||||
const unsigned char *, long) hidden;
|
||||
unsigned crc_fold_512to32(struct DeflateState *const) hidden;
|
||||
void fill_window_sse(struct DeflateState *) hidden;
|
||||
void *zcalloc(void *, unsigned, unsigned) hidden;
|
||||
void zcfree(void *, void *) hidden;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_THIRD_PARTY_ZLIB_INTERNAL_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue