Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / customEncoding / Custom2.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2015 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
9 module Custom2 {
10
11 import from Custom1 all;
12 import from Custom3 all;
13
14 // Coding function declarations for test 1
15 external function f_enc_rec(in Rec x) return bitstring
16 with { extension "prototype(convert) encode(localCustom)" }
17
18 external function f_dec_rec(inout bitstring b, out Rec x) return integer
19 with { extension "prototype(sliding) decode(localCustom)" }
20
21 // Coding function declarations for test 3
22 external function f_enc_uni(in Uni x) return bitstring
23 with { extension "prototype(convert) encode(globalCustom)" }
24
25 external function f_dec_uni(inout bitstring b, out Uni x) return integer
26 with { extension "prototype(sliding) decode(globalCustom)" }
27
28 }
This page took 0.032707 seconds and 6 git commands to generate.