Skip to content

Commit b11ff47

Browse files
committed
Move cpp includes out of extern "C" block
1 parent cbd8eae commit b11ff47

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

extensions/include/cmark-gfm-core-extensions.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#ifndef CMARK_GFM_CORE_EXTENSIONS_H
22
#define CMARK_GFM_CORE_EXTENSIONS_H
33

4-
#ifdef __cplusplus
5-
extern "C" {
6-
#endif
7-
84
#include "cmark-gfm-extension_api.h"
95
#include "export.h"
106

117
#include <stdbool.h>
128
#include <stdint.h>
139

10+
#ifdef __cplusplus
11+
extern "C" {
12+
#endif
13+
1414
CMARK_GFM_EXPORT
1515
void cmark_gfm_core_extensions_ensure_registered(void);
1616

src/include/module.modulemap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module cmark_gfm {
55
header "buffer.h"
66
header "chunk.h"
77
header "cmark_ctype.h"
8+
header "export.h"
89
header "footnotes.h"
910
header "houdini.h"
1011
header "html.h"

0 commit comments

Comments
 (0)