|
|
@@ -88,9 +88,9 @@ typedef lzma_ret (*lzma_init_function)(
|
|
|
/// function prototype.
|
|
|
typedef lzma_ret (*lzma_code_function)(
|
|
|
lzma_coder *coder, lzma_allocator *allocator,
|
|
|
- const uint8_t *restrict in, size_t *restrict in_pos,
|
|
|
- size_t in_size, uint8_t *restrict out,
|
|
|
- size_t *restrict out_pos, size_t out_size,
|
|
|
+ const uint8_t *LZMA_RESTRICT in, size_t *LZMA_RESTRICT in_pos,
|
|
|
+ size_t in_size, uint8_t *LZMA_RESTRICT out,
|
|
|
+ size_t *LZMA_RESTRICT out_pos, size_t out_size,
|
|
|
lzma_action action);
|
|
|
|
|
|
/// Type of a function to free the memory allocated for the coder
|
|
|
@@ -234,9 +234,9 @@ extern void lzma_next_end(lzma_next_coder *next, lzma_allocator *allocator);
|
|
|
|
|
|
/// Copy as much data as possible from in[] to out[] and update *in_pos
|
|
|
/// and *out_pos accordingly. Returns the number of bytes copied.
|
|
|
-extern size_t lzma_bufcpy(const uint8_t *restrict in, size_t *restrict in_pos,
|
|
|
- size_t in_size, uint8_t *restrict out,
|
|
|
- size_t *restrict out_pos, size_t out_size);
|
|
|
+extern size_t lzma_bufcpy(const uint8_t *LZMA_RESTRICT in, size_t *LZMA_RESTRICT in_pos,
|
|
|
+ size_t in_size, uint8_t *LZMA_RESTRICT out,
|
|
|
+ size_t *LZMA_RESTRICT out_pos, size_t out_size);
|
|
|
|
|
|
|
|
|
/// \brief Return if expression doesn't evaluate to LZMA_OK
|