| 1 | # This file was created automatically by SWIG. | 
 
 
 
 
 | 2 | # Don't modify this file, modify the SWIG interface instead. | 
 
 
 
 
 | 3 | # This file is compatible with both classic and new-style classes. | 
 
 
 
 
 | 4 |  | 
 
 
 
 
 | 5 | import _xdelta3 | 
 
 
 
 
 | 6 |  | 
 
 
 
 
 | 7 | def _swig_setattr_nondynamic(self,class_type,name,value,static=1): | 
 
 
 
 
 | 8 | if (name == "this"): | 
 
 
 
 
 | 9 | if isinstance(value, class_type): | 
 
 
 
 
 | 10 | self.__dict__[name] = value.this | 
 
 
 
 
 | 11 | if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown | 
 
 
 
 
 | 12 | del value.thisown | 
 
 
 
 
 | 13 | return | 
 
 
 
 
 | 14 | method = class_type.__swig_setmethods__.get(name,None) | 
 
 
 
 
 | 15 | if method: return method(self,value) | 
 
 
 
 
 | 16 | if (not static) or hasattr(self,name) or (name == "thisown"): | 
 
 
 
 
 | 17 | self.__dict__[name] = value | 
 
 
 
 
 | 18 | else: | 
 
 
 
 
 | 19 | raise AttributeError("You cannot add attributes to %s" % self) | 
 
 
 
 
 | 20 |  | 
 
 
 
 
 | 21 | def _swig_setattr(self,class_type,name,value): | 
 
 
 
 
 | 22 | return _swig_setattr_nondynamic(self,class_type,name,value,0) | 
 
 
 
 
 | 23 |  | 
 
 
 
 
 | 24 | def _swig_getattr(self,class_type,name): | 
 
 
 
 
 | 25 | method = class_type.__swig_getmethods__.get(name,None) | 
 
 
 
 
 | 26 | if method: return method(self) | 
 
 
 
 
 | 27 | raise AttributeError,name | 
 
 
 
 
 | 28 |  | 
 
 
 
 
 | 29 | import types | 
 
 
 
 
 | 30 | try: | 
 
 
 
 
 | 31 | _object = types.ObjectType | 
 
 
 
 
 | 32 | _newclass = 1 | 
 
 
 
 
 | 33 | except AttributeError: | 
 
 
 
 
 | 34 | class _object : pass | 
 
 
 
 
 | 35 | _newclass = 0 | 
 
 
 
 
 | 36 | del types | 
 
 
 
 
 | 37 |  | 
 
 
 
 
 | 38 |  | 
 
 
 
 
 | 39 |  | 
 
 
 
 
 | 40 | xd3_encode_memory = _xdelta3.xd3_encode_memory | 
 
 
 
 
 | 41 |  | 
 
 
 
 
 | 42 | xd3_decode_memory = _xdelta3.xd3_decode_memory | 
 
 
 
 
 | 43 |  | 
 
 
 
 
 | 44 | xd3_main_cmdline = _xdelta3.xd3_main_cmdline | 
 
 
 
 
 | 45 | XD3_SEC_DJW = _xdelta3.XD3_SEC_DJW | 
 
 
 
 
 | 46 | XD3_SEC_FGK = _xdelta3.XD3_SEC_FGK | 
 
 
 
 
 | 47 | XD3_SEC_NODATA = _xdelta3.XD3_SEC_NODATA | 
 
 
 
 
 | 48 | XD3_SEC_NOINST = _xdelta3.XD3_SEC_NOINST | 
 
 
 
 
 | 49 | XD3_SEC_NOADDR = _xdelta3.XD3_SEC_NOADDR | 
 
 
 
 
 | 50 | XD3_ADLER32 = _xdelta3.XD3_ADLER32 | 
 
 
 
 
 | 51 | XD3_ADLER32_NOVER = _xdelta3.XD3_ADLER32_NOVER | 
 
 
 
 
 | 52 | XD3_ALT_CODE_TABLE = _xdelta3.XD3_ALT_CODE_TABLE | 
 
 
 
 
 | 53 | XD3_NOCOMPRESS = _xdelta3.XD3_NOCOMPRESS | 
 
 
 
 
 | 54 | XD3_BEGREEDY = _xdelta3.XD3_BEGREEDY | 
 
 
 
 
 | 55 | XD3_COMPLEVEL_SHIFT = _xdelta3.XD3_COMPLEVEL_SHIFT | 
 
 
 
 
 | 56 | XD3_COMPLEVEL_MASK = _xdelta3.XD3_COMPLEVEL_MASK | 
 
 
 
 
 | 57 | XD3_COMPLEVEL_1 = _xdelta3.XD3_COMPLEVEL_1 | 
 
 
 
 
 | 58 | XD3_COMPLEVEL_3 = _xdelta3.XD3_COMPLEVEL_3 | 
 
 
 
 
 | 59 | XD3_COMPLEVEL_6 = _xdelta3.XD3_COMPLEVEL_6 | 
 
 
 
 
 | 60 | XD3_COMPLEVEL_9 = _xdelta3.XD3_COMPLEVEL_9 | 
 
 
 
 
 | 61 |  |