summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMaciej Fijalkowski <fijall@gmail.com>2012-06-14 16:14:19 +0200
committerMaciej Fijalkowski <fijall@gmail.com>2012-06-14 16:14:19 +0200
commite2ce756b812ce5ff00fd67f7c077a02d7572ada4 (patch)
treef985e545b42e9ab2043a693cea92244162abf61a /README.md
parent714c0514b3a70f33dd251bd13553f6934534ce66 (diff)
downloadcffi-e2ce756b812ce5ff00fd67f7c077a02d7572ada4.tar.gz
(fijal, arigo) fix
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9b3b7d4..8b46daa 100644
--- a/README.md
+++ b/README.md
@@ -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
-------