lib/iec_std_lib_generated.h
author Mario de Sousa <msousa@fe.up.pt>
Fri, 19 Aug 2011 20:57:49 +0100
changeset 356 9b23cdca0bae
parent 279 c0453b7f99df
permissions -rwxr-xr-x
Include the declaration of standard functions (incorrectly removed in previous commit)
/*
 * Copyright (C) 2007-2011: Edouard TISSERANT and Laurent BESSARD
 *
 * See COPYING and COPYING.LESSER files for copyright details.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License 
 * along with this library. If not, see <http://www.gnu.org/licenses/>.
 *
 */

/****
 * IEC 61131-3 standard function library
 * generated code, do not edit by hand
 */

 

/* Macro that expand to subtypes */
#define ANY(DO) ANY_DERIVED(DO) ANY_ELEMENTARY(DO)
#define ANY_DERIVED(DO)
#define ANY_ELEMENTARY(DO) ANY_MAGNITUDE(DO) ANY_BIT(DO) ANY_STRING(DO) ANY_DATE(DO)
#define ANY_MAGNITUDE(DO) ANY_NUM(DO) DO(TIME)
#define ANY_BIT(DO) ANY_NBIT(DO) DO(BOOL)
#define ANY_NBIT(DO) DO(BYTE) DO(WORD) DO(DWORD) DO(LWORD)
#define ANY_STRING(DO) DO(STRING)
#define ANY_DATE(DO) DO(DATE) DO(TOD) DO(DT)
#define ANY_NUM(DO) ANY_REAL(DO) ANY_INT(DO)
#define ANY_REAL(DO) DO(REAL) DO(LREAL)
#define ANY_INT(DO) ANY_SINT(DO) ANY_UINT(DO)
#define ANY_SINT(DO) DO(SINT) DO(INT) DO(DINT) DO(LINT)
#define ANY_UINT(DO) DO(USINT) DO(UINT) DO(UDINT) DO(ULINT)