diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-22 21:10:04 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-22 21:10:04 +0200 |
| commit | 75ec461eeaa851cb5c53f4cfffc434e3e529ed1d (patch) | |
| tree | 3944737340718ca3675381aa06636045d397e780 /lib | |
| parent | 8dbfb0890560fd1cd698d06fa05ac868c4db8576 (diff) | |
| download | kristall-75ec461eeaa851cb5c53f4cfffc434e3e529ed1d.tar.gz | |
Restructures the project source and cleans up a bit
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/cmark/cmark.pri | 2 | ||||
| -rw-r--r-- | lib/cmark/src/cmark_export.h | 41 | ||||
| -rw-r--r-- | lib/cmark/src/cmark_version.h | 7 |
3 files changed, 50 insertions, 0 deletions
diff --git a/lib/cmark/cmark.pri b/lib/cmark/cmark.pri index 01aadfb..403e19e 100644 --- a/lib/cmark/cmark.pri +++ b/lib/cmark/cmark.pri @@ -3,6 +3,8 @@ HEADERS += \ $$PWD/src/buffer.h \ $$PWD/src/chunk.h \ $$PWD/src/cmark.h \ + $$PWD/src/cmark_export.h \ + $$PWD/src/cmark_version.h \ $$PWD/src/config.h \ $$PWD/src/cmark_ctype.h \ $$PWD/src/config.h \ diff --git a/lib/cmark/src/cmark_export.h b/lib/cmark/src/cmark_export.h new file mode 100644 index 0000000..835e550 --- /dev/null +++ b/lib/cmark/src/cmark_export.h @@ -0,0 +1,41 @@ +#ifndef CMARK_EXPORT_H +#define CMARK_EXPORT_H + +#ifdef CMARK_STATIC_DEFINE +# define CMARK_EXPORT +# define CMARK_NO_EXPORT +#else +# ifndef CMARK_EXPORT +# ifdef libcmark_EXPORTS + /* We are building this library */ +# define CMARK_EXPORT __attribute__((visibility("default"))) +# else + /* We are using this library */ +# define CMARK_EXPORT __attribute__((visibility("default"))) +# endif +# endif + +# ifndef CMARK_NO_EXPORT +# define CMARK_NO_EXPORT __attribute__((visibility("hidden"))) +# endif +#endif + +#ifndef CMARK_DEPRECATED +# define CMARK_DEPRECATED __attribute__ ((__deprecated__)) +#endif + +#ifndef CMARK_DEPRECATED_EXPORT +# define CMARK_DEPRECATED_EXPORT CMARK_EXPORT CMARK_DEPRECATED +#endif + +#ifndef CMARK_DEPRECATED_NO_EXPORT +# define CMARK_DEPRECATED_NO_EXPORT CMARK_NO_EXPORT CMARK_DEPRECATED +#endif + +#if 0 /* DEFINE_NO_DEPRECATED */ +# ifndef CMARK_NO_DEPRECATED +# define CMARK_NO_DEPRECATED +# endif +#endif + +#endif /* CMARK_EXPORT_H */ diff --git a/lib/cmark/src/cmark_version.h b/lib/cmark/src/cmark_version.h new file mode 100644 index 0000000..21de71a --- /dev/null +++ b/lib/cmark/src/cmark_version.h @@ -0,0 +1,7 @@ +#ifndef CMARK_VERSION_H +#define CMARK_VERSION_H + +#define CMARK_VERSION ((0 << 16) | (29 << 8) | 0) +#define CMARK_VERSION_STRING "0.29.0" + +#endif // CMARK_VERSION_H |
