class FFIError(Exception): pass class CDefError(Exception): def __str__(self): try: current_decl = self.args[1] filename = current_decl.coord.file linenum = current_decl.coord.line prefix = '%s:%d: ' % (filename, linenum) except (AttributeError, TypeError, IndexError): prefix = '' return '%s%s' % (prefix, self.args[0]) class VerificationError(Exception): """ An error raised when verification fails """ class VerificationMissing(Exception): """ An error raised when incomplete structures are passed into cdef, but no verification has been done """
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 479 B | 0644 |
|
_cffi_errors.h | File | 3.71 KB | 0644 |
|
_cffi_include.h | File | 11.86 KB | 0644 |
|
_embedding.h | File | 15.65 KB | 0644 |
|
api.py | File | 39.72 KB | 0644 |
|
backend_ctypes.py | File | 41.1 KB | 0644 |
|
cffi_opcode.py | File | 5.59 KB | 0644 |
|
commontypes.py | File | 2.63 KB | 0644 |
|
cparser.py | File | 38.33 KB | 0644 |
|
error.py | File | 666 B | 0644 |
|
ffiplatform.py | File | 3.95 KB | 0644 |
|
lock.py | File | 747 B | 0644 |
|
model.py | File | 21.05 KB | 0644 |
|
parse_c_type.h | File | 5.84 KB | 0644 |
|
recompiler.py | File | 61.93 KB | 0644 |
|
setuptools_ext.py | File | 8.01 KB | 0644 |
|
vengine_cpy.py | File | 40.5 KB | 0644 |
|
vengine_gen.py | File | 26.05 KB | 0644 |
|
verifier.py | File | 10.94 KB | 0644 |
|