mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-13 13:10:32 +00:00
[cffi] update cell_release to nccell_release
This commit is contained in:
parent
849ec2748f
commit
9fdfd33d30
@ -187,8 +187,8 @@ int ncplane_putstr_stained(struct ncplane* n, const char* s);
|
||||
int ncplane_putwstr_stained(struct ncplane* n, const wchar_t* gclustarr);
|
||||
struct ncplane* ncplane_dup(const struct ncplane* n, void* opaque);
|
||||
int cell_load(struct ncplane* n, cell* c, const char* gcluster);
|
||||
int cell_duplicate(struct ncplane* n, cell* targ, const cell* c);
|
||||
void cell_release(struct ncplane* n, cell* c);
|
||||
int nccell_duplicate(struct ncplane* n, cell* targ, const cell* c);
|
||||
void nccell_release(struct ncplane* n, cell* c);
|
||||
const char* cell_extended_gcluster(const struct ncplane* n, const cell* c);
|
||||
typedef struct palette256 {
|
||||
// We store the RGB values as a regular ol' channel
|
||||
|
@ -94,7 +94,7 @@ class Cell:
|
||||
self.c.gcluster = egc # FIXME need use cell_load
|
||||
|
||||
def __del__(self):
|
||||
lib.cell_release(self.ncp.getNcplane(), self.c)
|
||||
lib.nccell_release(self.ncp.getNcplane(), self.c)
|
||||
|
||||
def setFgRGB(self, r, g, b):
|
||||
self.c.channels = channels_set_fg_rgb8(self.c.channels, r, g, b)
|
||||
|
Loading…
Reference in New Issue
Block a user