fix typos
This commit is contained in:
parent
7927226484
commit
c737f41d8a
18 changed files with 62 additions and 55 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue