lbessard@49: /* Edouard@279: * Copyright (C) 2007-2011: Edouard TISSERANT and Laurent BESSARD lbessard@49: * Edouard@279: * See COPYING and COPYING.LESSER files for copyright details. lbessard@49: * Edouard@279: * This library is free software; you can redistribute it and/or Edouard@279: * modify it under the terms of the GNU Lesser General Public Edouard@279: * License as published by the Free Software Foundation; either Edouard@279: * version 3 of the License, or (at your option) any later version. lbessard@49: * Edouard@279: * This library is distributed in the hope that it will be useful, Edouard@279: * but WITHOUT ANY WARRANTY; without even the implied warranty of Edouard@279: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Edouard@279: * Lesser General Public License for more details. Edouard@279: * Edouard@279: * You should have received a copy of the GNU Lesser General Public License Edouard@279: * along with this library. If not, see . Edouard@279: * lbessard@49: */ etisserant@40: etisserant@40: /**** lbessard@149: * IEC 61131-3 standard function library etisserant@40: * generated code, do not edit by hand etisserant@40: */ etisserant@40: lbessard@149: lbessard@149: etisserant@40: /* Macro that expand to subtypes */ etisserant@40: #define ANY(DO) ANY_DERIVED(DO) ANY_ELEMENTARY(DO) etisserant@40: #define ANY_DERIVED(DO) etisserant@40: #define ANY_ELEMENTARY(DO) ANY_MAGNITUDE(DO) ANY_BIT(DO) ANY_STRING(DO) ANY_DATE(DO) etisserant@40: #define ANY_MAGNITUDE(DO) ANY_NUM(DO) DO(TIME) etisserant@40: #define ANY_BIT(DO) ANY_NBIT(DO) DO(BOOL) etisserant@40: #define ANY_NBIT(DO) DO(BYTE) DO(WORD) DO(DWORD) DO(LWORD) etisserant@40: #define ANY_STRING(DO) DO(STRING) etisserant@40: #define ANY_DATE(DO) DO(DATE) DO(TOD) DO(DT) etisserant@40: #define ANY_NUM(DO) ANY_REAL(DO) ANY_INT(DO) etisserant@40: #define ANY_REAL(DO) DO(REAL) DO(LREAL) etisserant@40: #define ANY_INT(DO) ANY_SINT(DO) ANY_UINT(DO) etisserant@40: #define ANY_SINT(DO) DO(SINT) DO(INT) DO(DINT) DO(LINT) etisserant@40: #define ANY_UINT(DO) DO(USINT) DO(UINT) DO(UDINT) DO(ULINT)