dumpable.binding.hpp (1341B)
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::Dumpable::TYPE_NAME[] = "neptools.dumpable"; 8 9 namespace Libshit::Lua 10 { 11 12 // class neptools.dumpable 13 template<> 14 void TypeRegisterTraits<::Neptools::Dumpable>::Register(TypeBuilder& bld) 15 { 16 17 bld.AddFunction< 18 static_cast<void (::Neptools::Dumpable::*)()>(&::Neptools::Dumpable::Fixup) 19 >("fixup"); 20 bld.AddFunction< 21 static_cast<::Neptools::FilePosition (::Neptools::Dumpable::*)() const>(&::Neptools::Dumpable::GetSize) 22 >("get_size"); 23 bld.AddFunction< 24 static_cast<void (::Neptools::Dumpable::*)(::Neptools::Sink &) const>(&::Neptools::Dumpable::Dump), 25 static_cast<void (::Neptools::Dumpable::*)(const ::boost::filesystem::path &) const>(&::Neptools::Dumpable::Dump) 26 >("dump"); 27 bld.AddFunction< 28 static_cast<void (::Neptools::Dumpable::*)(const ::boost::filesystem::path &) const>(&::Neptools::Dumpable::Inspect), 29 static_cast<std::string (::Neptools::Dumpable::*)() const>(&::Neptools::Dumpable::Inspect) 30 >("inspect"); 31 32 } 33 static TypeRegister::StateRegister<::Neptools::Dumpable> libshit_lua_statereg_ed5e1f3026c8d76fd68e7555f06768d56312cc6b3cc43f0d65fe1c0e1bfcd51e; 34 35 } 36 #endif 37 #endif