summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-24 21:55:44 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-24 21:55:44 -0700
commit2b1b00fb19fe470f7745c208377345975b9e0b2c (patch)
treee06c460e05653b3e9c505fc129e004b3cad9f584 /src/cmark.h
parentce5671ae0289b05322c09bb80af2d3317acd544f (diff)
Reformatted.
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 3543c82..d5b7f89 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -95,12 +95,11 @@ typedef struct cmark_iter cmark_iter;
* when parsing and allocating a document tree
*/
typedef struct cmark_mem {
- void *(*calloc)(size_t, size_t);
- void *(*realloc)(void *, size_t);
- void (*free)(void *);
+ void *(*calloc)(size_t, size_t);
+ void *(*realloc)(void *, size_t);
+ void (*free)(void *);
} cmark_mem;
-
/**
* ## Creating and Destroying Nodes
*/
@@ -115,7 +114,8 @@ CMARK_EXPORT cmark_node *cmark_node_new(cmark_node_type type);
* allocator used to allocate the node. Note: be sure to use the same
* allocator for every node in a tree, or bad things can happen.
*/
-CMARK_EXPORT cmark_node *cmark_node_new_with_mem(cmark_node_type type, cmark_mem *mem);
+CMARK_EXPORT cmark_node *cmark_node_new_with_mem(cmark_node_type type,
+ cmark_mem *mem);
/** Frees the memory allocated for a node and any children.
*/