summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2012-06-03 13:16:03 +0200
committerArmin Rigo <arigo@tunes.org>2012-06-03 13:16:03 +0200
commitc7e1a98e5a72a76c435222975ff477d74c52d55c (patch)
treed1424f9c0e97f60c4bde2e8338ed6e4ee4b81a42 /README.md
parent771bd778bb674a55f2bd65469a0eb4323d3714c7 (diff)
downloadcffi-c7e1a98e5a72a76c435222975ff477d74c52d55c.tar.gz
List the next steps in README.md.
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1dc69ae..fe22df0 100644
--- a/README.md
+++ b/README.md
@@ -8,3 +8,30 @@ Initial motivation
------------------
http://mail.python.org/pipermail/pypy-dev/2012-May/009915.html
+
+
+Current status
+--------------
+
+* works as a ctypes replacement
+* can use internally either ctypes or a C extension module
+
+
+Next steps
+----------
+
+the verify() step, which should handle:
+ * completing "...;" structs
+ * checking the other structs, and the arguments to functions, using the real C compiler
+ * simple "#define FOO value" macros
+ * macros of the kind "#define funcname otherfuncname"
+ * more complicated macros "#define foo(a, b, c) ..."
+ * checking and correcting the value of the enum {} declarations
+ * probably also fixing the array lengths, e.g. declared as a field "int foo[...];"
+
+generating C extensions:
+ * this is needed anyway to call macros
+ * faster, libffi-free way to call C code
+ * partial blockers: callbacks (probably still use libffi)
+
+_ffi backend for PyPy