start sixelanalyzer binary #1724
parent
746d7af429
commit
61000ce2a4
@ -0,0 +1,25 @@
|
|||||||
|
#ifndef NOTCURSES_LIBSIXEL
|
||||||
|
#define NOTCURSES_LIBSIXEL
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
struct sixel;
|
||||||
|
struct sixelctx;
|
||||||
|
|
||||||
|
struct sixelctx* libncsixel_init(void);
|
||||||
|
|
||||||
|
struct sixel* libncsixel_encode(struct sixelctx* sctx, const char* file, unsigned colorregs);
|
||||||
|
|
||||||
|
uint32_t* libncsixel_explode(const struct sixel* s);
|
||||||
|
|
||||||
|
void libncsixel_stop(struct sixelctx* sctx);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdlib.h>
|
||||||
|
#include <notcurses/libsixel.h>
|
||||||
|
|
||||||
|
int main(void){
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
Loading…
Reference in New Issue