projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
commit after reset fuckup
[m6w6/ext-psi]
/
src
/
types
/
decl_struct.c
diff --git
a/src/types/decl_struct.c
b/src/types/decl_struct.c
index 14076c6b296d7cd8a72f5e001ddff4ab30ca6cd2..44f8b4c007daf5cc4716b1087a389870f11d993a 100644
(file)
--- a/
src/types/decl_struct.c
+++ b/
src/types/decl_struct.c
@@
-55,14
+55,14
@@
void psi_decl_struct_free(struct psi_decl_struct **s_ptr)
}
}
}
}
-void psi_decl_struct_dump(
int fd
, struct psi_decl_struct *strct)
+void psi_decl_struct_dump(
struct psi_dump *dump
, struct psi_decl_struct *strct)
{
{
-
dprintf(fd
, "struct %s::(%zu, %zu)", strct->name->val, strct->align,
+
PSI_DUMP(dump
, "struct %s::(%zu, %zu)", strct->name->val, strct->align,
strct->size);
if (psi_plist_count(strct->args)) {
psi_decl_type_dump_args_with_layout(fd, strct->args, 0);
} else {
strct->size);
if (psi_plist_count(strct->args)) {
psi_decl_type_dump_args_with_layout(fd, strct->args, 0);
} else {
-
dprintf(fd
, ";");
+
PSI_DUMP(dump
, ";");
}
}
}
}