Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r734:d645fd803043
Date: 2012-07-28 13:13 +0200
http://bitbucket.org/cffi/cffi/changeset/d645fd803043/

Log:    Turn off a warning: on my machine at least, keyname() is documented
        as returning a "char *" but really returns a "const char *".

diff --git a/demo/_curses.py b/demo/_curses.py
--- a/demo/_curses.py
+++ b/demo/_curses.py
@@ -17,7 +17,7 @@
 int endwin(void);
 bool isendwin(void);
 
-char *keyname(int c);
+const char *keyname(int c);
 static const int KEY_MIN, KEY_MAX;
 
 int setupterm(char *term, int fildes, int *errret);
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to