Re: [Mlt-devel] Sorry to interrupt on Lua Bindings
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2013-07-10 18:29:59
|
On Wed, Jul 10, 2013 at 6:33 AM, Joris Lambrecht <jor...@gm...> wrote: > Hi, > > While i was initially excited i cannot find specific references to lua > bindings. Can you post a Lua 'Hello world' example ? Or any other explicit > reference to the binding ,some documentation ? For the example, in the source tree (can be viewed online through github): src/mlt/src/swig/lua/play.lua Docs are based on an understanding of the C API and how the C++ is a fairly simple, straight-forward, and sensible wrapper around the C API. For example, C -> C++ -> Lua: mlt_consumer_start() -> Mlt::Consumer::start() -> mlt.Consumer.start(). Therefore, read C code/doxygen, lookup C++ equivalent in src/mlt++ headers, mentally map that to your language. Sometimes it helps to view the C++ swig generates in src/swig/lua/mlt_wrap.cxx. -- +-DRD-+ |