Commit e86fc9b2 authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

fixed twoway example, added struct typedef test

parent d90ddbbf
......@@ -175,7 +175,7 @@ int main(int argc, char *argv[])
}
}
printf("\n");
labcomm_encode_types_Terminate(encoder, LABCOMM_VOID);
labcomm_encode_types_Terminate(encoder);
out:
return 0;
......
......@@ -6,7 +6,7 @@ CFLAGS=-O3 -g -Wall -Werror
all:
test: $(TESTS:%=test_%)
test: $(TESTS:%=test_%) compiler_errors
# PYTHONPATH=../lib/python \
# ./test_encoder_decoder.py --labcomm="$(LABCOMM)" basic.lc
......@@ -14,7 +14,7 @@ test: $(TESTS:%=test_%)
clean distclean:
rm -rf gen
.PHONY: test_% testErrors
.PHONY: test_%
test_%: gen/%/signatures.py \
gen/%/c_relay \
gen/%/cs_relay.exe \
......
typedef struct {
string topic;
} pubsub;
sample pubsub subscribe;
sample pubsub unsubscribe;
sample pubsub publish;
sample pubsub unpublish;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment