mirror of
https://github.com/vasi/pixz
synced 2024-11-03 09:40:24 +00:00
use bool
This commit is contained in:
parent
64ee987eb8
commit
c3bb4bafee
2
block.c
2
block.c
@ -30,7 +30,7 @@ void pixz_block_free(pixz_block *b) {
|
||||
free(b);
|
||||
}
|
||||
|
||||
int pixz_block_full(pixz_block *b) {
|
||||
bool pixz_block_full(pixz_block *b) {
|
||||
return pixz_block_new_input_avail(b) == 0;
|
||||
}
|
||||
|
||||
|
2
pixz.h
2
pixz.h
@ -24,7 +24,7 @@ typedef struct {
|
||||
pixz_block *pixz_block_new(size_t size, lzma_check check, lzma_filter *filters);
|
||||
void pixz_block_free(pixz_block *b);
|
||||
|
||||
int pixz_block_full(pixz_block *b);
|
||||
bool pixz_block_full(pixz_block *b);
|
||||
size_t pixz_block_new_input_avail(pixz_block *b);
|
||||
uint8_t *pixz_block_new_input_next(pixz_block *b);
|
||||
void pixz_block_new_input(pixz_block *b, size_t bytes);
|
||||
|
Loading…
Reference in New Issue
Block a user