1/* BEGIN LICENSE BLOCK 2 * Version: CMPL 1.1 3 * 4 * The contents of this file are subject to the Cisco-style Mozilla Public 5 * License Version 1.1 (the "License"); you may not use this file except 6 * in compliance with the License. You may obtain a copy of the License 7 * at www.eclipse-clp.org/license. 8 * 9 * Software distributed under the License is distributed on an "AS IS" 10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 11 * the License for the specific language governing rights and limitations 12 * under the License. 13 * 14 * The Original Code is The ECLiPSe Constraint Logic Programming System. 15 * The Initial Developer of the Original Code is Cisco Systems, Inc. 16 * Portions created by the Initial Developer are 17 * Copyright (C) 1989-2006 Cisco Systems, Inc. All Rights Reserved. 18 * 19 * Contributor(s): 20 * 21 * END LICENSE BLOCK */ 22 23/* 24 * ECLiPSe INCLUDE FILE 25 * 26 * $Id: eclipse.h,v 1.2 2012/02/25 13:36:44 jschimpf Exp $ 27 * 28 * DESCRIPTION 29 * Included by C programs that use embedding interface. 30 */ 31 32#define EC_EXTERNAL 33#define EC_EMBED 34 35#ifdef _WIN32 36 37#include <windows.h> 38#define Winapi WINAPI 39#define DLLEXP __declspec(dllimport) 40 41#else /* UNIX */ 42 43#define Winapi 44#define DLLEXP 45 46#endif 47 48 49#include "config.h" 50#include "ec_public.h" 51#include "types.h" 52#include "embed.h" 53