Function with shared_ptr<LuaState>
-ns donot print sub functions