1 /* |
|
2 * Copyright (C) 2007-2011: Edouard TISSERANT and Laurent BESSARD |
|
3 * |
|
4 * See COPYING and COPYING.LESSER files for copyright details. |
|
5 * |
|
6 * This library is free software; you can redistribute it and/or |
|
7 * modify it under the terms of the GNU Lesser General Public |
|
8 * License as published by the Free Software Foundation; either |
|
9 * version 3 of the License, or (at your option) any later version. |
|
10 * |
|
11 * This library is distributed in the hope that it will be useful, |
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 * Lesser General Public License for more details. |
|
15 * |
|
16 * You should have received a copy of the GNU Lesser General Public License |
|
17 * along with this library. If not, see <http://www.gnu.org/licenses/>. |
|
18 * |
|
19 */ |
|
20 |
|
21 /**** |
|
22 * IEC 61131-3 standard function library |
|
23 * generated code, do not edit by hand |
|
24 */ |
|
25 |
|
26 |
|
27 |
|
28 /* Macro that expand to subtypes */ |
|
29 #define ANY(DO) ANY_DERIVED(DO) ANY_ELEMENTARY(DO) |
|
30 #define ANY_DERIVED(DO) |
|
31 #define ANY_ELEMENTARY(DO) ANY_MAGNITUDE(DO) ANY_BIT(DO) ANY_STRING(DO) ANY_DATE(DO) |
|
32 #define ANY_MAGNITUDE(DO) ANY_NUM(DO) DO(TIME) |
|
33 #define ANY_BIT(DO) ANY_NBIT(DO) DO(BOOL) |
|
34 #define ANY_NBIT(DO) DO(BYTE) DO(WORD) DO(DWORD) DO(LWORD) |
|
35 #define ANY_STRING(DO) DO(STRING) |
|
36 #define ANY_DATE(DO) DO(DATE) DO(TOD) DO(DT) |
|
37 #define ANY_NUM(DO) ANY_REAL(DO) ANY_INT(DO) |
|
38 #define ANY_REAL(DO) DO(REAL) DO(LREAL) |
|
39 #define ANY_INT(DO) ANY_SINT(DO) ANY_UINT(DO) |
|
40 #define ANY_SINT(DO) DO(SINT) DO(INT) DO(DINT) DO(LINT) |
|
41 #define ANY_UINT(DO) DO(USINT) DO(UINT) DO(UDINT) DO(ULINT) |
|