LuK1337 | 52a81d5 | 2025-07-08 18:07:20 -0400 | [diff] [blame] | 1 | /* This file was generated by ./tinfo/MKfallback.sh */ |
| 2 | |
| 3 | /* |
| 4 | * DO NOT EDIT THIS FILE BY HAND! |
| 5 | */ |
| 6 | |
| 7 | #include <curses.priv.h> |
| 8 | |
| 9 | NCURSES_EXPORT(const TERMTYPE2 *) |
| 10 | _nc_fallback2 (const char *name GCC_UNUSED) |
| 11 | { |
| 12 | /* the fallback list is empty */ |
| 13 | return((const TERMTYPE2 *)0); |
| 14 | } |
| 15 | |
| 16 | #if NCURSES_EXT_NUMBERS |
| 17 | #undef _nc_fallback |
| 18 | |
| 19 | NCURSES_EXPORT(const TERMTYPE *) |
| 20 | _nc_fallback (const char *name) |
| 21 | { |
| 22 | const TERMTYPE2 *tp = _nc_fallback2(name); |
| 23 | const TERMTYPE *result = 0; |
| 24 | if (tp != 0) { |
| 25 | static TERMTYPE temp; |
| 26 | _nc_export_termtype2(&temp, tp); |
| 27 | result = &temp; |
| 28 | } |
| 29 | return result; |
| 30 | } |
| 31 | #endif |