Panu Matilainen
ecfece7ec0
Add support for nested Lua macro expansion (RhBug:490740)
...
- Lift the printbuffer accounting out of rpmlua into a struct of
its own (Funny thing, this looks a whole lot like the macro
expansion buffer and Good Ole StringBuf Brothers ... Boys ... Mam.
Unify them one of these days maybe)
- Replace the simplistic on/off printbuffer with a stack of buffers,
fixup the lone caller to use the new internal push/pop API.
2011-05-24 20:41:38 +03:00
Panu Matilainen
8b7ff12b4e
Add "c++ protection" to (hopefully) all of our internal headers
2010-09-21 15:21:12 +03:00
Panu Matilainen
a43c15eadf
Return typed pointers from rpmluaFree() and rpmluavFree()
2010-09-21 14:22:29 +03:00
Panu Matilainen
2e0d5ef2d0
Add rpmluaGetGlobalState() to internal lua api
...
- retrieve global state, init if needed
- inspired by rpm5.org, details differ
- use it for initialisation in rpmrc instead of abusing rpmluaGetPrintBuffer
2009-01-14 15:08:59 +02:00
Panu Matilainen
4c91a3b6ad
More misc size_t issues
2007-12-14 10:30:46 +02:00
Ralf Corsépius
f982bbaa79
Remove splint tags.
2007-09-11 16:48:54 +02:00
jbj
60057a2de1
Splint fiddles.
...
CVS patchset: 7195
CVS date: 2004/03/26 17:27:57
2004-03-26 17:27:57 +00:00
jbj
f3fb31edbb
splint fiddles.
...
CVS patchset: 7193
CVS date: 2004/03/26 15:42:45
2004-03-26 15:42:45 +00:00
niemeyer
c096a690b8
- Now Lua interface is using a global state.
...
- /usr/lib/rpm/init.lua is called during intialization.
CVS patchset: 7188
CVS date: 2004/03/24 19:47:11
2004-03-24 19:47:11 +00:00
jbj
58c9db0b19
Spint fiddles.
...
CVS patchset: 7184
CVS date: 2004/03/23 07:18:55
2004-03-23 07:18:55 +00:00
jbj
bc35b858d6
Splint fiddles.
...
CVS patchset: 7183
CVS date: 2004/03/23 05:52:59
2004-03-23 05:52:59 +00:00
niemeyer
635edd9523
- New internal Lua support scheme, laying under rpmio.
...
- New API abstracting access to Lua state (rpmlua is
abstract to everyone but rpmlua.c).
- New %{lua: ... } macro.
Modified Files:
lib/Makefile.am lib/psm.c lib/rpmts.c lua/local/linit.lch
lua/local/linit.lua rpmio/Makefile.am rpmio/macro.c
Added Files:
rpmio/rpmlua.c rpmio/rpmlua.h
Removed Files:
lib/rpmlua.c lib/rpmlua.h
CVS patchset: 7178
CVS date: 2004/03/19 20:08:20
2004-03-19 20:08:20 +00:00