Commits

Armin Rigo  committed efa2822

Update the documentation about FILE.

  • Participants
  • Parent commits 2e6275a

Comments (0)

Files changed (1)

File doc/source/index.rst

   some headers declare a different type (e.g. an enum) and also call it
   ``bool``.
 
-* *New in version 0.4:* FILE.  Limited support: just enough to declare C
-  functions taking a ``FILE *`` argument and calling them with a Python
-  file object.
+* *New in version 0.4:* FILE.  You can declare C functions taking a
+  ``FILE *`` argument and call them with a Python file object.  If needed,
+  you can also do ``c_f = ffi.cast("FILE *", fileobj)`` and then pass around
+  ``c_f``.
 
 .. "versionadded:: 0.4": bool
 .. "versionadded:: 0.4": FILE