Author: Maciej Fijalkowski <fij...@gmail.com> Branch: Changeset: r338:8bdb5667731e Date: 2012-06-14 16:14 +0200 http://bitbucket.org/cffi/cffi/changeset/8bdb5667731e/
Log: (fijal, arigo) fix diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ >>> ffi.cdef(""" ... int printf(const char *format, ...); ... """) - >>> C = ffi.rawload(None) # loads what? - >>> C.printf("hi there, %s!\n", "world"); + >>> C = ffi.rawload(None) # loads the entire C namespace + >>> C.printf("hi there, %s!\n", ffi.new("char[]", "world")); Contact ------- _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit