rename to "[lib]capnp_c", use lib/ subdir

This commit is contained in:
David Lamparter 2016-03-18 23:36:07 +01:00
parent d3b1cad50f
commit 811d3046e1
12 changed files with 28 additions and 27 deletions

View file

@ -1,10 +1,10 @@
#ifndef CAPN_BDF87D7BB8304E81
#define CAPN_BDF87D7BB8304E81
/* AUTO GENERATED - DO NOT EDIT */
#include <capn.h>
#include <capnp_c.h>
#if CAPN_VERSION != 1
#error "version mismatch between capn.h and generated code"
#error "version mismatch between capnp_c.h and generated code"
#endif

View file

@ -1185,9 +1185,9 @@ int main() {
str_addf(&HDR, "#ifndef CAPN_%X%X\n", (uint32_t) (file_node->n.id >> 32), (uint32_t) file_node->n.id);
str_addf(&HDR, "#define CAPN_%X%X\n", (uint32_t) (file_node->n.id >> 32), (uint32_t) file_node->n.id);
str_addf(&HDR, "/* AUTO GENERATED - DO NOT EDIT */\n");
str_addf(&HDR, "#include <capn.h>\n\n");
str_addf(&HDR, "#include <capnp_c.h>\n\n");
str_addf(&HDR, "#if CAPN_VERSION != 1\n");
str_addf(&HDR, "#error \"version mismatch between capn.h and generated code\"\n");
str_addf(&HDR, "#error \"version mismatch between capnp_c.h and generated code\"\n");
str_addf(&HDR, "#endif\n\n");
for (j = 0; j < capn_len(file_req.imports); j++) {

View file

@ -1,10 +1,10 @@
#ifndef CAPN_A93FC509624C72D9
#define CAPN_A93FC509624C72D9
/* AUTO GENERATED - DO NOT EDIT */
#include <capn.h>
#include <capnp_c.h>
#if CAPN_VERSION != 1
#error "version mismatch between capn.h and generated code"
#error "version mismatch between capnp_c.h and generated code"
#endif
#include "c++.capnp.h"

View file

@ -7,7 +7,7 @@
* of the MIT license. See the LICENSE file for details.
*/
#include <capn.h>
#include <capnp_c.h>
#include <stdlib.h>
struct str {

View file

@ -1,10 +1,10 @@
#ifndef CAPN_D508EEBDC2DC42B8
#define CAPN_D508EEBDC2DC42B8
/* AUTO GENERATED - DO NOT EDIT */
#include <capn.h>
#include <capnp_c.h>
#if CAPN_VERSION != 1
#error "version mismatch between capn.h and generated code"
#error "version mismatch between capnp_c.h and generated code"
#endif
#include "c++.capnp.h"