m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: 9-gary-symtab-rationalise-api-a-bit.patch


From: Gary V. Vaughan
Subject: FYI: 9-gary-symtab-rationalise-api-a-bit.patch
Date: Sat, 8 Sep 2001 00:52:46 +0100
User-agent: Mutt/1.3.22.1i

Index: ChangeLog
        * m4/m4module.h, m4/module.c: Updated all references.
from  Akim Demaille  <address@hidden>
Index: m4/m4module.h
===================================================================
RCS file: /cvsroot/m4/m4/m4/m4module.h,v
retrieving revision 1.24
diff -u -p -u -r1.24 m4module.h
--- m4/m4module.h 2001/09/07 23:42:24 1.24
+++ m4/m4module.h 2001/09/07 23:46:56
@@ -103,7 +103,7 @@ extern m4_symbol *m4_symbol_insert  (cons
 extern void       m4_symbol_popdef     (const char *);
 extern void       m4_symbol_delete     (const char *);
 extern int     m4_symtab_apply (m4_symtab_apply_func *, void *);
-extern void    m4_remove_table_reference_symbols (lt_dlhandle);
+extern void    m4_symtab_remove_module_references (lt_dlhandle);
 
 
 /* Various different token types.  */
Index: m4/module.c
===================================================================
RCS file: /cvsroot/m4/m4/m4/module.c,v
retrieving revision 1.10
diff -u -p -u -r1.10 module.c
--- m4/module.c 2001/09/07 23:42:24 1.10
+++ m4/module.c 2001/09/07 23:46:57
@@ -70,7 +70,7 @@
  * this case.
  *
  * To unload a module, use m4_module_unload(). which uses
- * m4_remove_table_reference_symbols() to remove the builtins defined by
+ * m4_symtab_remove_module_references() to remove the builtins defined by
  * the unloaded module from the symbol table.  If the module has been
  * loaded several times with calls to m4_module_load, then the module will
  * not be unloaded until the same number of calls to m4_module_unload()
@@ -479,7 +479,7 @@ m4_module_unload (const char *name, stru
             equal to 1.  If m4_module_close is called again on a
             resident module after the references have already been
             removed, we needn't try to remove them again!  */
-         m4_remove_table_reference_symbols (handle);
+         m4_symtab_remove_module_references (handle);
 
 #ifdef DEBUG_MODULES
          M4_DEBUG_MESSAGE1("module %s: symbols unloaded", name);
Index: m4/symtab.c
===================================================================
RCS file: /cvsroot/m4/m4/m4/symtab.c,v
retrieving revision 1.18
diff -u -p -u -r1.18 symtab.c
--- m4/symtab.c 2001/09/07 23:42:24 1.18
+++ m4/symtab.c 2001/09/07 23:46:57
@@ -240,7 +240,7 @@ m4_symbol_delete (const char *name)
 /* Remove every symbol that references the given module handle from
    the symbol table.  */
 void
-m4_remove_table_reference_symbols (lt_dlhandle handle)
+m4_symtab_remove_module_references (lt_dlhandle handle)
 {
   m4_hash_iterator *place = 0;
 

-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]