powerpc.c | powerpc.c | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
buffer[i + 2] = (dest >> 8); | buffer[i + 2] = (dest >> 8); | |||
buffer[i + 3] &= 0x03; | buffer[i + 3] &= 0x03; | |||
buffer[i + 3] |= dest; | buffer[i + 3] |= dest; | |||
} | } | |||
} | } | |||
return i; | return i; | |||
} | } | |||
static lzma_ret | static lzma_ret | |||
powerpc_coder_init(lzma_next_coder *next, lzma_allocator *allocator, | powerpc_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, | |||
const lzma_filter_info *filters, bool is_encoder) | const lzma_filter_info *filters, bool is_encoder) | |||
{ | { | |||
return lzma_simple_coder_init(next, allocator, filters, | return lzma_simple_coder_init(next, allocator, filters, | |||
&powerpc_code, 0, 4, 4, is_encoder); | &powerpc_code, 0, 4, 4, is_encoder); | |||
} | } | |||
extern lzma_ret | extern lzma_ret | |||
lzma_simple_powerpc_encoder_init(lzma_next_coder *next, | lzma_simple_powerpc_encoder_init(lzma_next_coder *next, | |||
lzma_allocator *allocator, const lzma_filter_info *filters) | const lzma_allocator *allocator, | |||
const lzma_filter_info *filters) | ||||
{ | { | |||
return powerpc_coder_init(next, allocator, filters, true); | return powerpc_coder_init(next, allocator, filters, true); | |||
} | } | |||
extern lzma_ret | extern lzma_ret | |||
lzma_simple_powerpc_decoder_init(lzma_next_coder *next, | lzma_simple_powerpc_decoder_init(lzma_next_coder *next, | |||
lzma_allocator *allocator, const lzma_filter_info *filters) | const lzma_allocator *allocator, | |||
const lzma_filter_info *filters) | ||||
{ | { | |||
return powerpc_coder_init(next, allocator, filters, false); | return powerpc_coder_init(next, allocator, filters, false); | |||
} | } | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |