1. Python CFFI
  2. Untitled project
  3. cffi

Commits

Show all
Author Commit Message Date Builds
Armin Rigo
merge heads
Armin Rigo
Lies, this didn't print a list
Armin Rigo
Clean up
Amaury Forgeot d'Arc
Add my employer in AUTHORS
Amaury Forgeot d'Arc
Add ffi.gc(ptr, None) which *removes* the destructor in-place on a ffi.gc() object.
Amaury Forgeot d'Arc
Implement backend.gcp() for the ctypes backend, and remove gc_weakref.
Armin Rigo
hg merge release-1.6
Armin Rigo
md5/sha1
Branches
release-1.6
Armin Rigo
hg merge default
Branches
release-1.6
Armin Rigo
Re-add this hack, removed in 51f1337c9b4c; but this time only in tests
Armin Rigo
Windows fix: 'struct a' is a great name for being predefined and not reusable
Armin Rigo
kill unused var
Armin Rigo
make release branch
Branches
release-1.6
Armin Rigo
ffi.unpack(), extern "Python+C"
Armin Rigo
Move the FFI Interface and Conversion reference sections to their own page.
Armin Rigo
update
Armin Rigo
Support help(lib.foo)
Armin Rigo
Still delay this a bit longer
Armin Rigo
Issue #254: extern "Python+C"
Armin Rigo
Mention ffi.unpack(), full doc later
Armin Rigo
update the version number to 1.6
Armin Rigo
Oops. In this case, unpack(p) returns a list of <cdata struct> that are each inside 'p'. So 'p' must be kept alive
Armin Rigo
There is no reason to restrict ffi.unpack() to primitives.
Armin Rigo
Remove again ffi.rawstring(), and implement instead ffi.unpack(). Pre-documentation notes: (hi Amaury :-) * ffi.unpack(<cdata 'char'>, n) == ffi.buffer(<cdata 'char'>, n)[:] but I hope it is a little bit more natural * ffi.unpack(<cdata 'wchar_t'>, n): this is the original motivation, because it has no previous equivalent * ffi.unpack(<cdata 'int'>, n) == list(<cdata 'int'>[0:n]) but should be much faster on CPython
Armin Rigo
Python3 compat
Armin Rigo
Also accept arrays of int8_t or uint8_t, like ffi.string()
Armin Rigo
Add a test here
Armin Rigo
ffi.rawstring(), with a minimal interface
Armin Rigo
Test and fix for converting empty ffi's in embedding mode
Michael McGee
Change get_current_ts to always use _Py_atomic_load_relaxed when available.
  1. Prev
  2. Next