lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I have a function in C++ that is exposed to Lua which takes a table
argument whose keys and values are all strings.  I'd like to convert
this into a std::map<std::string, std::string> but am having a hard
time coming up with a way to iterate over all the key-value pairs
using the C interface.  Any ideas?

  Ken Smith

--
If you're any good at what you do, it'll make you miserable.