Why oh why...

This commit is contained in:
ThePhD 2016-09-22 12:16:52 -04:00
parent dc000fb435
commit 508d21c842
2 changed files with 5 additions and 5 deletions

View File

@ -66,13 +66,13 @@ g.data = mdata.third
list3 = g:generate_list() list3 = g:generate_list()
print("From lua: ") print("From lua: ")
for i, v in list1 do for i = 1, #list1 do
print("\tlist1[" .. i .. "] = " .. list1[i]) print("\tlist1[" .. i .. "] = " .. list1[i])
end end
for i, v in list2 do for i = 1, #list2 do
print("\tlist2[" .. i .. "] = " .. list2[i]) print("\tlist2[" .. i .. "] = " .. list2[i])
end end
for i, #t in list3 do for i = 1, #list3 do
print("\tlist3[" .. i .. "] = " .. list3[i]) print("\tlist3[" .. i .. "] = " .. list3[i])
end end

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2016-09-22 15:48:51.139867 UTC // Generated 2016-09-22 16:13:14.308519 UTC
// This header was generated with sol v2.14.2 (revision 3a00ce0) // This header was generated with sol v2.14.2 (revision dc000fb)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP