libsc
1.6.0
|
00001 /* 00002 This file is part of the SC Library. 00003 The SC Library provides support for parallel scientific applications. 00004 00005 Copyright (C) 2010 The University of Texas System 00006 00007 The SC Library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Lesser General Public 00009 License as published by the Free Software Foundation; either 00010 version 2.1 of the License, or (at your option) any later version. 00011 00012 The SC Library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public 00018 License along with the SC Library; if not, write to the Free Software 00019 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00020 02110-1301, USA. 00021 */ 00022 00023 #ifndef SC_LUA_H 00024 #define SC_LUA_H 00025 00026 #include <sc.h> 00027 00028 #ifdef SC_HAVE_LUA 00029 00030 SC_EXTERN_C_BEGIN; 00031 00032 #ifdef SC_HAVE_LUA5_2_LUA_H 00033 #include <lua5.2/lua.h> 00034 #include <lua5.2/lualib.h> 00035 #include <lua5.2/lauxlib.h> 00036 #else 00037 #ifdef SC_HAVE_LUA5_1_LUA_H 00038 #include <lua5.1/lua.h> 00039 #include <lua5.1/lualib.h> 00040 #include <lua5.1/lauxlib.h> 00041 #else 00042 #ifdef SC_HAVE_LUA_H 00043 #include <lua.h> 00044 #include <lualib.h> 00045 #include <lauxlib.h> 00046 #endif 00047 #endif 00048 #endif 00049 00050 SC_EXTERN_C_END; 00051 00052 #else 00053 #error "We did not find a recent lua library that provides lua_createtable." 00054 #endif 00055 00056 #endif /* !SC_LUA_H */