Permalink
Browse files

lz4 decls

  • Loading branch information...
1 parent b62de32 commit 7ba1e19129f0882bbf8c42159054645368ee138e @samrushing samrushing committed May 2, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 coro/lz4.pxd
View
@@ -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)

0 comments on commit 7ba1e19

Please sign in to comment.