From 5afeed7e21743752e5bcb49337e1c22d9a6f75c1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 16 Nov 2014 16:32:43 -0800 Subject: Removed CMARK_CODE_INDENT, CODE_INDENT from public header. Now it's in blocks.c, the only module that uses it. --- src/ast.h | 2 -- src/blocks.c | 1 + src/cmark.h | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ast.h b/src/ast.h index 0640f88..53620c8 100644 --- a/src/ast.h +++ b/src/ast.h @@ -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 -- cgit v1.2.3