Commit | Line | Data |
---|---|---|
d44e3c4f | 1 | /****************************************************************************** |
2 | * Copyright (c) 2000-2016 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 | * Contributors: | |
9 | * Balasko, Jeno | |
10 | * Delic, Adam | |
11 | * Raduly, Csaba | |
12 | * Szabo, Janos Zoltan – initial implementation | |
13 | * | |
14 | ******************************************************************************/ | |
970ed795 EL |
15 | #ifndef RECORD_OF_H |
16 | #define RECORD_OF_H | |
17 | ||
18 | #include "datatypes.h" | |
19 | #include "ttcn3/compiler.h" | |
20 | ||
21 | #ifdef __cplusplus | |
22 | extern "C" { | |
23 | #endif | |
24 | ||
25 | void defRecordOfClass(const struct_of_def *sdef, output_struct *output); | |
26 | /* generates value class which uses less memory allocations by not allocating memory | |
27 | * for each individual element, but rather allocating one contiguous chunk */ | |
28 | void defRecordOfClassMemAllocOptimized(const struct_of_def *sdef, output_struct *output); | |
29 | void defRecordOfTemplate(const struct_of_def *sdef, output_struct *output); | |
30 | ||
31 | #ifdef __cplusplus | |
32 | } /* extern "C" */ | |
33 | #endif | |
34 | ||
35 | #endif /* RECORD_OF_H */ |