mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
ncvisual_stream(): update python streamcb typedef
This commit is contained in:
parent
c824e1ac02
commit
d1b5a39135
@ -299,7 +299,7 @@ void ncvisual_destroy(struct ncvisual* ncv);
|
||||
nc_err_e ncvisual_decode(struct ncvisual* nc);
|
||||
int ncvisual_render(const struct ncvisual* ncv, int begy, int begx, int leny, int lenx);
|
||||
char* ncvisual_subtitle(const struct ncvisual* ncv);
|
||||
typedef int (*streamcb)(struct notcurses* nc, struct ncvisual* ncv, void*);
|
||||
typedef int (*streamcb)(struct notcurses*, struct ncvisual*, const struct timespec*, void*);
|
||||
int ncvisual_stream(struct notcurses* nc, struct ncvisual* ncv, nc_err_e* err, float timescale, streamcb streamer, void* curry);
|
||||
int ncblit_bgrx(struct ncplane* nc, int placey, int placex, int linesize, const unsigned char* data, int begy, int begx, int leny, int lenx);
|
||||
int ncblit_rgba(struct ncplane* nc, int placey, int placex, int linesize, const unsigned char* data, int begy, int begx, int leny, int lenx);
|
||||
|
@ -1179,6 +1179,7 @@ int ncvisual_stream(notcurses* nc, ncvisual* ncv, nc_err_e* ncerr,
|
||||
}
|
||||
}
|
||||
++frame;
|
||||
}
|
||||
if(*ncerr == NCERR_EOF){
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user