Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Copyright (c) 2000-2014 Ericsson Telecom AB | |
3 | // All rights reserved. This program and the accompanying materials | |
4 | // are made available under the terms of the Eclipse Public License v1.0 | |
5 | // which accompanies this distribution, and is available at | |
6 | // http://www.eclipse.org/legal/epl-v10.html | |
7 | /////////////////////////////////////////////////////////////////////////////// | |
8 | #ifndef RECORD_OF_H | |
9 | #define RECORD_OF_H | |
10 | ||
11 | #include "datatypes.h" | |
12 | #include "ttcn3/compiler.h" | |
13 | ||
14 | #ifdef __cplusplus | |
15 | extern "C" { | |
16 | #endif | |
17 | ||
18 | void defRecordOfClass(const struct_of_def *sdef, output_struct *output); | |
19 | /* generates value class which uses less memory allocations by not allocating memory | |
20 | * for each individual element, but rather allocating one contiguous chunk */ | |
21 | void defRecordOfClassMemAllocOptimized(const struct_of_def *sdef, output_struct *output); | |
22 | void defRecordOfTemplate(const struct_of_def *sdef, output_struct *output); | |
23 | ||
24 | #ifdef __cplusplus | |
25 | } /* extern "C" */ | |
26 | #endif | |
27 | ||
28 | #endif /* RECORD_OF_H */ |