From c77e9d5c76edada64500fa4c38dee847992f61d7 Mon Sep 17 00:00:00 2001 From: "xiongyihui3@gmail.com" Date: Sat, 10 Nov 2012 07:32:39 +0000 Subject: add lua support for rt-thead git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2399 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/external/lua/exlibs/lexlibs.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 components/external/lua/exlibs/lexlibs.h (limited to 'components/external/lua/exlibs/lexlibs.h') diff --git a/components/external/lua/exlibs/lexlibs.h b/components/external/lua/exlibs/lexlibs.h new file mode 100644 index 0000000000..069a535139 --- /dev/null +++ b/components/external/lua/exlibs/lexlibs.h @@ -0,0 +1,15 @@ +/** + * External library + */ + +#ifndef __LEXLIBS_H__ +#define __LEXLIBS_H__ + +#define EXLIB_ARDUINO "arduino" + +#define LUA_EXLIBS_ROM\ + _ROM(EXLIB_ARDUINO, luaopen_arduino, arduino_map ) + + +#endif + -- cgit v1.3.1