[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
m4 ./ChangeLog ./TODO doc/STYLE m4/m4.c m4/m4mo...
From: |
Gary V. Vaughan |
Subject: |
m4 ./ChangeLog ./TODO doc/STYLE m4/m4.c m4/m4mo... |
Date: |
Tue, 29 Jul 2003 11:57:34 -0400 |
CVSROOT: /cvsroot/m4
Module name: m4
Branch:
Changes by: Gary V. Vaughan <address@hidden> 03/07/29 11:57:34
Modified files:
. : ChangeLog TODO
doc : STYLE
m4 : m4.c m4module.h m4private.h path.c
src : main.c
Log message:
Aside from auditing path.c for m4module.h api obfuscation, this
delta introduces the concept of private struct members in opaque
data types to GNU m4: See the STYLE file for details.
* TODO: Remind ourselves that a rewrite of path.c is needed.
* m4/m4module.h (m4_search_path, struct m4_search_path_info):
Moved from here...
* m4/m4private.h (m4__search_path, m4__search_path_info): ...to
here and renamed. These type definitions are for internal api use
only. Changed all callers.
* m4/m4module.h (m4_search_path_env_init, m4_search_path_add):
Moved from here...
* m4/path.c (search_path_env_init, search_path_add): ...to here
and renamed. These calls were never used outside this file.
Changed all callers.
(dirpath): Moved functionality of this static declaration...
* m4/m4private.h (struct m4): ...to this new internal only
search_path field. Changed all callers.
(m4__get_search_path): Added new internal api accessor.
* m4/path.c (m4_search_path_info_new): Removed. Not used.
(m4_include_init): Removed...
* m4/m4.c (m4_create): ...because the new m4 field is now
initialised here.
(m4_delete): Recycle search_path memory.
* src/main.c (main): Don't call m4_include_init now that it's
gone!
* doc/STYLE: Document convention for private fields in opaque
ADTs.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/ChangeLog.diff?tr1=1.197&tr2=1.198&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/TODO.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/doc/STYLE.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4.c.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4module.h.diff?tr1=1.61&tr2=1.62&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4private.h.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/path.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/src/main.c.diff?tr1=1.47&tr2=1.48&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- m4 ./ChangeLog ./TODO doc/STYLE m4/m4.c m4/m4mo...,
Gary V. Vaughan <=