Patch 1

  • C# Garbage Collection
  • Improved logging
  • Array/List/Dictionary support
  • Params support

Array, List<>, and Dictionary<>

I just realized a few days ago that there was no support for C# functions that use types like Array, List<>, or Dictionary<> to be converted to and from Lua. That has now been added.

CSharp Garbage Collection

A very useful feature we were missing has just been added: C#-Managed Lua Garbage Collection! There are a few cases where userdata objects that are passed to userdata functions are never actually marked dead for Lua's internal garbage collection. Now the stragglers are collected and marked for Lua's GC every 10s or so. I might revisit this feature to add more control to when garbage collection happens, maybe even something more akin to Lua's built in GC.

All of these changes were merged into the main repository in commit 136d00925ce076d968653d30b72d5a3ee837ebe7