summaryrefslogtreecommitdiff
path: root/components/external/lua/exlibs/lexlibs.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-10 07:32:39 +0000
committer[email protected] <[email protected]>2012-11-10 07:32:39 +0000
commitc77e9d5c76edada64500fa4c38dee847992f61d7 (patch)
treef145b9e1312059dab6002d46188a91238fec4079 /components/external/lua/exlibs/lexlibs.h
parent0d77b327a998c35e53025690415a3d355717eb95 (diff)
add lua support for rt-thead
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2399 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/external/lua/exlibs/lexlibs.h')
-rw-r--r--components/external/lua/exlibs/lexlibs.h15
1 files changed, 15 insertions, 0 deletions
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
+