mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-22 15:49:22 +02:00
b2/: rename a bit too general "dump" to "dump_param"
This commit is contained in:
parent
6d4c71586d
commit
b723c8841a
2
b2/chr.c
2
b2/chr.c
@ -179,7 +179,7 @@ static void dump_one_rule(FILE *file, const struct field *field, int level)
|
||||
fprintf(file, "|");
|
||||
if (cond->relop != rel_eq)
|
||||
dump_relop(file, cond->relop);
|
||||
dump(file, field->fmt, &cond->value);
|
||||
dump_param(file, field->fmt, &cond->value);
|
||||
}
|
||||
fprintf(file, ":");
|
||||
dump_action(file, &sel->act, level);
|
||||
|
2
b2/db.c
2
b2/db.c
@ -190,7 +190,7 @@ void part_dump(FILE *file, const struct part *part)
|
||||
fprintf(file, " ");
|
||||
for (p = part->param; p; p = p->next) {
|
||||
fprintf(file, " %s=", p->u.field->name);
|
||||
dump(file, p->u.field->fmt, &p->value);
|
||||
dump_param(file, p->u.field->fmt, &p->value);
|
||||
}
|
||||
fprintf(file, "\n");
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ void dump_rel(FILE *file, const struct format *fmt, const struct value *v)
|
||||
}
|
||||
|
||||
|
||||
void dump(FILE *file, const struct format *fmt, const struct value *v)
|
||||
void dump_param(FILE *file, const struct format *fmt, const struct value *v)
|
||||
{
|
||||
fmt->ops->dump(file, fmt, v);
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ void dump_name(FILE *file, const struct format *fmt, const struct value *v);
|
||||
void dump_set(FILE *file, const struct format *fmt, const struct value *v);
|
||||
void dump_abs(FILE *file, const struct format *fmt, const struct value *v);
|
||||
void dump_rel(FILE *file, const struct format *fmt, const struct value *v);
|
||||
void dump(FILE *file, const struct format *fmt, const struct value *v);
|
||||
void dump_param(FILE *file, const struct format *fmt, const struct value *v);
|
||||
|
||||
extern const struct param_ops param_ops_name;
|
||||
extern const struct param_ops param_ops_set;
|
||||
|
Loading…
Reference in New Issue
Block a user