From ae874e92caa10f9dfd74c63827905063a2c5717c Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Mon, 11 Aug 2014 11:53:59 -0700 Subject: Bug fixing - how was that even working... ? --- src/LuaLoad.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/LuaLoad.cc') diff --git a/src/LuaLoad.cc b/src/LuaLoad.cc index 79453ea..8e634b5 100644 --- a/src/LuaLoad.cc +++ b/src/LuaLoad.cc @@ -1,5 +1,6 @@ #include +#include "LuaHandle.h" #include "LuaLoad.h" #include "LuaTask.h" #include "Buffer.h" @@ -9,7 +10,7 @@ using namespace Balau; namespace { -class LuaLoad { }; +struct LuaLoad { void cleanup() { } }; enum LuaLoad_functions_t { LUALOAD @@ -29,7 +30,7 @@ struct sLua_LuaLoad { WAITTASK, } status; if (L.isobject()) { - h = L.recast(); + h = L.recast()->getIO(); if (h.isA()) { L.load(h); return 0; -- cgit v1.2.3