Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
228 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "CommonMark"] | ||
path = CommonMark | ||
url = git@github.com:jgm/CommonMark.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
#define DEFINE_NO_DEPRECATED 0 | ||
#if DEFINE_NO_DEPRECATED | ||
# define CMARK_NO_DEPRECATED | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#define HAVE_STDBOOL_H | ||
|
||
#ifdef HAVE_STDBOOL_H | ||
#include <stdbool.h> | ||
#elif !defined(__cplusplus) | ||
typedef char bool; | ||
#endif | ||
|
||
#define HAVE___BUILTIN_EXPECT | ||
|
||
#define HAVE___ATTRIBUTE__ | ||
|
||
#ifdef HAVE___ATTRIBUTE__ | ||
#define CMARK_ATTRIBUTE(list) __attribute__ (list) | ||
#else | ||
#define CMARK_ATTRIBUTE(list) | ||
#endif | ||
|
||
#define HAVE_VA_COPY | ||
|
||
#ifndef HAVE_VA_COPY | ||
#define va_copy(dest, src) ((dest) = (src)) | ||
#endif |
Submodule CommonMark
added at
e33d15