Author: bernhard
Date: Fri Jun  1 14:26:55 2007
New Revision: 18735

Modified:
   trunk/DEPRECATED.pod
   trunk/include/parrot/interpreter.h
   trunk/src/inter_misc.c

Log:
#40801: [TODO] Rename enter_nci_method to something better
Remove the alias enter_nci_method. 


Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod        (original)
+++ trunk/DEPRECATED.pod        Fri Jun  1 14:26:55 2007
@@ -11,14 +11,7 @@
 
 =head1 Deprecated C APIs
 
-=over 4
-
-=item enter_nci_method
-
-This function is being renamed to register_nci_method. The original name was
-confusing (see #40801).
-
-=back
+Currently no C APIs are deprecated.
 
 =head1 Deprecated methods
 

Modified: trunk/include/parrot/interpreter.h
==============================================================================
--- trunk/include/parrot/interpreter.h  (original)
+++ trunk/include/parrot/interpreter.h  Fri Jun  1 14:26:55 2007
@@ -541,8 +541,6 @@
 
 void clone_interpreter(Parrot_Interp dest, Parrot_Interp self, INTVAL flags);
 
-PARROT_API void enter_nci_method(Interp *, const int type,
-                void *func, const char *name, const char *proto);
 PARROT_API void register_nci_method(Interp *, const int type,
                 void *func, const char *name, const char *proto);
 PARROT_API void register_raw_nci_method_in_ns(Parrot_Interp interp, const int 
type,

Modified: trunk/src/inter_misc.c
==============================================================================
--- trunk/src/inter_misc.c      (original)
+++ trunk/src/inter_misc.c      Fri Jun  1 14:26:55 2007
@@ -1,14 +1,14 @@
 /*
-Copyright (C) 2001-2006, The Perl Foundation.
+Copyright (C) 2001-2007, The Perl Foundation.
 $Id$
 
 =head1 NAME
 
-src/inter_misc.c - Parrot Interpreter - Misc functions
+src/inter_misc.c - Parrot Interpreter miscellaneous functions
 
 =head1 DESCRIPTION
 
-NCI function setup, C<interpinfo>, and C<sysinfo> opcodes.
+NCI function setup, compiler registration, C<interpinfo>, and C<sysinfo> 
opcodes.
 
 =head2 Functions
 
@@ -38,13 +38,6 @@
 void Parrot_NCI_nci_make_raw_nci(Interp *interp, PMC *method, void *func);
 
 void
-enter_nci_method(Parrot_Interp interp, const int type, void *func,
-                const char *name, const char *proto)
-{
-    register_nci_method(interp, type, func, name, proto);
-}
-
-void
 register_nci_method(Parrot_Interp interp, const int type, void *func,
                     const char *name, const char *proto)
 {
@@ -127,7 +120,7 @@
     }
     nci = pmc_new(interp, enum_class_Compiler);
     VTABLE_set_pmc_keyed_str(interp, hash, type, nci);
-    /* build native call interface fir the C sub in "func" */
+    /* build native call interface for the C sub in "func" */
     sc = CONST_STRING(interp, "PJt");
     VTABLE_set_pointer_keyed_str(interp, nci, sc, (void*)func);
 }

Reply via email to