mirror of
https://github.com/google/brotli.git
synced 2024-12-27 10:20:17 +00:00
Update brotlimodule.cc
This commit is contained in:
parent
a4f40c1b24
commit
ca0ae4cbc0
@ -20,6 +20,7 @@ static int as_uint8(PyObject *o, int* result) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*result = (int) value;
|
*result = (int) value;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mode_convertor(PyObject *o, BrotliParams::Mode *mode) {
|
static int mode_convertor(PyObject *o, BrotliParams::Mode *mode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user