main
test-branch
|
Last change
on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago |
|
Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
559 bytes
|
| Line | |
|---|
| 1 | /* This header file contains the core definitions of the CIVL-C language,
|
|---|
| 2 | * including standard types and function prototypes.
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 | #ifndef __CIVLC_CIVL__
|
|---|
| 6 | #define __CIVLC_CIVL__
|
|---|
| 7 |
|
|---|
| 8 | #include <civlc.cvh>
|
|---|
| 9 | #include <bundle.cvh>
|
|---|
| 10 | /* Completes the declaration of this type in civlc.cvh */
|
|---|
| 11 | struct $int_iter {
|
|---|
| 12 | int size;
|
|---|
| 13 | int content[];
|
|---|
| 14 | int index; //initialized as 0
|
|---|
| 15 | };
|
|---|
| 16 |
|
|---|
| 17 | $atomic_f void $output_assign(void * output, const void * value, int size) {
|
|---|
| 18 | if(size == 0)
|
|---|
| 19 | return;
|
|---|
| 20 | $bundle bundle = $bundle_pack(value, size);
|
|---|
| 21 | $bundle_unpack(bundle, output);
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.