diff options
author | Pedro Alves <palves@redhat.com> | 2012-09-13 14:35:16 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-09-13 14:35:16 +0000 |
commit | aa0fbdd82c86c683f6d2bf39dcc9dedfc9c7a8d0 (patch) | |
tree | 30ce3202e64f4fd6ed94098c0302df99c060afd9 /.gitignore | |
parent | 80c4bb52e58e3e1b83253c9f567ea6fb14d71ad3 (diff) | |
download | gdb-aa0fbdd82c86c683f6d2bf39dcc9dedfc9c7a8d0.zip gdb-aa0fbdd82c86c683f6d2bf39dcc9dedfc9c7a8d0.tar.gz gdb-aa0fbdd82c86c683f6d2bf39dcc9dedfc9c7a8d0.tar.bz2 |
2012-09-13 Pedro Alves <palves@redhat.com>
* Makefile.in (COMMON_OBS): Add registry.o.
* registry.c: New file.
* registry.h (struct registry_container): Declare.
(registry_data_callback): New typedef.
(struct registry_data, struct registry_data_registration, struct
registry_data_registry): New type.
(register_data_with_cleanup, registry_alloc_data)
(registry_callback_adaptor, registry_clear_data)
(registry_container_free_data, registry_set_data, registry_data):
Declare.
(DEFINE_REGISTRY): Refactor structures and functions as shims over
the new common structures and functions.
(DECLARE_REGISTRY): Declare struct TAG ## _data. Use the tagged
callback typedefs.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions