This commit is contained in:
nick black 2021-12-04 08:55:47 -05:00 committed by nick black
parent e0c5cf5838
commit 2c956e60d2

27
include/sixel/sixel.h Normal file
View File

@ -0,0 +1,27 @@
#ifndef NOTCURSES_SIXEL_SIXEL
#define NOTCURSES_SIXEL_SIXEL
#ifdef __cplusplus
extern "C" {
#define RESTRICT
#else
#define RESTRICT restrict
#endif
#ifndef __MINGW64__
#define API __attribute__((visibility("default")))
#else
#define API __declspec(dllexport)
#endif
#define ALLOC __attribute__((malloc)) __attribute__((warn_unused_result))
// FIXME libsixel-like API
#undef API
#undef ALLOC
#ifdef __cplusplus
} // extern "C"
#endif
#endif