mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
sixel.h
This commit is contained in:
parent
e0c5cf5838
commit
2c956e60d2
27
include/sixel/sixel.h
Normal file
27
include/sixel/sixel.h
Normal 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
|
Loading…
x
Reference in New Issue
Block a user