diff options
author | Maciej Fijalkowski <fijall@gmail.com> | 2012-06-14 16:14:19 +0200 |
---|---|---|
committer | Maciej Fijalkowski <fijall@gmail.com> | 2012-06-14 16:14:19 +0200 |
commit | e2ce756b812ce5ff00fd67f7c077a02d7572ada4 (patch) | |
tree | f985e545b42e9ab2043a693cea92244162abf61a /README.md | |
parent | 714c0514b3a70f33dd251bd13553f6934534ce66 (diff) | |
download | cffi-e2ce756b812ce5ff00fd67f7c077a02d7572ada4.tar.gz |
(fijal, arigo) fix
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,8 +24,8 @@ Simple example >>> 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 ------- |