Commits

Author Commit Message Labels Comments Date
Armin Rigo
A test with a global callback that we set from a Python function. Mildly impressive: it works out of the box.
Armin Rigo
Access global structures, why not
Armin Rigo
Clarify
Armin Rigo
Accessing global array variables. C is fun :-/
Armin Rigo
Simplify the module setup logic; add high-level comments.
Armin Rigo
Global variables. Needed a bit of refactoring: we cannot return directly the extension module any more, because we need to have the global variable as a property.
Armin Rigo
Remove 'ffi.rawload(None).errno', which was a hack that made sense at the time where it was 'ffi.C.errno', but no longer really does now. Moreover, although errno is really coming from the C library, it's strange to have it appear in this library object because we never declared it.
Armin Rigo
Add support for constants, either via "static sometype const x;" or via "#define X ...".
Armin Rigo
Update the example: the buffer is read-write.
Armin Rigo
Uh, I thought I ran the tests.
Armin Rigo
Replace ffi.string() with ffi.buffer() and update the docs. Add an example of how to use it.
Armin Rigo
Fix on 64-bit.
Armin Rigo
- Fixes to silence all -Wall warnings that now show up. - Fixes to the tests to crash upon warnings too.
Armin Rigo
Use distutils. Took me a while to figure out these lines.
Armin Rigo
Minor hack to remove one indirection in the _cffi_exports function calls.
Armin Rigo
A footer with comments and links.
Armin Rigo
Save and restore 'errno' also across verify()ed functions.
Armin Rigo
Add errno on the ffi objects, and document it.
Armin Rigo
Smiley.
Armin Rigo
verify() requires _ffi_backend.
Armin Rigo
Add libffi as a dependency.
Armin Rigo
Add a link to bitbucket.
Armin Rigo
A second pass though the doc, completing and expanding parts.
Armin Rigo
More docs.
Armin Rigo
Working with pointers, structures and arrays.
Armin Rigo
Start writing the Reference section.
Armin Rigo
Fixes.
Maciej Fijalkowski
(arigo, fijal around) Keep this in sync with README.md.
Armin Rigo
Links.
Armin Rigo
Add a third example using neither dlopen() nor verify().
  1. Prev
  2. Next