This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/ProbLog/simplecudd_lfi/apt.h
Vitor Santos Costa 2be225c17a small warnings.
2014-11-25 16:42:35 +00:00

71 lines
1.2 KiB
C

/******************************************************************
**
** APT.H:
**
** Definitions and Types for all APT modules
**
** This file is part of Apt Computing Tools (ACT)
** Copyright (c) 1991 -- Apt Technologies
** All rights reserved
**
******************************************************************/
#ifndef APT_H
#define APT_H
#include <stdlib.h>
/* ---------- Defines */
#ifndef ERROR
#define ERROR -1
#endif
#ifndef EXTERN
#define EXTERN extern
#endif
#ifndef FAILURE
#define FAILURE -1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef INFINITY
#define INFINITY 32768L
#endif
#ifndef PRIVATE
#define PRIVATE static
#endif
#ifndef PUBLIC
#define PUBLIC
#endif
#ifndef SUCCESS
#define SUCCESS 1
#endif
#ifndef TRUE
#define TRUE 1
#endif
/* ---------- Types */
#ifndef __ANSI_C__
#define __ANSI_C__
#endif
typedef void (*ApplyFunction)(void*);
typedef void (*ApplyFunction1)(void*,void*);
typedef void (*ApplyFunction2)(void*,void*,void*);
typedef void (*ApplyFunction3)(void*,void*,void*,void*);
typedef int (*ComparisonFunction)(void*, void*);
typedef void (*DisposeFunction)(void*);
typedef void (*ApplyFunctionGeneric)(void* target, void* args[]);
#endif /* APT_H */