Move schema.* to schema.capnp.*

This commit is contained in:
James McKaskill 2013-05-08 22:42:06 -04:00
parent 923393d543
commit 8bb9759e8c
5 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ clean:
capn.so: capn-malloc.o capn-stream.o capn.o capn.so: capn-malloc.o capn-stream.o capn.o
$(CC) -shared $(LDFLAGS) $^ -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 $@ $(CC) $(LDFLAGS) $^ -o $@
test: capn-test test: capn-test
@ -23,5 +23,5 @@ test: capn-test
%-test.o: %-test.cpp *.h *.c *.inc %-test.o: %-test.cpp *.h *.c *.inc
$(CXX) -g -Wall -Werror -I. `gtest-config --cppflags --cxxflags` -o $@ -c $< $(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 $@ $^ $(CXX) -g -Wall -Werror -I. `gtest-config --ldflags --libs` -o $@ $^

View file

@ -1,4 +1,4 @@
#include "schema.h" #include "schema.capnp.h"
struct scope { struct scope {
struct capn_tree hdr; struct capn_tree hdr;

View file

@ -1,4 +1,4 @@
#include "schema.h" #include "schema.capnp.h"
#include <gtest/gtest.h> #include <gtest/gtest.h>
static const uint8_t simple_schema[] = { static const uint8_t simple_schema[] = {

View file

@ -1,4 +1,4 @@
#include "schema.h" #include "schema.capnp.h"
void get_Node(struct Node *s, Node_list l, int i) { void get_Node(struct Node *s, Node_list l, int i) {
Node_ptr p = {capn_getp(l.p, i)}; Node_ptr p = {capn_getp(l.p, i)};