aboutsummaryrefslogtreecommitdiff
path: root/lib/cmark/src
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
commit75ec461eeaa851cb5c53f4cfffc434e3e529ed1d (patch)
tree3944737340718ca3675381aa06636045d397e780 /lib/cmark/src
parent8dbfb0890560fd1cd698d06fa05ac868c4db8576 (diff)
downloadkristall-75ec461eeaa851cb5c53f4cfffc434e3e529ed1d.tar.gz
Restructures the project source and cleans up a bit
Diffstat (limited to 'lib/cmark/src')
-rw-r--r--lib/cmark/src/cmark_export.h41
-rw-r--r--lib/cmark/src/cmark_version.h7
2 files changed, 48 insertions, 0 deletions
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