Merge pull request #907 from dankamongmen/joseluis-patch-1

proposal to remove the comment and update the type
pull/908/head
José Luis Cruz 4 years ago committed by GitHub
commit 237e5b7bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -579,18 +579,16 @@ API int cell_duplicate(struct ncplane* n, cell* targ, const cell* c);
// Release resources held by the cell 'c'. // Release resources held by the cell 'c'.
API void cell_release(struct ncplane* n, cell* c); API void cell_release(struct ncplane* n, cell* c);
// We want the 2 bytes at the highest address of a 32-bit word, so that the #define NCSTYLE_MASK 0xffffu
// octet adjacent to g->clusters is left undisturbed as zero. #define NCSTYLE_STANDOUT 0x0080u
#define NCSTYLE_MASK 0xfffful #define NCSTYLE_UNDERLINE 0x0040u
#define NCSTYLE_STANDOUT 0x0080ul #define NCSTYLE_REVERSE 0x0020u
#define NCSTYLE_UNDERLINE 0x0040ul #define NCSTYLE_BLINK 0x0010u
#define NCSTYLE_REVERSE 0x0020ul #define NCSTYLE_DIM 0x0008u
#define NCSTYLE_BLINK 0x0010ul #define NCSTYLE_BOLD 0x0004u
#define NCSTYLE_DIM 0x0008ul #define NCSTYLE_INVIS 0x0002u
#define NCSTYLE_BOLD 0x0004ul #define NCSTYLE_PROTECT 0x0001u
#define NCSTYLE_INVIS 0x0002ul #define NCSTYLE_ITALIC 0x0100u
#define NCSTYLE_PROTECT 0x0001ul
#define NCSTYLE_ITALIC 0x0100ul
#define NCSTYLE_NONE 0 #define NCSTYLE_NONE 0
// Set the specified style bits for the cell 'c', whether they're actively // Set the specified style bits for the cell 'c', whether they're actively

Loading…
Cancel
Save