[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
m4 ./ChangeLog m4/m4module.h m4/m4private.h m4/...
From: |
Gary V. Vaughan |
Subject: |
m4 ./ChangeLog m4/m4module.h m4/m4private.h m4/... |
Date: |
Thu, 12 Jun 2003 12:31:59 -0400 |
CVSROOT: /cvsroot/m4
Module name: m4
Branch:
Changes by: Gary V. Vaughan <address@hidden> 03/06/12 12:31:59
Modified files:
. : ChangeLog
m4 : m4module.h m4private.h module.c
modules : m4.c
po : cs.po de.po el.po fr.po it.po ja.po nl.po pl.po
ru.po sv.po
src : freeze.c main.c
Log message:
Refactoring modules to rationalise the API into an external
documented (eventually!) API for use by modules in the `m4_'
namespace declared in m4/m4module.h, an internal API between the
source files we ship (including our shipped modules) in the `m4__'
namespace declared in m4/m4private.h and making the rest as
cohesive as possible with liberal use of the `static' keyword.
This change represents an audit to m4/module.c along these
guidelines.
* m4/m4module.h (m4_module_close_all, m4_module_find_by_builtin):
Removed. No longer used.
(m4_module_close): Removed prototypes.
(m4_module_init, m4_module_open, m4_module_unload_all): Removed
from the exported module api...
* m4/m4private.h (m4__module_init, m4__module_open)
(m4__module_exit): ...and renamed and added to the internal api.
Changed all callers.
(BUILTIN_SYMBOL, MACRO_SYMBOL, INIT_SYMBOL, FINISH_SYMBOL):
Centralised definitions after renaming...
* m4/module.c (M4_BUILTIN_SYMBOL, M4_MACRO_SYMBOL, M4_INIT_SYMBOL)
(M4_FINISH_SYMBOL): ...and removing from here.
(m4_module_dlerror, m4_module_remove, m4_module_close)
(m4_caller_id): Not exported at all, so renamed to module_dlerror,
module_remove, module_close and caller_id.
(MODULE_SELF_NAME): New macro to make reporting self errors
easier.
(m4_module_load, module_close, module_remove): Use it.
* m4/m4private.h (USER_MODULE_PATH_ENV): Macro to hold "M4MODPATH"
name.
* src/main.c (main): Use it.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/ChangeLog.diff?tr1=1.171&tr2=1.172&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4module.h.diff?tr1=1.42&tr2=1.43&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4private.h.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/module.c.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/modules/m4.c.diff?tr1=1.35&tr2=1.36&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/cs.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/de.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/el.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/fr.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/it.po.diff?tr1=1.28&tr2=1.29&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/ja.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/nl.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/pl.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/ru.po.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/po/sv.po.diff?tr1=1.28&tr2=1.29&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/src/freeze.c.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/src/main.c.diff?tr1=1.35&tr2=1.36&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- m4 ./ChangeLog m4/m4module.h m4/m4private.h m4/...,
Gary V. Vaughan <=