Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
LabComm
Commits
e86fc9b2
Commit
e86fc9b2
authored
Mar 29, 2014
by
Sven Gestegård Robertz
Browse files
fixed twoway example, added struct typedef test
parent
d90ddbbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
examples/twoway/client.c
View file @
e86fc9b2
...
...
@@ -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
;
...
...
test/Makefile
View file @
e86fc9b2
...
...
@@ -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
\
...
...
test/errors/correct/structtype.lc
0 → 100644
View file @
e86fc9b2
typedef struct {
string topic;
} pubsub;
sample pubsub subscribe;
sample pubsub unsubscribe;
sample pubsub publish;
sample pubsub unpublish;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment