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
6e909d2c
Commit
6e909d2c
authored
Mar 21, 2014
by
Sven Gestegård Robertz
Browse files
started adding void test
parent
77030773
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/simple/example_encoder.c
View file @
6e909d2c
...
...
@@ -20,9 +20,13 @@ int main(int argc, char *argv[]) {
labcomm_default_error_handler
,
labcomm_default_memory
,
labcomm_default_scheduler
);
labcomm_encoder_register_simple_doavoid
(
encoder
);
labcomm_encoder_register_simple_theTwoInts
(
encoder
);
labcomm_encoder_register_simple_anotherTwoInts
(
encoder
);
labcomm_encoder_register_simple_IntString
(
encoder
);
labcomm_encode_simple_doavoid
(
encoder
);
simple_IntString
is
;
is
.
x
=
24
;
is
.
s
=
"Hello, LabComm!"
;
...
...
examples/simple/simple.lc
View file @
6e909d2c
...
...
@@ -25,3 +25,7 @@ sample struct {
int a[2];
int b[2,3];
} TwoFixedArrays;
// typedef void avoid;
sample void doavoid;
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