Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <common/c_class.h>
- namespace codename6
- {
- class c_difftime : public c_class
- {
- public:
- c_difftime();
- c_difftime(const c_difftime &v);
- void Assign(const void *v) override;
- const char *ClassName() const override;
- const void *Clone(uint64_t opt) const override;
- bool Inherited(const char *clsname) const override;
- int from_lua(void *LL,int idx) override;
- int to_lua(void *LL) override;
- uint64_t write(std::ostream &s) const override;
- uint64_t read(std::istream &s) override;
- int on_lua_command_call(const char *cmd,void *LL) override;
- private:
- using super = c_class;
- public:
- constexpr static int clscode = 774973917;
- int GetCode() const override
- {
- return c_difftime::clscode;
- }
- bool Inherited(int code) const override
- {
- if(code==c_difftime::clscode) return true;
- return super::Inherited(code);
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement