[sqlite] accessing database from Lua and C

2015-10-26 Thread Nelson, Erik - 2
Simon Slavin wrote on Sunday, October 25, 2015 6:59 AM > On 25 Oct 2015, at 10:05am, Lev wrote: > > > Untill now my architecture does all the SQLite work in C, and pass > > simple variables on Lua's stack. > > > > Today morning I've got an idea to push only the database connection > object. > >

[sqlite] accessing database from Lua and C

2015-10-25 Thread Lev
Hi List, I'm writing an application in native C that calls Lua scripts. Untill now my architecture does all the SQLite work in C, and pass simple variables on Lua's stack. Today morning I've got an idea to push only the database connection object. The database is opened in the C code, however

[sqlite] accessing database from Lua and C

2015-10-25 Thread Simon Slavin
On 25 Oct 2015, at 10:05am, Lev wrote: > Untill now my architecture does all the SQLite work in C, and pass simple > variables on Lua's stack. > > Today morning I've got an idea to push only the database connection object. > The database is opened in the C code, however I only have a single