summaryrefslogtreecommitdiff
path: root/bindings/swig/swcompress.i
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:49 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:49 -0400
commit8c8aa6b07e595cfac56838b5964ab3e96051f1b2 (patch)
treeda38e2c1979148dbd3b0c7b87f930746f5ba7f44 /bindings/swig/swcompress.i
parent8d3fc864d094eeadc721f8e93436b37a5fab173e (diff)
Imported Upstream version 1.5.7
Diffstat (limited to 'bindings/swig/swcompress.i')
-rw-r--r--bindings/swig/swcompress.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/bindings/swig/swcompress.i b/bindings/swig/swcompress.i
new file mode 100644
index 0000000..9029db6
--- /dev/null
+++ b/bindings/swig/swcompress.i
@@ -0,0 +1,17 @@
+%{
+#include <swcomprs.h>
+using namespace sword;
+%}
+
+class SWCompress {
+public:
+ SWCompress();
+ virtual ~SWCompress();
+
+ virtual char *Buf (const char *buf = 0, unsigned long *len = 0);
+ virtual char *zBuf (unsigned long *len, char *buf = 0);
+ virtual unsigned long GetChars (char *buf, unsigned long len);
+ virtual unsigned long SendChars (char *buf, unsigned long len);
+ virtual void Encode (void);
+ virtual void Decode (void);
+};