Modules/Objects/public/primitives/boolobject.h
2023-07-25 19:13:27 +03:00

24 lines
No EOL
622 B
C++

#pragma once
#include "core/object.h"
namespace obj {
struct BoolObject : Object {
tp::alni val;
static ObjectType TypeData;
static void constructor(BoolObject* self);
static void copy(BoolObject* self, const BoolObject* in);
static BoolObject* create(bool in);
static void from_int(BoolObject* self, tp::alni in);
static void from_float(BoolObject* self, tp::alnf in);
static void from_string(BoolObject* self, tp::String in);
static tp::String to_string(BoolObject* self);
static tp::alni to_int(BoolObject* self);
static tp::alnf to_float(BoolObject* self);
};
};