|
|
@ -23,6 +23,13 @@ extern "C" {
|
|
|
|
#define RESTRICT restrict
|
|
|
|
#define RESTRICT restrict
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __MINGW64__
|
|
|
|
|
|
|
|
#define API __attribute__((visibility("default")))
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define API __declspec(dllexport)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define ALLOC __attribute__((malloc)) __attribute__((warn_unused_result))
|
|
|
|
|
|
|
|
|
|
|
|
// Get a human-readable string describing the running Notcurses version.
|
|
|
|
// Get a human-readable string describing the running Notcurses version.
|
|
|
|
API const char* notcurses_version(void);
|
|
|
|
API const char* notcurses_version(void);
|
|
|
|
// Cannot be inline, as we want to get the versions of the actual Notcurses
|
|
|
|
// Cannot be inline, as we want to get the versions of the actual Notcurses
|
|
|
@ -4129,6 +4136,9 @@ API uint32_t ncdirect_getc(struct ncdirect* nc, const struct timespec *ts,
|
|
|
|
const void* unused, ncinput* ni)
|
|
|
|
const void* unused, ncinput* ni)
|
|
|
|
__attribute__ ((nonnull (1))) __attribute__ ((deprecated));
|
|
|
|
__attribute__ ((nonnull (1))) __attribute__ ((deprecated));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#undef API
|
|
|
|
|
|
|
|
#undef ALLOC
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|