X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fnew_pair.h;h=4dbeb9dc0fb949141eaf21e5ad48f975874a60b9;hp=e34b4bed2e3a1d1efab6255a30a8947bdbe1bbce;hb=e348f7adec279f5453349ad13246a952a16e2094;hpb=8e397cccba0aad135cb9a8a353756f4273a7cdf6;ds=sidebyside diff --git a/ncurses/new_pair.h b/ncurses/new_pair.h index e34b4bed..4dbeb9dc 100644 --- a/ncurses/new_pair.h +++ b/ncurses/new_pair.h @@ -33,7 +33,7 @@ /* * Common type definitions and macros for new_pair.c, lib_color.c * - * $Id: new_pair.h,v 1.6 2017/04/29 20:25:29 tom Exp $ + * $Id: new_pair.h,v 1.8 2017/08/11 18:15:11 tom Exp $ */ #ifndef NEW_PAIR_H @@ -109,11 +109,14 @@ colorpair_t; ((sp != 0) && (pair >= 0) && (pair < sp->_pair_limit) && sp->_coloron) #if USE_NEW_PAIR -extern NCURSES_EXPORT(void) _nc_set_color_pair(SCREEN*, int, int); +extern NCURSES_EXPORT(void) _nc_copy_pairs(SCREEN*, colorpair_t*, colorpair_t*, int); +extern NCURSES_EXPORT(void) _nc_free_ordered_pairs(SCREEN*); extern NCURSES_EXPORT(void) _nc_reset_color_pair(SCREEN*, int, colorpair_t*); +extern NCURSES_EXPORT(void) _nc_set_color_pair(SCREEN*, int, int); #else -#define _nc_set_color_pair(sp, pair, mode) /* nothing */ +#define _nc_free_ordered_pairs(sp) /* nothing */ #define _nc_reset_color_pair(sp, pair, data) /* nothing */ +#define _nc_set_color_pair(sp, pair, mode) /* nothing */ #endif #else