29 lines
537 B
C
29 lines
537 B
C
#ifndef XLSX_READER_H
|
|
#define XLSX_READER_H
|
|
|
|
#if defined(_WIN32)
|
|
#if defined(XLSX_BUILD_SHARED)
|
|
#define XLSX_API __declspec(dllexport)
|
|
#else
|
|
#define XLSX_API __declspec(dllimport)
|
|
#endif
|
|
#elif defined(__GNUC__) || defined(__clang__)
|
|
#define XLSX_API __attribute__((visibility("default")))
|
|
#else
|
|
#define XLSX_API
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
XLSX_API char* xlsx_read_first_sheet(const char* filepath);
|
|
|
|
XLSX_API void xlsx_free_string(char* str);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|