1. Python CFFI
  2. Untitled project
  3. cffi

Commits

Author Commit Message Date Builds
Armin Rigo
Tentative: allow load_library(None).
Armin Rigo
Fix tests
Armin Rigo
Fix the tests
Armin Rigo
C99 has complex types as standard, at least "_Complex double" and "_Complex float". Added tests but not implemented so far.
Armin Rigo
Revert 0d5efadab0ac and use a different approach: reading a field of type 'foo[0]' returns not a <cdata 'foo[0]'>, but a <cdata 'foo *'>. This is a bit of a special-case, but more consistent with what we can do with the cdata.
Armin Rigo
Workaround: allow out-of-bound array indexes if the array is 'type[0]'.
Armin Rigo
Add a skipped test
Armin Rigo
Unimplemented features
Armin Rigo
Test and fix.
Armin Rigo
Be more precise: only 'struct *'.
Armin Rigo
verify() doesn't fully work with the ctypes backend. Complain clearly in this situation.
Armin Rigo
Side-effect: the ctypes backend now supports verify().
Armin Rigo
hg merge verifier2: split the verifier into a base Verifier class and one of two VEngine classes, which produce either a CPython C extension module or a generic C module. The former is used only on CPython when using the _cffi_backend. The latter is used for the other cases, notably on PyPy: to call the generic C module, we use CFFI again.
Armin Rigo
Close branch about to be merged
Branches
verifier2
Armin Rigo
Merge the two verifiers into two VEngine classes. There is still a little bit of code duplication but not too much.
Branches
verifier2
Armin Rigo
Skip the tail of these two tests if not building a CPython C extension module.
Branches
verifier2
Armin Rigo
hg merge default
Branches
verifier2
Armin Rigo
Rename these two tests.
Armin Rigo
str() -> ffi.string()
Branches
verifier2
Armin Rigo
Fix the merge: I was getting confused about the numbers of testfuncs
Branches
verifier2
Armin Rigo
hg merge default
Branches
verifier2
Armin Rigo
ffi.string() is "New in version 0.3."
Armin Rigo
Move a repeated piece of code before.
Armin Rigo
detail
Armin Rigo
update doc
Armin Rigo
ReST fix
Armin Rigo
Update documentation for ffi.string().
Armin Rigo
Don't accidentally decode ints as unicodes.
Armin Rigo
Fix demos
Armin Rigo
As discussed on the mailing list: str() -> ffi.string()
  1. Prev
  2. Next