/*
** Lua binding: Lua
** Generated automatically by tolua++-1.0.92 on Tue Oct 26 22:10:56 2010.
*/

#ifndef __cplusplus
#include "stdlib.h"
#endif
#include "string.h"

#include "components/lua/tolua++.h"

/* Exported function */
TOLUA_API int  tolua_Lua_open (lua_State* tolua_S);

#include "components/lua/LuaConsoleObject.h"
#include "components/lua/Connector.h"

/* function to release collected object via destructor */
#ifdef __cplusplus

static int tolua_collect_Ember__Lua__LuaConsoleObject (lua_State* tolua_S)
{
 Ember::Lua::LuaConsoleObject* self = (Ember::Lua::LuaConsoleObject*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}

static int tolua_collect_Ember__Lua__Connector (lua_State* tolua_S)
{
 Ember::Lua::Connector* self = (Ember::Lua::Connector*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}
#endif


/* function to register type */
static void tolua_reg_types (lua_State* tolua_S)
{
 tolua_usertype(tolua_S,"Ember::Lua::LuaConsoleObject");
 tolua_usertype(tolua_S,"Ember::Lua::Connector");
}

/* method: new of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new00
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  const std::string luaMethod = ((const std::string)  tolua_tocppstring(tolua_S,3,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
   tolua_pushcppstring(tolua_S,(const char*)command);
   tolua_pushcppstring(tolua_S,(const char*)luaMethod);
  }
 }
 return 3;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new00_local
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new00_local(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  const std::string luaMethod = ((const std::string)  tolua_tocppstring(tolua_S,3,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
   tolua_pushcppstring(tolua_S,(const char*)command);
   tolua_pushcppstring(tolua_S,(const char*)luaMethod);
  }
 }
 return 3;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new01
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new01(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  const std::string luaMethod = ((const std::string)  tolua_tocppstring(tolua_S,3,0));
  const std::string description = ((const std::string)  tolua_tocppstring(tolua_S,4,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod,description));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
   tolua_pushcppstring(tolua_S,(const char*)command);
   tolua_pushcppstring(tolua_S,(const char*)luaMethod);
   tolua_pushcppstring(tolua_S,(const char*)description);
  }
 }
 return 4;
tolua_lerror:
 return tolua_Lua_Ember_Lua_LuaConsoleObject_new00(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new01_local
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new01_local(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,3,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  const std::string luaMethod = ((const std::string)  tolua_tocppstring(tolua_S,3,0));
  const std::string description = ((const std::string)  tolua_tocppstring(tolua_S,4,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod,description));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
   tolua_pushcppstring(tolua_S,(const char*)command);
   tolua_pushcppstring(tolua_S,(const char*)luaMethod);
   tolua_pushcppstring(tolua_S,(const char*)description);
  }
 }
 return 4;
tolua_lerror:
 return tolua_Lua_Ember_Lua_LuaConsoleObject_new00_local(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new02
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new02(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  lua_Object luaMethod = ((lua_Object)  tolua_tovalue(tolua_S,3,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
   tolua_pushcppstring(tolua_S,(const char*)command);
  }
 }
 return 2;
tolua_lerror:
 return tolua_Lua_Ember_Lua_LuaConsoleObject_new01(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new02_local
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new02_local(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  lua_Object luaMethod = ((lua_Object)  tolua_tovalue(tolua_S,3,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
   tolua_pushcppstring(tolua_S,(const char*)command);
  }
 }
 return 2;
tolua_lerror:
 return tolua_Lua_Ember_Lua_LuaConsoleObject_new01_local(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: new of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new03
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new03(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  lua_Object luaMethod = ((lua_Object)  tolua_tovalue(tolua_S,3,0));
  const std::string description = ((const std::string)  tolua_tocppstring(tolua_S,4,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod,description));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
   tolua_pushcppstring(tolua_S,(const char*)command);
   tolua_pushcppstring(tolua_S,(const char*)description);
  }
 }
 return 3;
tolua_lerror:
 return tolua_Lua_Ember_Lua_LuaConsoleObject_new02(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: new_local of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_new03_local
static int tolua_Lua_Ember_Lua_LuaConsoleObject_new03_local(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertable(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,4,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,5,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  const std::string command = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  lua_Object luaMethod = ((lua_Object)  tolua_tovalue(tolua_S,3,0));
  const std::string description = ((const std::string)  tolua_tocppstring(tolua_S,4,0));
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  Mtolua_new((Ember::Lua::LuaConsoleObject)(command,luaMethod,description));
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
   tolua_pushcppstring(tolua_S,(const char*)command);
   tolua_pushcppstring(tolua_S,(const char*)description);
  }
 }
 return 3;
tolua_lerror:
 return tolua_Lua_Ember_Lua_LuaConsoleObject_new02_local(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_delete00
static int tolua_Lua_Ember_Lua_LuaConsoleObject_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::Lua::LuaConsoleObject* self = (Ember::Lua::LuaConsoleObject*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setSelf of class  Ember::Lua::LuaConsoleObject */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_LuaConsoleObject_setSelf00
static int tolua_Lua_Ember_Lua_LuaConsoleObject_setSelf00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::Lua::LuaConsoleObject",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::Lua::LuaConsoleObject* self = (Ember::Lua::LuaConsoleObject*)  tolua_tousertype(tolua_S,1,0);
  lua_Object selfIndex = ((lua_Object)  tolua_tovalue(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setSelf'", NULL);
#endif
  {
   Ember::Lua::LuaConsoleObject* tolua_ret = (Ember::Lua::LuaConsoleObject*)  self->setSelf(selfIndex);
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::LuaConsoleObject");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setSelf'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: delete of class  Ember::Lua::Connector */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_Connector_delete00
static int tolua_Lua_Ember_Lua_Connector_delete00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::Lua::Connector",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::Lua::Connector* self = (Ember::Lua::Connector*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
#endif
  Mtolua_delete(self);
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: connect of class  Ember::Lua::Connector */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_Connector_connect00
static int tolua_Lua_Ember_Lua_Connector_connect00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::Lua::Connector",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::Lua::Connector* self = (Ember::Lua::Connector*)  tolua_tousertype(tolua_S,1,0);
  lua_Object luaMethod = ((lua_Object)  tolua_tovalue(tolua_S,2,0));
  lua_Object selfIndex = ((lua_Object)  tolua_tovalue(tolua_S,3,LUA_NOREF));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'connect'", NULL);
#endif
  {
   Ember::Lua::Connector* tolua_ret = (Ember::Lua::Connector*)  self->connect(luaMethod,selfIndex);
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::Connector");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'connect'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: connect of class  Ember::Lua::Connector */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_Connector_connect01
static int tolua_Lua_Ember_Lua_Connector_connect01(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::Lua::Connector",0,&tolua_err) ||
     !tolua_iscppstring(tolua_S,2,0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,4,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  Ember::Lua::Connector* self = (Ember::Lua::Connector*)  tolua_tousertype(tolua_S,1,0);
  const std::string luaMethod = ((const std::string)  tolua_tocppstring(tolua_S,2,0));
  lua_Object selfIndex = ((lua_Object)  tolua_tovalue(tolua_S,3,LUA_NOREF));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'connect'", NULL);
#endif
  {
   Ember::Lua::Connector* tolua_ret = (Ember::Lua::Connector*)  self->connect(luaMethod,selfIndex);
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::Connector");
   tolua_pushcppstring(tolua_S,(const char*)luaMethod);
  }
 }
 return 2;
tolua_lerror:
 return tolua_Lua_Ember_Lua_Connector_connect00(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* method: disconnect of class  Ember::Lua::Connector */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_Connector_disconnect00
static int tolua_Lua_Ember_Lua_Connector_disconnect00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::Lua::Connector",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::Lua::Connector* self = (Ember::Lua::Connector*)  tolua_tousertype(tolua_S,1,0);
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'disconnect'", NULL);
#endif
  {
   self->disconnect();
  }
 }
 return 0;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'disconnect'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* method: setSelf of class  Ember::Lua::Connector */
#ifndef TOLUA_DISABLE_tolua_Lua_Ember_Lua_Connector_setSelf00
static int tolua_Lua_Ember_Lua_Connector_setSelf00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     !tolua_isusertype(tolua_S,1,"Ember::Lua::Connector",0,&tolua_err) ||
     !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  Ember::Lua::Connector* self = (Ember::Lua::Connector*)  tolua_tousertype(tolua_S,1,0);
  lua_Object selfIndex = ((lua_Object)  tolua_tovalue(tolua_S,2,0));
#ifndef TOLUA_RELEASE
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setSelf'", NULL);
#endif
  {
   Ember::Lua::Connector* tolua_ret = (Ember::Lua::Connector*)  self->setSelf(selfIndex);
    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Ember::Lua::Connector");
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'setSelf'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* Open function */
TOLUA_API int tolua_Lua_open (lua_State* tolua_S)
{
 tolua_open(tolua_S);
 tolua_reg_types(tolua_S);
 tolua_module(tolua_S,NULL,0);
 tolua_beginmodule(tolua_S,NULL);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"Lua",0);
   tolua_beginmodule(tolua_S,"Lua");
    #ifdef __cplusplus
    tolua_cclass(tolua_S,"LuaConsoleObject","Ember::Lua::LuaConsoleObject","",tolua_collect_Ember__Lua__LuaConsoleObject);
    #else
    tolua_cclass(tolua_S,"LuaConsoleObject","Ember::Lua::LuaConsoleObject","",NULL);
    #endif
    tolua_beginmodule(tolua_S,"LuaConsoleObject");
     tolua_function(tolua_S,"new",tolua_Lua_Ember_Lua_LuaConsoleObject_new00);
     tolua_function(tolua_S,"new_local",tolua_Lua_Ember_Lua_LuaConsoleObject_new00_local);
     tolua_function(tolua_S,".call",tolua_Lua_Ember_Lua_LuaConsoleObject_new00_local);
     tolua_function(tolua_S,"new",tolua_Lua_Ember_Lua_LuaConsoleObject_new01);
     tolua_function(tolua_S,"new_local",tolua_Lua_Ember_Lua_LuaConsoleObject_new01_local);
     tolua_function(tolua_S,".call",tolua_Lua_Ember_Lua_LuaConsoleObject_new01_local);
     tolua_function(tolua_S,"new",tolua_Lua_Ember_Lua_LuaConsoleObject_new02);
     tolua_function(tolua_S,"new_local",tolua_Lua_Ember_Lua_LuaConsoleObject_new02_local);
     tolua_function(tolua_S,".call",tolua_Lua_Ember_Lua_LuaConsoleObject_new02_local);
     tolua_function(tolua_S,"new",tolua_Lua_Ember_Lua_LuaConsoleObject_new03);
     tolua_function(tolua_S,"new_local",tolua_Lua_Ember_Lua_LuaConsoleObject_new03_local);
     tolua_function(tolua_S,".call",tolua_Lua_Ember_Lua_LuaConsoleObject_new03_local);
     tolua_function(tolua_S,"delete",tolua_Lua_Ember_Lua_LuaConsoleObject_delete00);
     tolua_function(tolua_S,"setSelf",tolua_Lua_Ember_Lua_LuaConsoleObject_setSelf00);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
  tolua_module(tolua_S,"Ember",0);
  tolua_beginmodule(tolua_S,"Ember");
   tolua_module(tolua_S,"Lua",0);
   tolua_beginmodule(tolua_S,"Lua");
    #ifdef __cplusplus
    tolua_cclass(tolua_S,"Connector","Ember::Lua::Connector","",tolua_collect_Ember__Lua__Connector);
    #else
    tolua_cclass(tolua_S,"Connector","Ember::Lua::Connector","",NULL);
    #endif
    tolua_beginmodule(tolua_S,"Connector");
     tolua_function(tolua_S,"delete",tolua_Lua_Ember_Lua_Connector_delete00);
     tolua_function(tolua_S,"connect",tolua_Lua_Ember_Lua_Connector_connect00);
     tolua_function(tolua_S,"connect",tolua_Lua_Ember_Lua_Connector_connect01);
     tolua_function(tolua_S,"disconnect",tolua_Lua_Ember_Lua_Connector_disconnect00);
     tolua_function(tolua_S,"setSelf",tolua_Lua_Ember_Lua_Connector_setSelf00);
    tolua_endmodule(tolua_S);
   tolua_endmodule(tolua_S);
  tolua_endmodule(tolua_S);
 tolua_endmodule(tolua_S);
 return 1;
}


#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
 TOLUA_API int luaopen_Lua (lua_State* tolua_S) {
 return tolua_Lua_open(tolua_S);
};
#endif

