diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-16 16:32:43 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-16 16:32:43 -0800 |
commit | 5afeed7e21743752e5bcb49337e1c22d9a6f75c1 (patch) | |
tree | 24c6f979b67322f203dfdc155adb7224b02dc930 /src | |
parent | 4e587e8be5300d80e23ffeec5b11ba3eedf61276 (diff) |
Removed CMARK_CODE_INDENT, CODE_INDENT from public header.
Now it's in blocks.c, the only module that uses it.
Diffstat (limited to 'src')
-rw-r--r-- | src/ast.h | 2 | ||||
-rw-r--r-- | src/blocks.c | 1 | ||||
-rw-r--r-- | src/cmark.h | 2 |
3 files changed, 1 insertions, 4 deletions
@@ -11,8 +11,6 @@ extern "C" { #endif -#define CMARK_VERSION "0.1" -#define CMARK_CODE_INDENT 4 #define REFMAP_SIZE 16 #define CMARK_MAX_LINK_LABEL_LENGTH 1000 diff --git a/src/blocks.c b/src/blocks.c index f95e94e..22545b5 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -14,6 +14,7 @@ #include "buffer.h" #include "debug.h" +#define CODE_INDENT 4 #define peek_at(i, n) (i)->data[n] static node_block* make_block(cmark_block_tag tag, int start_line, int start_column) diff --git a/src/cmark.h b/src/cmark.h index f87044a..b214aed 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -9,7 +9,6 @@ extern "C" { #endif #define CMARK_VERSION "0.1" -#define CMARK_CODE_INDENT 4 #define CMARK_MAX_LINK_LABEL_LENGTH 1000 typedef struct cmark_node_inl cmark_node_inl; @@ -54,7 +53,6 @@ void cmark_free_inlines(cmark_node_inl* e); #ifndef CMARK_NO_SHORT_NAMES #define VERSION CMARK_VERSION - #define CODE_INDENT CMARK_CODE_INDENT #define MAX_LINK_LABEL_LENGTH CMARK_MAX_LINK_LABEL_LENGTH #define node_inl cmark_node_inl #define INL_STRING CMARK_INL_STRING |