Go to the source code of this file.
Classes | |
struct | LZ4Compressor |
struct | LZ4Decompressor |
struct | module_state |
Defines | |
#define | GETSTATE(m) (&_state) |
#define | INITERROR return |
Functions | |
static PyObject * | compress_impl (LZ4Compressor *self, Py_buffer *input, PyObject *output) |
static int | grow_buffer (PyObject **buf) |
void | init_roslz4 (void) |
static PyObject * | LZ4Compressor_compress (LZ4Compressor *self, PyObject *args) |
static void | LZ4Compressor_dealloc (LZ4Compressor *self) |
static PyObject * | LZ4Compressor_flush (LZ4Compressor *self, PyObject *args) |
static int | LZ4Compressor_init (LZ4Compressor *self, PyObject *args, PyObject *kwds) |
static void | LZ4Decompressor_dealloc (LZ4Decompressor *self) |
static PyObject * | LZ4Decompressor_decompress (LZ4Decompressor *self, PyObject *args) |
static int | LZ4Decompressor_init (LZ4Decompressor *self, PyObject *args, PyObject *kwds) |
Variables | |
static struct module_state | _state |
static PyMethodDef | LZ4Compressor_methods [] |
static PyTypeObject | LZ4Compressor_Type |
static PyMethodDef | LZ4Decompressor_methods [] |
static PyTypeObject | LZ4Decompressor_Type |
Definition at line 46 of file _roslz4module.c.
#define INITERROR return |
Definition at line 416 of file _roslz4module.c.
static PyObject* compress_impl | ( | LZ4Compressor * | self, |
Py_buffer * | input, | ||
PyObject * | output | ||
) | [static] |
Definition at line 99 of file _roslz4module.c.
static int grow_buffer | ( | PyObject ** | buf | ) | [static] |
Definition at line 52 of file _roslz4module.c.
void init_roslz4 | ( | void | ) |
Definition at line 419 of file _roslz4module.c.
static PyObject* LZ4Compressor_compress | ( | LZ4Compressor * | self, |
PyObject * | args | ||
) | [static] |
Definition at line 168 of file _roslz4module.c.
static void LZ4Compressor_dealloc | ( | LZ4Compressor * | self | ) | [static] |
Definition at line 76 of file _roslz4module.c.
static PyObject* LZ4Compressor_flush | ( | LZ4Compressor * | self, |
PyObject * | args | ||
) | [static] |
Definition at line 182 of file _roslz4module.c.
static int LZ4Compressor_init | ( | LZ4Compressor * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) | [static] |
Definition at line 83 of file _roslz4module.c.
static void LZ4Decompressor_dealloc | ( | LZ4Decompressor * | self | ) | [static] |
Definition at line 247 of file _roslz4module.c.
static PyObject* LZ4Decompressor_decompress | ( | LZ4Decompressor * | self, |
PyObject * | args | ||
) | [static] |
Definition at line 270 of file _roslz4module.c.
static int LZ4Decompressor_init | ( | LZ4Decompressor * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) | [static] |
Definition at line 254 of file _roslz4module.c.
struct module_state _state [static] |
Definition at line 47 of file _roslz4module.c.
PyMethodDef LZ4Compressor_methods[] [static] |
{ {"compress", (PyCFunction)LZ4Compressor_compress, METH_VARARGS, "method doc"}, {"flush", (PyCFunction)LZ4Compressor_flush, METH_VARARGS, "method doc"}, {NULL} }
Definition at line 194 of file _roslz4module.c.
PyTypeObject LZ4Compressor_Type [static] |
Definition at line 200 of file _roslz4module.c.
PyMethodDef LZ4Decompressor_methods[] [static] |
{ {"decompress", (PyCFunction)LZ4Decompressor_decompress, METH_VARARGS, "method doc"}, {NULL} }
Definition at line 340 of file _roslz4module.c.
PyTypeObject LZ4Decompressor_Type [static] |
Definition at line 345 of file _roslz4module.c.