mie: type: move all function pointers from mie_type to mie_dialect_type
This commit is contained in:
@@ -17,7 +17,6 @@ static void value_print(
|
||||
static void type_init(const struct mie_dialect_type *type_info, struct mie_type *type)
|
||||
{
|
||||
type->ty_instance_size = sizeof(struct mie_string);
|
||||
type->ty_value_print = value_print;
|
||||
}
|
||||
|
||||
static enum mie_status print(
|
||||
@@ -38,4 +37,5 @@ MIE_DIALECT_TYPE_BEGIN(mie_builtin_string, "string")
|
||||
MIE_DIALECT_TYPE_INIT(type_init);
|
||||
MIE_DIALECT_TYPE_PRINT(print);
|
||||
MIE_DIALECT_TYPE_PARSE(parse);
|
||||
MIE_DIALECT_TYPE_VALUE_PRINT(value_print);
|
||||
MIE_DIALECT_TYPE_END()
|
||||
|
||||
Reference in New Issue
Block a user