summaryrefslogtreecommitdiff
path: root/src/references.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-27 21:35:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-27 21:35:54 -0700
commit62cb38bf8a826125fba0034221343aa70dd3d415 (patch)
tree67348fa88068e1fdb2fca04d74c0ce60072bd280 /src/references.h
parentaca7161e53ec40f6979d024d84afeb36fa911292 (diff)
Use clang-format, llvm style, for formatting.
* Reformatted all source files. * Added 'format' target to Makefile. * Removed 'astyle' target. * Updated .editorconfig.
Diffstat (limited to 'src/references.h')
-rw-r--r--src/references.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/references.h b/src/references.h
index a360cd5..310ff9f 100644
--- a/src/references.h
+++ b/src/references.h
@@ -10,25 +10,27 @@ extern "C" {
#define REFMAP_SIZE 16
struct cmark_reference {
- struct cmark_reference *next;
- unsigned char *label;
- cmark_chunk url;
- cmark_chunk title;
- unsigned int hash;
+ struct cmark_reference *next;
+ unsigned char *label;
+ cmark_chunk url;
+ cmark_chunk title;
+ unsigned int hash;
};
typedef struct cmark_reference cmark_reference;
struct cmark_reference_map {
- cmark_reference *table[REFMAP_SIZE];
+ cmark_reference *table[REFMAP_SIZE];
};
typedef struct cmark_reference_map cmark_reference_map;
cmark_reference_map *cmark_reference_map_new(void);
void cmark_reference_map_free(cmark_reference_map *map);
-cmark_reference* cmark_reference_lookup(cmark_reference_map *map, cmark_chunk *label);
-extern void cmark_reference_create(cmark_reference_map *map, cmark_chunk *label, cmark_chunk *url, cmark_chunk *title);
+cmark_reference *cmark_reference_lookup(cmark_reference_map *map,
+ cmark_chunk *label);
+extern void cmark_reference_create(cmark_reference_map *map, cmark_chunk *label,
+ cmark_chunk *url, cmark_chunk *title);
#ifdef __cplusplus
}