Modules/Objects/public/primitives/IntObject.hpp
2024-11-24 22:41:14 +03:00

25 lines
No EOL
647 B
C++

#pragma once
#include "core/Object.hpp"
namespace obj {
struct IntObject : Object {
tp::alni val;
static ObjectType TypeData;
static ObjectTypeAriphmetics TypeAriphm;
static void constructor(Object* self);
static void copy(IntObject* self, const IntObject* in);
static IntObject* create(tp::alni in);
static void from_int(Object* self, tp::alni in);
static void from_float(Object* self, tp::alnf in);
static void from_string(Object* self, const std::string& in);
static std::string to_string(Object* self);
static tp::alni to_int(Object* self);
static tp::alnf to_float(Object* self);
};
};