tweak lua gc

lua C++ bindings require ~400KB worth of tables now; so bump memory
available to rt-safe scripts (full interpreter) to 2MB.

Also switch to incremental GC.
This commit is contained in:
Robin Gareus 2016-07-06 03:32:08 +02:00
parent aee63fe5a3
commit a2f249d1d7
4 changed files with 21 additions and 4 deletions

View file

@ -34,6 +34,8 @@ public:
int do_command (std::string);
int do_file (std::string);
void collect_garbage ();
void collect_garbage_step ();
void tweak_rt_gc ();
sigc::signal<void,std::string> Print;