Go to the documentation of this file.00001 #ifndef _INCLUDE_LUANUT_H_
00002 #define _INCLUDE_LUANUT_H_
00003
00004 #include <cfg/lua.h>
00005
00006 #ifndef NUTLUA_FLOATING_POINT
00007
00008 #define LUA_NUMBER_INT
00009 #endif
00010
00013 #define NUTLUA_IOLIB_TMPFILE_NOT_IMPLEMENTED
00014 #define NUTLUA_IOLIB_SETVBUF_NOT_IMPLEMENTED
00015 #define NUTLUA_OSLIB_CLOCK_NOT_IMPLEMENTED
00016 #define NUTLUA_OSLIB_DATE_STRING_NOT_IMPLEMENTED
00017 #define NUTLUA_OSLIB_REMOVE_NOT_IMPLEMENTED
00018 #define NUTLUA_OSLIB_TMPNAME_NOT_IMPLEMENTED
00019 #define NUTLUA_OSLIB_DIFFTIME_NOT_IMPLEMENTED
00020 #define NUTLUA_OSLIB_EXIT_NOT_IMPLEMENTED
00021 #define NUTLUA_OSLIB_RENAME_NOT_IMPLEMENTED
00022 #define NUTLUA_OSLIB_EXECUTE_NOT_IMPLEMENTED
00023 #define NUTLUA_OSLIB_SETLOCALE_NOT_IMPLEMENTED
00024
00026
00027 #ifdef LUA_NUMBER_INT
00028 #undef HUGE_VAL
00029 #define HUGE_VAL __INT_MAX__
00030 #else
00031 #ifndef HUGE_VAL
00032 #define HUGE_VAL __DBL_MAX__
00033 #endif
00034 #endif
00035
00036 #if defined(__AVR__)
00037 #include <sys/environ.h>
00038
00039 #define strerror(errno) ("Error")
00040 #endif
00041
00042 #endif