diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-13 21:25:54 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-13 21:25:54 +0000 |
commit | cce76a6de3cc94e5ede134eb49867b6d38a95439 (patch) | |
tree | ba13b6b5b1897e5322d8fe13b1e20478cb2a0e45 /devel/py-ncurses/files/patch-ncurses::_curses_wrap.c | |
parent | oops, missed to import distinfo file (diff) |
This committer needs to take a seep. *sigh*
I was planning to rename pyncurses into more appropriate py-ncurses
before committing it out, but forgot to do so. Therefore delete
pyncurses and readd it back as py-ncurses.
Py-ncurses is a Ncurses binding for Python.
PR: 18633
Submitted by: adsharma@sharams.dhs.org
Diffstat (limited to 'devel/py-ncurses/files/patch-ncurses::_curses_wrap.c')
-rw-r--r-- | devel/py-ncurses/files/patch-ncurses::_curses_wrap.c | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/devel/py-ncurses/files/patch-ncurses::_curses_wrap.c b/devel/py-ncurses/files/patch-ncurses::_curses_wrap.c new file mode 100644 index 000000000000..f5b7a0f582ae --- /dev/null +++ b/devel/py-ncurses/files/patch-ncurses::_curses_wrap.c @@ -0,0 +1,78 @@ + +$FreeBSD$ + +--- ncurses/_curses_wrap.c.orig Sat Apr 22 23:52:02 2000 ++++ ncurses/_curses_wrap.c Tue Mar 13 19:23:42 2001 +@@ -1136,7 +1136,7 @@ + extern bool isendwin(); + extern bool is_linetouched(WINDOW *,int ); + extern bool is_wintouched(WINDOW *); +-extern const char *keyname(int ); ++/*extern const char *keyname(int );*/ + extern int keypad(WINDOW *,bool ); + extern char killchar(); + extern int leaveok(WINDOW *,bool ); +@@ -1147,7 +1147,7 @@ + extern int mvwin(WINDOW *,int ,int ); + extern int napms(int ); + extern WINDOW *newpad(int ,int ); +-extern SCREEN *newterm(const char *,FILE *,FILE *); ++/*extern SCREEN *newterm(const char *,FILE *,FILE *);*/ + extern WINDOW *newwin(int ,int ,int ,int ); + extern int nl(); + extern int nocbreak(); +@@ -1197,15 +1197,15 @@ + extern int syncok(WINDOW *,bool ); + extern chtype termattrs(); + extern char *termname(); +-extern int tigetflag(const char *); +-extern int tigetnum(const char *); +-extern char *tigetstr(const char *); ++/*extern int tigetflag(const char *);*/ ++/*extern int tigetnum(const char *);*/ ++/*extern char *tigetstr(const char *);*/ + extern int typeahead(int ); + extern int ungetch(int ); + extern void use_env(bool ); + extern int vidattr(chtype ); +-extern int vwprintw(WINDOW *,const char *,va_list ); +-extern int vwscanw(WINDOW *,const char *,va_list ); ++/*extern int vwprintw(WINDOW *,const char *,va_list );*/ ++/*extern int vwscanw(WINDOW *,const char *,va_list );*/ + extern int waddch(WINDOW *,const chtype ); + extern int waddchnstr(WINDOW *,const chtype *,int ); + extern int waddnstr(WINDOW *,const char *,int ); +@@ -4442,7 +4442,8 @@ + } + + static PyObject *_wrap__tracechar(PyObject *self, PyObject *args) { +- PyObject * _resultobj; ++ return Py_None; ++/* PyObject * _resultobj; + char * _result; + unsigned char _arg0; + +@@ -4451,11 +4452,12 @@ + return NULL; + _result = (char *)_tracechar(_arg0); + _resultobj = Py_BuildValue("s", _result); +- return _resultobj; ++ return _resultobj;*/ + } + + static PyObject *_wrap_trace(PyObject *self, PyObject *args) { +- PyObject * _resultobj; ++ return Py_None; ++/* PyObject * _resultobj; + unsigned int _arg0; + + self = self; +@@ -4464,7 +4466,7 @@ + trace(_arg0); + Py_INCREF(Py_None); + _resultobj = Py_None; +- return _resultobj; ++ return _resultobj;*/ + } + + static PyObject *_wrap__nc_visbuf(PyObject *self, PyObject *args) { |