Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r925:0ecaa5b1a62b Date: 2012-09-13 08:40 +0200 http://bitbucket.org/cffi/cffi/changeset/0ecaa5b1a62b/
Log: Fix the error message. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -3278,7 +3278,8 @@ assert(cf != NULL); if (cf->cf_bitshift >= 0) { PyErr_SetString(PyExc_NotImplementedError, - "cannot pass as argument a struct with bit fields"); + "cannot pass as argument or return value " + "a struct with bit fields"); return NULL; } ffifield = fb_fill_type(fb, cf->cf_type, 0); _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit