From fe3a57de131c34cc954a1859327153333a554d34 Mon Sep 17 00:00:00 2001 From: Jason Heeris Date: Fri, 1 Jan 2021 21:15:15 +0800 Subject: [PATCH] Added extra line break after structure size block. --- compiler/capnpc-c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/capnpc-c.c b/compiler/capnpc-c.c index 685aa4f..f21e913 100644 --- a/compiler/capnpc-c.c +++ b/compiler/capnpc-c.c @@ -1043,7 +1043,7 @@ static void define_struct(struct node *n) { // adding the ability to get the structure size str_addf(&HDR, "\nstatic const size_t %s_word_count = %d;\n", n->name.str, n->n._struct.dataWordCount); str_addf(&HDR, "\nstatic const size_t %s_pointer_count = %d;\n", n->name.str, n->n._struct.pointerCount); - str_addf(&HDR, "\nstatic const size_t %s_struct_bytes_count = %d;\n", n->name.str, 8 * (n->n._struct.pointerCount + n->n._struct.dataWordCount)); + str_addf(&HDR, "\nstatic const size_t %s_struct_bytes_count = %d;\n\n", n->name.str, 8 * (n->n._struct.pointerCount + n->n._struct.dataWordCount)); str_addf(&SRC, "%s_list new_%s_list(struct capn_segment *s, int len) {\n", n->name.str, n->name.str); str_addf(&SRC, "\t%s_list p;\n", n->name.str);