projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bfd_cleanup for object_p
[deliverable/binutils-gdb.git]
/
bfd
/
bfd-in2.h
diff --git
a/bfd/bfd-in2.h
b/bfd/bfd-in2.h
index 44bc7041cdc9ec7eaf85b212b651a44ee9133914..37114607b51521d51aecf36101e1b8e12efd027e 100644
(file)
--- a/
bfd/bfd-in2.h
+++ b/
bfd/bfd-in2.h
@@
-7295,6
+7295,8
@@
typedef struct bfd_link_info _bfd_link_info;
/* Forward declaration. */
typedef struct flag_info flag_info;
/* Forward declaration. */
typedef struct flag_info flag_info;
+typedef void (*bfd_cleanup) (bfd *);
+
typedef struct bfd_target
{
/* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */
typedef struct bfd_target
{
/* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */
@@
-7359,9
+7361,9
@@
typedef struct bfd_target
/* Format dependent routines: these are vectors of entry points
within the target vector structure, one for each format to check. */
/* Format dependent routines: these are vectors of entry points
within the target vector structure, one for each format to check. */
- /* Check the format of a file being read. Return a <<bfd_
target *>> or zero. */
- const struct bfd_target *
-
(*_bfd_check_format[bfd_type_end]) (bfd *);
+ /* Check the format of a file being read. Return a <<bfd_
cleanup>> on
+ success or zero on failure. */
+
bfd_cleanup
(*_bfd_check_format[bfd_type_end]) (bfd *);
/* Set the format of a file being written. */
bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
/* Set the format of a file being written. */
bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
This page took
0.024263 seconds
and
4
git commands to generate.