1 |
|
2003-06-13 Gary V. Vaughan <gary@gnu.org> |
2 |
|
|
3 |
|
More refactoring to stabilise the module api, this time for |
4 |
|
symtab.c. Additionally, start to pay attention to function names |
5 |
|
that don't contain a verb like they should. |
6 |
|
|
7 |
|
* m4/m4module.h (m4_symtab_apply): Reintroduced this function as a |
8 |
|
wrapper for m4_hash_apply to decouple the symtab module from the |
9 |
|
hash module. |
10 |
|
(m4_symbol_builtin, m4_symbol_macro): Renamed to |
11 |
|
m4__symbol_set_builtin and m4__symbol_set_macro. Changed all |
12 |
|
callers. |
13 |
|
(m4_symbol_delete): Create a macro version to save a function |
14 |
|
call. |
15 |
|
(m4_token_t, m4_data_t): These violate the POSIX reserved |
16 |
|
namespace. Renamed to m4_token_type and m4_symbol_type. Changed |
17 |
|
all callers. |
18 |
|
(m4_token_type): Renamed to m4_token_get_type. |
19 |
|
(m4_symtab, m4_symtab_init, m4_symtab_remove_module_references) |
20 |
|
(m4_symtab_exit): Removed from the exported module |
21 |
|
api... |
22 |
|
* m4/m4private.h (m4__symtab, m4__symtab_init) |
23 |
|
(m4__symtab_remove_module_references, m4__symtab_exit): ...and |
24 |
|
renamed and added to the internal api. Changed all callers. |
25 |
|
(m4_symtab_apply): A faster macro version of the function for |
26 |
|
users of the internal api. |
27 |
|
* m4/symtab.c (m4_symbol_destroy, m4_arg_destroy): Renamed to |
28 |
|
symbol_destroy and arg_destroy. |
29 |
|
(symtab_debug): Added a prototype. |
30 |
|
(m4_symtab_apply, m4_symbol_delete): Moved to the end of the file |
31 |
|
so that callers in this file get the faster macro versions from |
32 |
|
m4/m4private.h. |
33 |
|
|
34 |
2003-06-12 Gary V. Vaughan <gary@gnu.org> |
2003-06-12 Gary V. Vaughan <gary@gnu.org> |
35 |
|
|
36 |
Refactoring modules to rationalise the API into an external |
Refactoring modules to rationalise the API into an external |