1 |
|
2003-07-28 Gary V. Vaughan <gary@gnu.org> |
2 |
|
|
3 |
|
Aside from auditing path.c for m4module.h api obfuscation, this |
4 |
|
delta introduces the concept of private struct members in opaque |
5 |
|
data types to GNU m4: See the STYLE file for details. |
6 |
|
|
7 |
|
* TODO: Remind ourselves that a rewrite of path.c is needed. |
8 |
|
* m4/m4module.h (m4_search_path, struct m4_search_path_info): |
9 |
|
Moved from here... |
10 |
|
* m4/m4private.h (m4__search_path, m4__search_path_info): ...to |
11 |
|
here and renamed. These type definitions are for internal api use |
12 |
|
only. Changed all callers. |
13 |
|
* m4/m4module.h (m4_search_path_env_init, m4_search_path_add): |
14 |
|
Moved from here... |
15 |
|
* m4/path.c (search_path_env_init, search_path_add): ...to here |
16 |
|
and renamed. These calls were never used outside this file. |
17 |
|
Changed all callers. |
18 |
|
(dirpath): Moved functionality of this static declaration... |
19 |
|
* m4/m4private.h (struct m4): ...to this new internal only |
20 |
|
search_path field. Changed all callers. |
21 |
|
(m4__get_search_path): Added new internal api accessor. |
22 |
|
* m4/path.c (m4_search_path_info_new): Removed. Not used. |
23 |
|
(m4_include_init): Removed... |
24 |
|
* m4/m4.c (m4_create): ...because the new m4 field is now |
25 |
|
initialised here. |
26 |
|
(m4_delete): Recycle search_path memory. |
27 |
|
* src/main.c (main): Don't call m4_include_init now that it's |
28 |
|
gone! |
29 |
|
* doc/STYLE: Document convention for private fields in opaque |
30 |
|
ADTs. |
31 |
|
|
32 |
2003-07-24 Gary V. Vaughan <gary@gnu.org> |
2003-07-24 Gary V. Vaughan <gary@gnu.org> |
33 |
|
|
34 |
Sometimes exporting the address of a symbol from a module isn't |
Sometimes exporting the address of a symbol from a module isn't |