Commit Graph

4 Commits

Author SHA1 Message Date
William S Fulton edbbe014f9 [Python] Accept str in the varargs example typemaps
The varargs and libffi typemap examples in the manual now convert a Python str
with PyUnicode_AsUTF8 instead of requiring a bytes object, so bring the matching
example interface files into line.

The libffi runme no longer needs byte string literals for the printf format
string, the printf arguments or the execlp arguments.

Assisted-by: Claude Code (Opus 5)
2026-08-10 22:42:57 +01:00
Olly Betts d6ecf084eb Revert "Remove libffi example, it isn't portable"
This reverts commit 564979a4b5.
2024-03-28 10:15:32 +13:00
William S Fulton 564979a4b5 Remove libffi example, it isn't portable 2024-02-23 08:40:08 +00:00
Olly Betts 66e054a0a6 [python] Add runme.py for libffi example
Fixes #2805
2024-02-23 17:14:49 +13:00