diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index ede84161e..de423aeea 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -2898,7 +2898,7 @@ struct blitset { bool fill; }; -API extern const struct blitset geomdata[]; +API extern const struct blitset notcurses_blitters[]; #undef API diff --git a/src/lib/blit.c b/src/lib/blit.c index c4b711d83..d3f1b5b15 100644 --- a/src/lib/blit.c +++ b/src/lib/blit.c @@ -299,7 +299,7 @@ braille_blit(ncplane* nc, int placey, int placex, int linesize, // NCBLIT_DEFAULT is not included, as it has no defined properties. It ought // be replaced with some real blitter implementation by the calling widget. -const struct blitset geomdata[] = { +const struct blitset notcurses_blitters[] = { { .geom = NCBLIT_8x1, .width = 1, .height = 8, .egcs = L" ▁▂▃▄▅▆▇█", .blit = NULL, .fill = false, }, { .geom = NCBLIT_1x1, .width = 1, .height = 1, .egcs = L" █", diff --git a/src/lib/blitset.h b/src/lib/blitset.h index 735d0abfe..825f56b49 100644 --- a/src/lib/blitset.h +++ b/src/lib/blitset.h @@ -13,7 +13,7 @@ lookup_blitset(const struct notcurses* nc, ncblitter_e setid, bool may_degrade) return NULL; } } - const struct blitset* bset = geomdata; + const struct blitset* bset = notcurses_blitters; while(bset->egcs){ if(bset->geom == setid){ return bset;