source: CIVL/src/include/civl/civlc.cvl@ 6082527

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since 6082527 was 4b8f94a3, checked in by Ziqing Luo <ziqing@…>, 8 years ago

experimental commit 2. May revert later. In the progress of merging.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@4709 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 */
11struct $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.