python: get us linking once more...

This commit is contained in:
nick black 2020-08-16 10:02:14 -04:00
parent 5ade4b1f1e
commit 18d79c195d
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 5 additions and 0 deletions

View File

@ -1288,6 +1288,7 @@ API uint64_t ncplane_channels(const struct ncplane* n);
// Return the current styling for this ncplane.
API uint16_t ncplane_attr(const struct ncplane* n);
API unsigned ncplane_styles(const struct ncplane* n);
// Replace the cell at the specified coordinates with the provided cell 'c',
// and advance the cursor by the width of the cell (but not past the end of the

View File

@ -1100,6 +1100,10 @@ uint16_t ncplane_attr(const ncplane* n){
return n->stylemask;
}
unsigned ncplane_styles(const ncplane* n){
return n->stylemask;
}
void ncplane_set_channels(ncplane* n, uint64_t channels){
n->channels = channels;
}