open.binding.hpp (865B)
1 // Auto generated code, do not edit. See gen_binding in project root. 2 #ifndef LIBSHIT_BINDING_GENERATOR 3 #if LIBSHIT_WITH_LUA 4 #include <libshit/lua/user_type.hpp> 5 6 7 const char ::Neptools::OpenFactory::TYPE_NAME[] = "neptools.open_factory"; 8 9 namespace Libshit::Lua 10 { 11 12 // class neptools.open_factory 13 template<> 14 void TypeRegisterTraits<::Neptools::OpenFactory>::Register(TypeBuilder& bld) 15 { 16 17 bld.AddFunction< 18 static_cast<::Libshit::NotNull<::Neptools::OpenFactory::Ret> (*)(::Neptools::Source)>(::Neptools::OpenFactory::Open), 19 static_cast<::Libshit::NotNull<::Neptools::OpenFactory::Ret> (*)(const ::boost::filesystem::path &)>(::Neptools::OpenFactory::Open) 20 >("open"); 21 22 } 23 static TypeRegister::StateRegister<::Neptools::OpenFactory> libshit_lua_statereg_d8030e5bf2564170ed47c168ec7a9d4ed517c27df8bf91b0f041903153f82bb2; 24 25 } 26 #endif 27 #endif