summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-17 08:05:57 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-17 08:05:57 -0700
commit2fa54428e2910d4f8d96e6a548db650d50613535 (patch)
treeaaff50e600236216843928fd8073b319760049e4 /src
parent027a3153256fe9647bf13e28f1faa9ee8806f942 (diff)
Renamed entities.h -> entities.inc.
Also tools/make_entities_h.py -> tools/make_entitis_inc.py.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/entities.inc (renamed from src/entities.h)15
-rw-r--r--src/houdini_html_u.c2
3 files changed, 2 insertions, 16 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 06de9ef..37a46d3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -16,7 +16,6 @@ set(HEADERS
inlines.h
houdini.h
cmark_ctype.h
- entities.h
)
set(LIBRARY_SOURCES
cmark.c
diff --git a/src/entities.h b/src/entities.inc
index 765f1b8..ec3d2a9 100644
--- a/src/entities.h
+++ b/src/entities.inc
@@ -1,9 +1,4 @@
-#ifndef CMARK_ENTITIES_H
-#define CMARK_ENTITIES_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
+/* Autogenerated by tools/make_headers_inc.py */
struct cmark_entity_node {
unsigned char *entity;
@@ -2141,11 +2136,3 @@ static const struct cmark_entity_node cmark_entities[] = {
{(unsigned char*)"zwj", {226, 128, 141, 0}},
{(unsigned char*)"zwnj", {226, 128, 140, 0}},
};
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
diff --git a/src/houdini_html_u.c b/src/houdini_html_u.c
index e4cf8fe..002357d 100644
--- a/src/houdini_html_u.c
+++ b/src/houdini_html_u.c
@@ -5,7 +5,7 @@
#include "buffer.h"
#include "houdini.h"
#include "utf8.h"
-#include "entities.h"
+#include "entities.inc"
/* Binary tree lookup code for entities added by JGM */