Example #1
0
/***
Disable an attribute for soft labels.
@function slk_attroff
@int attrs
@treturn bool `true`, if successful
@see slk_attroff(3x)
*/
static int
Pslk_attroff(lua_State *L)
{
	chtype attrs = checkch(L, 1);
#if LCURSES_POSIX_COMPLIANT
	return pushokresult(slk_attroff(attrs));
#else
	return binding_notimplemented(L, "slk_attroff", "curses");
#endif
}
Example #2
0
int slk_attr_off(const attr_t attrs, void *opts)
{
    PDC_LOG(("slk_attr_off() - called\n"));

    return slk_attroff(attrs);
}
Example #3
0
NCURSES_EXPORT(int) (slk_attr_off) (const attr_t a1, void * z)
{
	T((T_CALLED("slk_attr_off(%s,%p)"), _traceattr2(0,a1), (const void *)z)); returnCode(((z) ? (-1) : slk_attroff(a1)));
}