Commits

Author Commit Message Labels Comments Date
Armin Rigo
Test and fix
Armin Rigo
This 256 is better found out automatically.
Armin Rigo
Makes no sense to declare fields that we are not using.
Armin Rigo
Update the TODO list
Armin Rigo
Fix for the verifier test. It lets us define as "typedef ... xyz" some type whose value we are never interested in, but who might not be a struct type at all --- but instead e.g. some integer handle.
Armin Rigo
Test and fix: keep the two backends in sync
Armin Rigo
Add a test.
Armin Rigo
Add a reminder.
Armin Rigo
Tweak the repr of cdata objects in an attempt to reduce a bit confusion.
Armin Rigo
Reorganize things a little bit
Armin Rigo
Tests, and fix for enums.
Armin Rigo
Functions and function pointers as arguments.
Armin Rigo
verify: Function pointer as argument
Armin Rigo
More precise error message
Armin Rigo
ctypes support: structs or unions of size manually forced to 0.
Armin Rigo
typo
Armin Rigo
Extension to the C language: cast to an array type (reason documented).
Armin Rigo
Add a test
Armin Rigo
Tweaks
Armin Rigo
Expose at least the value of FFI_DEFAULT_ABI.
Armin Rigo
A feature not exposed so far via the normal interface: specify the ABI of function types.
Armin Rigo
Add a 'packages' section to setup_base.py.
Armin Rigo
typo
Armin Rigo
When sizeof(wchar_t) == 4 but we are using 2-bytes unicode characters in Python, even the 2.7 version of PyUnicode_FromWideChar() fails to detect values that are too large to be encoded as surrogates, and returns nonsense. In a "better safe than sorry" effort, raise ValueError in this case.
Armin Rigo
Document wchar_t.
Armin Rigo
Merge the 'wchar_t' branch, adding support for wchar_t.
Armin Rigo
Fix str() to default to exactly repr(), not cdata_repr().
Armin Rigo
Simplify the caching logic a little bit.
Armin Rigo
Implement caching of the types across multiple FFI instances. The types are shared as long as they don't depend on a particular name (i.e. if they contain no struct or union or enum).
Armin Rigo
For interactive usage (playing around), add the option ffi.cdef("..", override=True).
  1. Prev
  2. Next