Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r179:8cf4c557d1f1
Date: 2014-12-05 20:49 +0100
http://bitbucket.org/cffi/creflect/changeset/8cf4c557d1f1/

Log:    fix the error message

diff --git a/zeffir/ffi_obj.c b/zeffir/ffi_obj.c
--- a/zeffir/ffi_obj.c
+++ b/zeffir/ffi_obj.c
@@ -231,8 +231,8 @@
     }
     else {
         PyErr_Format(PyExc_TypeError,
-                     "expected a pointer or array ctype, got '%s'",
-                     ct->ct_name);
+                     "expected a pointer, struct, union, or array ctype, "
+                     "got '%s'", ct->ct_name);
         return NULL;
     }
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to