Skip to content

Move extensions/include/cmark-gfm-core-extensions.h cpp includes out of extern "C" block #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: gfm
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions extensions/include/cmark-gfm-core-extensions.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#ifndef CMARK_GFM_CORE_EXTENSIONS_H
#define CMARK_GFM_CORE_EXTENSIONS_H

#ifdef __cplusplus
extern "C" {
#endif

#include "cmark-gfm-extension_api.h"
#include "export.h"

#include <stdbool.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

CMARK_GFM_EXPORT
void cmark_gfm_core_extensions_ensure_registered(void);

Expand Down
1 change: 1 addition & 0 deletions src/include/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module cmark_gfm {
header "buffer.h"
header "chunk.h"
header "cmark_ctype.h"
header "export.h"
header "footnotes.h"
header "houdini.h"
header "html.h"
Expand Down