/* {{{ proto int ncurses_addch(int ch)
- Add character at current position and advance cursor */
+ Adds character at current position and advance cursor */
PHP_FUNCTION(ncurses_addch)
{
long ch;
/* }}} */
/* {{{ proto int ncurses_color_set(int pair)
- Set fore- and background color */
+ Sets fore- and background color */
PHP_FUNCTION(ncurses_color_set)
{
#ifdef HAVE_NCURSES_COLOR_SET
/* }}} */
/* {{{ proto int ncurses_delwin(resource window)
- Delete a ncurses window */
+ Deletes a ncurses window */
PHP_FUNCTION(ncurses_delwin)
{
zval **handle;
/* }}} */
/* {{{ proto int ncurses_end(void)
- Stop using ncurses, clean up the screen */
+ Stops using ncurses, clean up the screen */
PHP_FUNCTION(ncurses_end)
{
RETURN_LONG(endwin()); /* endialize the curses library */
/* }}} */
/* {{{ proto int ncurses_getch(void)
- Read a character from keyboard */
+ Reads a character from keyboard */
PHP_FUNCTION(ncurses_getch)
{
RETURN_LONG(getch());
/* }}} */
/* {{{ proto bool ncurses_has_colors(void)
- Check if terminal has colors */
+ Checks if terminal has colors */
PHP_FUNCTION(ncurses_has_colors)
{
RETURN_BOOL(has_colors());
/* }}} */
/* {{{ proto int ncurses_init(void)
- Initialize ncurses */
+ Initializes ncurses */
PHP_FUNCTION(ncurses_init)
{
initscr(); /* initialize the curses library */
/* }}} */
/* {{{ proto int ncurses_init_pair(int pair, int fg, int bg)
- Allocate a color pair */
+ Allocates a color pair */
PHP_FUNCTION(ncurses_init_pair)
{
long pair, fg, bg;
/* {{{ proto int ncurses_newwin(int rows, int cols, int y, int x)
- Create a new window */
+ Creates a new window */
PHP_FUNCTION(ncurses_newwin)
{
long rows,cols,y,x;
/* }}} */
/* {{{ proto int ncurses_start_color(void)
- Start using colors */
+ Starts using colors */
PHP_FUNCTION(ncurses_start_color)
{
RETURN_LONG(start_color());
/* }}} */
/* {{{ proto int ncurses_standout(void)
- Start using 'standout' attribute */
+ Starts using 'standout' attribute */
PHP_FUNCTION(ncurses_standout)
{
RETURN_LONG(standout());
/* }}} */
/* {{{ proto int ncurses_standend(void)
- Stop using 'standout' attribute */
+ Stops using 'standout' attribute */
PHP_FUNCTION(ncurses_standend)
{
RETURN_LONG(standend());
/* }}} */
/* {{{ proto bool ncurses_can_change_color(void)
- Check if we can change terminals colors */
+ Checks if we can change terminals colors */
PHP_FUNCTION(ncurses_can_change_color)
{
RETURN_LONG(can_change_color());
/* }}} */
/* {{{ proto bool ncurses_cbreak(void)
- Switch of input buffering */
+ Switches of input buffering */
PHP_FUNCTION(ncurses_cbreak)
{
RETURN_LONG(cbreak());
/* }}} */
/* {{{ proto bool ncurses_clear(void)
- Clear screen */
+ Clears screen */
PHP_FUNCTION(ncurses_clear)
{
RETURN_LONG(clear());
/* }}} */
/* {{{ proto bool ncurses_clrtobot(void)
- Clear screen from current position to bottom */
+ Clears screen from current position to bottom */
PHP_FUNCTION(ncurses_clrtobot)
{
RETURN_LONG(clrtobot());
/* }}} */
/* {{{ proto bool ncurses_clrtoeol(void)
- Clear screen from current position to end of line */
+ Clears screen from current position to end of line */
PHP_FUNCTION(ncurses_clrtoeol)
{
RETURN_LONG(clrtoeol());
/* }}} */
/* {{{ proto bool ncurses_def_prog_mode(void)
- Saves terminals (program) mode */
+ Saves terminals (program) mode */
PHP_FUNCTION(ncurses_def_prog_mode)
{
RETURN_LONG(def_prog_mode());
/* }}} */
/* {{{ proto bool ncurses_def_shell_mode(void)
- Saves terminal (shell) mode*/
+ Saves terminal (shell) mode*/
PHP_FUNCTION(ncurses_def_shell_mode)
{
RETURN_LONG(def_shell_mode());
/* }}} */
/* {{{ proto bool ncurses_delch(void)
- Delete character at current position, move rest of line left */
+ Deletes character at current position, move rest of line left */
PHP_FUNCTION(ncurses_delch)
{
RETURN_LONG(delch());
/* }}} */
/* {{{ proto bool ncurses_deleteln(void)
- Delete line at current position, move rest of screen up */
+ Deletes line at current position, move rest of screen up */
PHP_FUNCTION(ncurses_deleteln)
{
RETURN_LONG(deleteln());
/* }}} */
/* {{{ proto bool ncurses_doupdate(void)
- Write all prepared refreshes to terminal */
+ Writes all prepared refreshes to terminal */
PHP_FUNCTION(ncurses_doupdate)
{
RETURN_LONG(doupdate());
/* }}} */
/* {{{ proto bool ncurses_echo(void)
- Activate keyboard input echo */
+ Activates keyboard input echo */
PHP_FUNCTION(ncurses_echo)
{
RETURN_LONG(echo());
/* }}} */
/* {{{ proto bool ncurses_erase(void)
- Erease terminal screen */
+ Erases terminal screen */
PHP_FUNCTION(ncurses_erase)
{
RETURN_LONG(erase());
/* }}} */
/* {{{ proto bool ncurses_flash(void)
- Flash terminal screen (visual bell) */
+ Flashes terminal screen (visual bell) */
PHP_FUNCTION(ncurses_flash)
{
RETURN_LONG(flash());
/* }}} */
/* {{{ proto bool ncurses_flushinp(void)
- Flush keyboard input buffer */
+ Flushes keyboard input buffer */
PHP_FUNCTION(ncurses_flushinp)
{
RETURN_LONG(flushinp());
/* }}} */
/* {{{ proto bool ncurses_has_ic(void)
- Check for insert- and delete-capabilities */
+ Checks for insert- and delete-capabilities */
PHP_FUNCTION(ncurses_has_ic)
{
RETURN_LONG(has_ic());
/* {{{ proto bool ncurses_has_il(void)
- Check for line insert- and delete-capabilities */
+ Checks for line insert- and delete-capabilities */
PHP_FUNCTION(ncurses_has_il)
{
RETURN_LONG(has_il());
/* }}} */
/* {{{ proto string ncurses_inch(void)
- Get character and attribute at current position */
+ Gets character and attribute at current position */
PHP_FUNCTION(ncurses_inch)
{
char temp[2];
RETURN_STRINGL (temp, 1, 1);
}
- /* {{{ proto bool ncurses_insertln(void)
- Insert a line, move rest of screen down */
+/* {{{ proto bool ncurses_insertln(void)
+ Inserts a line, move rest of screen down */
PHP_FUNCTION(ncurses_insertln)
{
RETURN_LONG(insertln());
/* }}} */
/* {{{ proto bool ncurses_nl(void)
- Translate newline and carriage return / line feed */
+ Translates newline and carriage return / line feed */
PHP_FUNCTION(ncurses_nl)
{
RETURN_LONG(nl());
/* }}} */
/* {{{ proto bool ncurses_nocbreak(void)
- Switch terminal to cooked mode */
+ Switches terminal to cooked mode */
PHP_FUNCTION(ncurses_nocbreak)
{
RETURN_LONG(nocbreak());
/* }}} */
/* {{{ proto bool ncurses_noecho(void)
- Switch off keyboard input echo */
+ Switches off keyboard input echo */
PHP_FUNCTION(ncurses_noecho)
{
RETURN_LONG(noecho());
/* }}} */
/* {{{ proto bool ncurses_noraw(void)
- Switch terminal out of raw mode */
+ Switches terminal out of raw mode */
PHP_FUNCTION(ncurses_noraw)
{
RETURN_LONG(noraw());
/* }}} */
/* {{{ proto bool ncurses_raw(void)
- Switch terminal into raw mode */
+ Switches terminal into raw mode */
PHP_FUNCTION(ncurses_raw)
{
RETURN_LONG(raw());
/* }}} */
/* {{{ proto bool ncurses_resetty(void)
- Restore saved terminal state */
+ Restores saved terminal state */
PHP_FUNCTION(ncurses_resetty)
{
RETURN_LONG(resetty());
/* }}} */
/* {{{ proto bool ncurses_savetty(void)
- Save terminal state */
+ Saves terminal state */
PHP_FUNCTION(ncurses_savetty)
{
RETURN_LONG(savetty());
/* }}} */
/* {{{ proto bool ncurses_use_default_colors(void)
- Assign terminal default colors to color id -1 */
+ Assigns terminal default colors to color id -1 */
PHP_FUNCTION(ncurses_use_default_colors)
{
RETURN_LONG(use_default_colors());
*/
/* {{{ proto bool ncurses_slk_attr(void)
- returns current soft label keys attribute */
+ Returns current soft label keys attribute */
PHP_FUNCTION(ncurses_slk_attr)
{
RETURN_LONG(slk_attr());
/* }}} */
/* {{{ proto bool ncurses_slk_clear(void)
- Clears soft label keys from screen */
+ Clears soft label keys from screen */
PHP_FUNCTION(ncurses_slk_clear)
{
RETURN_LONG(slk_clear());
/* }}} */
/* {{{ proto bool ncurses_slk_noutrefresh(void)
- Copies soft label keys to virtual screen */
+ Copies soft label keys to virtual screen */
PHP_FUNCTION(ncurses_slk_noutrefresh)
{
RETURN_LONG(slk_noutrefresh());
/* }}} */
/* {{{ proto bool ncurses_slk_refresh(void)
- Copies soft label keys to screen */
+ Copies soft label keys to screen */
PHP_FUNCTION(ncurses_slk_refresh)
{
RETURN_LONG(slk_refresh());
/* }}} */
/* {{{ proto bool ncurses_slk_restore(void)
- Restores soft label keys */
+ Restores soft label keys */
PHP_FUNCTION(ncurses_slk_restore)
{
RETURN_LONG(slk_restore());
/* }}} */
/* {{{ proto bool ncurses_slk_touch(void)
- Forces output when ncurses_slk_noutrefresh is performed */
+ Forces output when ncurses_slk_noutrefresh is performed */
PHP_FUNCTION(ncurses_slk_touch)
{
RETURN_LONG(slk_touch());
/* }}} */
/* {{{ proto bool ncurses_slk_set(int labelnr, string label, int format)
- sets function key labels */
+ Sets function key labels */
PHP_FUNCTION(ncurses_slk_set)
{
char *str;
/* {{{ proto int ncurses_attroff(int attributes)
- Turn off the given attributes */
+ Turns off the given attributes */
PHP_FUNCTION(ncurses_attroff)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_attron(int attributes)
- Turn on the given attributes */
+ Turns on the given attributes */
PHP_FUNCTION(ncurses_attron)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_attrset(int attributes)
- Set given attributes */
+ Sets given attributes */
PHP_FUNCTION(ncurses_attrset)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_bkgd(int attrchar)
- Set background property for terminal screen */
+ Sets background property for terminal screen */
PHP_FUNCTION(ncurses_bkgd)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_curs_set(int visibility)
- Set cursor state */
+ Sets cursor state */
PHP_FUNCTION(ncurses_curs_set)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_delay_output(int milliseconds)
- Delay output on terminal using padding characters */
+ Delays output on terminal using padding characters */
PHP_FUNCTION(ncurses_delay_output)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_halfdelay(int tenth)
- Put terminal into halfdelay mode */
+ Puts terminal into halfdelay mode */
PHP_FUNCTION(ncurses_halfdelay)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_has_key(int keycode)
- Check for presence of a function key on terminal keyboard */
+ Checks for presence of a function key on terminal keyboard */
PHP_FUNCTION(ncurses_has_key)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_insch(int character)
- Insert character moving rest of line including character at current position */
+ Inserts character moving rest of line including character at current position */
PHP_FUNCTION(ncurses_insch)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_insdelln(int count)
- Insert lines before current line scrolling down (negative numbers delete and scroll up) */
+ Inserts lines before current line scrolling down (negative numbers delete and scroll up) */
PHP_FUNCTION(ncurses_insdelln)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_mouseinterval(int milliseconds)
- Set timeout for mouse button clicks */
+ Sets timeout for mouse button clicks */
PHP_FUNCTION(ncurses_mouseinterval)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_scrl(int count)
- Scroll window content up or down without changing current position */
+ Scrolls window content up or down without changing current position */
PHP_FUNCTION(ncurses_scrl)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_slk_attroff(int intarg)
- */
+ ??? */
PHP_FUNCTION(ncurses_slk_attroff)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_slk_attron(int intarg)
- */
+ ??? */
PHP_FUNCTION(ncurses_slk_attron)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_slk_attrset(int intarg)
- */
+ ??? */
PHP_FUNCTION(ncurses_slk_attrset)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_slk_color(int intarg)
- Sets color for soft label keys*/
+ Sets color for soft label keys*/
PHP_FUNCTION(ncurses_slk_color)
{
#ifdef HAVE_NCURSES_SLK_COLOR
/* }}} */
/* {{{ proto int ncurses_slk_init(int intarg)
- Inits soft label keys */
+ Inits soft label keys */
PHP_FUNCTION(ncurses_slk_init)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_typeahead(int fd)
- Specify different filedescriptor for typeahead checking */
+ Specifys different filedescriptor for typeahead checking */
PHP_FUNCTION(ncurses_typeahead)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_ungetch(int keycode)
- Put a character back into the input stream */
+ Puts a character back into the input stream */
PHP_FUNCTION(ncurses_ungetch)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_vidattr(int intarg)
- */
+ ??? */
PHP_FUNCTION(ncurses_vidattr)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_use_extended_names(bool flag)
- Control use of extended names in terminfo descriptions */
+ Controls use of extended names in terminfo descriptions */
PHP_FUNCTION(ncurses_use_extended_names)
{
#ifdef HAVE_NCURSES_USE_EXTENDED_NAMES
/* }}} */
/* {{{ proto void ncurses_bkgdset(int attrchar)
- Control screen background */
+ Controls screen background */
PHP_FUNCTION(ncurses_bkgdset)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_qiflush(void)
- Flush on signal characters */
+ Flushes on signal characters */
PHP_FUNCTION(ncurses_qiflush)
{
qiflush();
/* }}} */
/* {{{ proto void ncurses_timeout(int millisec)
- Set timeout for special key sequences */
+ Sets timeout for special key sequences */
PHP_FUNCTION(ncurses_timeout)
{
long intarg;
/* }}} */
/* {{{ proto void ncurses_use_env(bool flag)
- Control use of environment information about terminal size */
+ Controls use of environment information about terminal size */
PHP_FUNCTION(ncurses_use_env)
{
long intarg;
/* }}} */
/* {{{ proto int ncurses_addstr(string text)
- Output text at current position */
+ Outputs text at current position */
PHP_FUNCTION(ncurses_addstr)
{
char *str;
/* }}} */
/* {{{ proto int ncurses_putp(string text)
- */
+ ??? */
PHP_FUNCTION(ncurses_putp)
{
char *str;
/* }}} */
/* {{{ proto int ncurses_scr_dump(string filename)
- Dump screen content to file */
+ Dumps screen content to file */
PHP_FUNCTION(ncurses_scr_dump)
{
char *str;
/* }}} */
/* {{{ proto int ncurses_scr_init(string filename)
- Initialize screen from file dump */
+ Initializes screen from file dump */
PHP_FUNCTION(ncurses_scr_init)
{
char *str;
/* }}} */
/* {{{ proto int ncurses_scr_restore(string filename)
- Restore screen from file dump */
+ Restores screen from file dump */
PHP_FUNCTION(ncurses_scr_restore)
{
char *str;
/* }}} */
/* {{{ proto int ncurses_scr_set(string filename)
- Inherit screen from file dump */
+ Inherits screen from file dump */
PHP_FUNCTION(ncurses_scr_set)
{
char *str;
/* }}} */
/* {{{ proto int ncurses_mvaddch(int y, int x, int c)
- Move current position and add character */
+ Moves current position and add character */
PHP_FUNCTION(ncurses_mvaddch)
{
long y,x,c;
/* }}} */
/* {{{ proto int ncurses_mvaddchnstr(int y, int x, string s, int n)
- Move position and add attrributed string with specified length */
+ Moves position and add attrributed string with specified length */
PHP_FUNCTION(ncurses_mvaddchnstr)
{
long y,x,n;
/* }}} */
/* {{{ proto int ncurses_addchnstr(string s, int n)
- Add attributed string with specified length at current position */
+ Adds attributed string with specified length at current position */
PHP_FUNCTION(ncurses_addchnstr)
{
long n;
/* }}} */
/* {{{ proto int ncurses_mvaddchstr(int y, int x, string s)
- Move position and add attributed string */
+ Moves position and add attributed string */
PHP_FUNCTION(ncurses_mvaddchstr)
{
long y,x;
/* }}} */
/* {{{ proto int ncurses_addchstr(string s)
- Add attributed string at current position */
+ Adds attributed string at current position */
PHP_FUNCTION(ncurses_addchstr)
{
char *str;
/* }}} */
/* {{{ proto int ncurses_mvaddnstr(int y, int x, string s, int n)
- Move position and add string with specified length */
+ Moves position and add string with specified length */
PHP_FUNCTION(ncurses_mvaddnstr)
{
long y,x,n;
/* }}} */
/* {{{ proto int ncurses_addnstr(string s, int n)
- Add string with specified length at current position */
+ Adds string with specified length at current position */
PHP_FUNCTION(ncurses_addnstr)
{
long n;
/* }}} */
/* {{{ proto int ncurses_mvaddstr(int y, int x, string s)
- Move position and add string */
+ Moves position and add string */
PHP_FUNCTION(ncurses_mvaddstr)
{
long y,x;
/* }}} */
/* {{{ proto int ncurses_mvdelch(int y, int x)
- Move position and delete character, shift rest of line left */
+ Moves position and delete character, shift rest of line left */
PHP_FUNCTION(ncurses_mvdelch)
{
long y,x;
/* {{{ proto int ncurses_mvgetch(int y, int x)
- Move position and get character at new position */
+ Moves position and get character at new position */
PHP_FUNCTION(ncurses_mvgetch)
{
long y,x;
/* }}} */
/* {{{ proto int ncurses_mvinch(int y, int x)
- Move position and get attributed character at new position */
+ Moves position and get attributed character at new position */
PHP_FUNCTION(ncurses_mvinch)
{
long y,x;
/* }}} */
/* {{{ proto int ncurses_insstr(string text)
- Insert string at current position, moving rest of line right */
+ Inserts string at current position, moving rest of line right */
PHP_FUNCTION(ncurses_insstr)
{
char *str;
/* {{{ proto int ncurses_mvhline(int y, int x, int attrchar, int n)
- Set new position and draw a horizontal line using an attributed character and max. n characters long */
+ Sets new position and draw a horizontal line using an attributed character and max. n characters long */
PHP_FUNCTION(ncurses_mvhline)
{
long i1,i2,i3,i4;
/* }}} */
/* {{{ proto int ncurses_mvvline(int y, int x, int attrchar, int n)
- Set new position and draw a vertical line using an attributed character and max. n characters long */
+ Sets new position and draw a vertical line using an attributed character and max. n characters long */
PHP_FUNCTION(ncurses_mvvline)
{
long i1,i2,i3,i4;
/* }}} */
/* {{{ proto int ncurses_mvcur(int old_y,int old_x, int new_y, int new_x)
- Move cursor immediately */
+ Moves cursor immediately */
PHP_FUNCTION(ncurses_mvcur)
{
long i1,i2,i3,i4;
/* }}} */
/* {{{ proto int ncurses_init_color(int color, int r, int g, int b)
- Set new RGB value for color */
+ Sets new RGB value for color */
PHP_FUNCTION(ncurses_init_color)
{
long i1,i2,i3,i4;
/* }}} */
/* {{{ proto int ncurses_border(int left, int right, int top, int bottom, int tl_corner, int tr_corner, int bl_corner, int br_corner)
- Draw a border around the screen using attributed characters */
+ Draws a border around the screen using attributed characters */
PHP_FUNCTION(ncurses_border)
{
long i1,i2,i3,i4,i5,i6,i7,i8;
/* }}} */
/* {{{ proto int ncurses_assume_default_colors(int fg, int bg)
- Define default colors for color 0 */
+ Defines default colors for color 0 */
PHP_FUNCTION(ncurses_assume_default_colors)
{
#ifdef HAVE_NCURSES_ASSUME_DEFAULT_COLORS
/* }}} */
/* {{{ proto int ncurses_define_key(string definition, int keycode)
- Define a keycode */
+ Defines a keycode */
PHP_FUNCTION(ncurses_define_key)
{
long n;
/* }}} */
/* {{{ proto int ncurses_hline(int charattr, int n)
- Draw a horizontal line at current position using an attributed character and max. n characters long */
+ Draws a horizontal line at current position using an attributed character and max. n characters long */
PHP_FUNCTION(ncurses_hline)
{
long i1,i2;
/* }}} */
/* {{{ proto int ncurses_vline(int charattr, int n)
- Draw a vertical line at current position using an attributed character and max. n characters long */
+ Draws a vertical line at current position using an attributed character and max. n characters long */
PHP_FUNCTION(ncurses_vline)
{
long i1,i2;
/* }}} */
/* {{{ proto int ncurses_keyok(int keycode, bool enable)
- Enable or disable a keycode */
+ Enables or disable a keycode */
PHP_FUNCTION(ncurses_keyok)
{
long i,b;
/* }}} */
/* {{{ proto int ncurses_mvwaddstr(resource window, int y, int x, string text)
- Add string at new position in window */
+ Adds string at new position in window */
PHP_FUNCTION(ncurses_mvwaddstr)
{
zval **handle, **x, **y, **text;
/* }}} */
/* {{{ proto int ncurses_wrefresh(resource window)
- Refresh window on terminal screen */
+ Refreshes window on terminal screen */
PHP_FUNCTION(ncurses_wrefresh)
{
zval **handle;
/* }}} */
/* {{{ proto int ncurses_ungetmouse(array mevent)
- pushes mouse event to queue */
+ Pushes mouse event to queue */
PHP_FUNCTION(ncurses_ungetmouse)
{
zval **arg, **pvalue;
/* }}} */
/* {{{ proto bool ncurses_mouse_trafo(int y, int x, bool toscreen)
- transform coordinates */
+ Transforms coordinates */
PHP_FUNCTION(ncurses_mouse_trafo)
{
zval **x, **y, **toscreen;
}
/* }}} */
-/* {{{ proto bool ncurses_wmouse_trafo(resource WINDOW, int y, int x, bool toscreen)
- Transforms window/stdscr coordinates */
+/* {{{ proto bool ncurses_wmouse_trafo(resource window, int y, int x, bool toscreen)
+ Transforms window/stdscr coordinates */
PHP_FUNCTION(ncurses_wmouse_trafo)
{
zval **handle, **x, **y, **toscreen;
/* }}} */
-/* {{{ proto int ncurses_wmove(resource WINDOW, int y, int x)
- Moves windows output position */
+/* {{{ proto int ncurses_wmove(resource window, int y, int x)
+ Moves windows output position */
PHP_FUNCTION(ncurses_wmove)
{
zval **handle, **x, **y;
RETURN_LONG(wmove(*win, Z_LVAL_PP(y), Z_LVAL_PP(x)));
}
-/* {{{ proto int ncurses_keypad(resource WINDOW, bool bf)
- Turns keypad on or off */
+/* {{{ proto int ncurses_keypad(resource window, bool bf)
+ Turns keypad on or off */
PHP_FUNCTION(ncurses_keypad)
{
zval **handle, **bf;
}
/* }}} */
-/* {{{ proto int ncurses_wcolor_set(resource WINDOW, int color_pair)
- Sets windows color pairings */
+/* {{{ proto int ncurses_wcolor_set(resource window, int color_pair)
+ Sets windows color pairings */
PHP_FUNCTION(ncurses_wcolor_set)
{
zval **handle, **color_pair, **opts;
}
/* }}} */
-/* {{{ proto int ncurses_wclear(resource WINDOW)
- Clears window*/
+/* {{{ proto int ncurses_wclear(resource window)
+ Clears window */
PHP_FUNCTION(ncurses_wclear)
{
}
/* }}} */
-/* {{{ proto int ncurses_wnoutrefresh(resource WINDOW)
- Copies window to virtual screen*/
+/* {{{ proto int ncurses_wnoutrefresh(resource window)
+ Copies window to virtual screen */
PHP_FUNCTION(ncurses_wnoutrefresh)
{
zval **handle;
}
/* }}} */
-/* {{{ proto int ncurses_waddstr(resource WINDOW, string str, [int n])
- Outputs text at current postion in window */
+/* {{{ proto int ncurses_waddstr(resource window, string str [, int n])
+ Outputs text at current postion in window */
PHP_FUNCTION(ncurses_waddstr)
{
zval **handle, **str, **n;
}
/* }}} */
-/* {{{ proto int ncurses_wgetch(resource WINDOW)
- Reads a character from keyboard (window)*/
+/* {{{ proto int ncurses_wgetch(resource window)
+ Reads a character from keyboard (window) */
PHP_FUNCTION(ncurses_wgetch)
{
zval **handle;