summaryrefslogtreecommitdiff
path: root/lua/lib/README
diff options
context:
space:
mode:
authorniemeyer <devnull@localhost>2004-03-16 21:58:25 +0000
committerniemeyer <devnull@localhost>2004-03-16 21:58:25 +0000
commit73260d956c54a3d95aa7d367c09ed3e2cb2a2a00 (patch)
tree420516b3d6568f1e09364f6fd59c6c1849da0b43 /lua/lib/README
parent55f77d61d72a3993436db9a8eefec9eaa7fb61ae (diff)
downloadlibrpm-tizen-73260d956c54a3d95aa7d367c09ed3e2cb2a2a00.tar.gz
librpm-tizen-73260d956c54a3d95aa7d367c09ed3e2cb2a2a00.tar.bz2
librpm-tizen-73260d956c54a3d95aa7d367c09ed3e2cb2a2a00.zip
- Implemented support for internal Lua scripts.
- Implemented %pretrans and %posttrans script slots. Changed files: Makefile.am configure.ac build/pack.c build/parseScript.c build/parseSpec.c build/rpmbuild.h build/rpmspec.h lib/Makefile.am lib/psm.c lib/rpmlib.h lib/rpmlibprov.c lib/rpmts.c lib/rpmts.h lib/transaction.c Added files: lib/rpmlua.c lib/rpmlua.h lua/* CVS patchset: 7175 CVS date: 2004/03/16 21:58:25
Diffstat (limited to 'lua/lib/README')
-rw-r--r--lua/lib/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/lib/README b/lua/lib/README
new file mode 100644
index 000000000..c5600b8ec
--- /dev/null
+++ b/lua/lib/README
@@ -0,0 +1,8 @@
+This is the standard Lua library.
+
+The code of the standard library can be read as an example of how to export
+C functions to Lua. The easiest library to read is lmathlib.c.
+
+The library is implemented entirely on top of the official Lua API as declared
+in lua.h, using lauxlib.c, which contains several useful functions for writing
+libraries. We encourage developers to use lauxlib.c in their own libraries.