Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lz4 decls

  • Loading branch information...
commit 7ba1e19129f0882bbf8c42159054645368ee138e 1 parent b62de32
Sam Rushing authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 coro/lz4.pxd
View
11 coro/lz4.pxd
@@ -0,0 +1,11 @@
+# -*- Mode: Cython -*-
+
+# http://code.google.com/p/lz4/
+
+cdef extern from "lz4.h":
+ cdef int LZ4_compress (char * source, char * dest, int isize)
+ cdef int LZ4_uncompress (char * source, char * dest, int osize)
+ cdef int LZ4_compressBound (int isize)
+ cdef int LZ4_uncompress_unknownOutputSize (char * source, char * dest, int isize, int maxOutputSize)
+ cdef int LZ4_compressCtx (void ** ctx, char * source, char * dest, int isize)
+ cdef int LZ4_compress64kCtx (void ** ctx, char * source, char * dest, int isize)
Please sign in to comment.
Something went wrong with that request. Please try again.