Move schema.* to schema.capnp.*
This commit is contained in:
parent
923393d543
commit
8bb9759e8c
5 changed files with 5 additions and 5 deletions
4
Makefile
4
Makefile
|
|
@ -14,7 +14,7 @@ clean:
|
|||
capn.so: capn-malloc.o capn-stream.o capn.o
|
||||
$(CC) -shared $(LDFLAGS) $^ -o $@
|
||||
|
||||
capnpc-c: compiler/capnpc-c.o compiler/schema.o capn.so
|
||||
capnpc-c: compiler/capnpc-c.o compiler/schema.capnp.o capn.so
|
||||
$(CC) $(LDFLAGS) $^ -o $@
|
||||
|
||||
test: capn-test
|
||||
|
|
@ -23,5 +23,5 @@ test: capn-test
|
|||
%-test.o: %-test.cpp *.h *.c *.inc
|
||||
$(CXX) -g -Wall -Werror -I. `gtest-config --cppflags --cxxflags` -o $@ -c $<
|
||||
|
||||
capn-test: capn-test.o capn-stream-test.o compiler/schema-test.o compiler/schema.o
|
||||
capn-test: capn-test.o capn-stream-test.o compiler/schema-test.o compiler/schema.capnp.o
|
||||
$(CXX) -g -Wall -Werror -I. `gtest-config --ldflags --libs` -o $@ $^
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "schema.h"
|
||||
#include "schema.capnp.h"
|
||||
|
||||
struct scope {
|
||||
struct capn_tree hdr;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "schema.h"
|
||||
#include "schema.capnp.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
static const uint8_t simple_schema[] = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "schema.h"
|
||||
#include "schema.capnp.h"
|
||||
|
||||
void get_Node(struct Node *s, Node_list l, int i) {
|
||||
Node_ptr p = {capn_getp(l.p, i)};
|
||||
Loading…
Add table
Add a link
Reference in a new issue