fix typos

This commit is contained in:
IlyaShurupov 2024-03-25 09:23:25 +03:00 committed by Ilya Shurupov
parent 9e2e7f5809
commit ca1ae75b07
18 changed files with 62 additions and 55 deletions

View file

@ -59,7 +59,7 @@ namespace tp::obj {
typedef void (*object_mul)(Object* self, Object* operand);
typedef void (*object_div)(Object* self, Object* operand);
struct ObjectTypeAriphmetics {
struct ObjectTypeArithmetics {
object_add add;
object_sub sub;
object_mul mul;
@ -86,9 +86,9 @@ namespace tp::obj {
object_destructor destructor = nullptr;
object_copy copy = nullptr;
alni size = 0;
const char* name;
const ObjectTypeConversions* convesions = nullptr;
const ObjectTypeAriphmetics* ariphmetics = nullptr;
const char* name = nullptr;
const ObjectTypeConversions* conversions = nullptr;
const ObjectTypeArithmetics* arithmetics = nullptr;
object_save_size save_size = nullptr;
object_save save = nullptr;
object_load load = nullptr;

View file

@ -10,7 +10,7 @@ namespace tp::obj {
RGBA mCol;
static ObjectType TypeData;
static ObjectTypeAriphmetics TypeAriphm;
static ObjectTypeArithmetics TypeAriphm;
static void constructor(ColorObject* self);
static void copy(ColorObject* self, const ColorObject* in);

View file

@ -9,8 +9,7 @@ namespace tp::obj {
alnf val;
static ObjectType TypeData;
static ObjectTypeAriphmetics TypeAriphm;
static ObjectTypeArithmetics TypeAriphm;
static void constructor(FloatObject* self);
static void copy(FloatObject* self, const FloatObject* in);

View file

@ -9,7 +9,7 @@ namespace tp::obj {
alni val;
static ObjectType TypeData;
static ObjectTypeAriphmetics TypeAriphm;
static ObjectTypeArithmetics TypeAriphm;
static void constructor(IntObject* self);
static void copy(IntObject* self, const IntObject* in);