source: CIVL/include/impls/civlc.cvl@ 1aaefd4

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
RevLine 
[4208097]1/* This header file contains the core definitions of the CIVL-C language,
2 * including standard types and function prototypes.
3 */
4
[bf584ca]5#ifndef __CIVLC_CIVL__
[06d6af3]6#define __CIVLC_CIVL__
[4208097]7
[06d6af3]8#include <civlc.cvh>
[f010003]9#include <bundle.cvh>
[06d6af3]10/* Completes the declaration of this type in civlc.cvh */
[4779aa1]11struct $int_iter {
[4208097]12 int size;
13 int content[];
14 int index; //initialized as 0
15};
[3015b4e]16
[f010003]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
[4208097]24#endif
Note: See TracBrowser for help on using the repository browser.