JavaZipSupport.st
branchdevelopment
changeset 2070 1beac7c15362
parent 2069 75d40b7b986f
child 2380 9195eccdcbd9
--- a/JavaZipSupport.st	Thu Feb 14 16:15:31 2013 +0000
+++ b/JavaZipSupport.st	Fri Feb 15 18:40:47 2013 +0000
@@ -41,6 +41,24 @@
 	privateIn:JavaZipSupport
 !
 
+!JavaZipSupport primitiveDefinitions!
+%{
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <string.h>
+#include "zlib.h"
+
+#define MIN2(x, y)  ((x) < (y) ? (x) : (y))
+
+#define DEF_MEM_LEVEL 8
+#define __zStreamVal(x) ((z_stream *)(__ExternalBytesInstPtr(x)->e_address))
+
+%}
+! !
+
+
 !JavaZipSupport class methodsFor:'documentation'!
 
 copyright