[svn:parrot] r38355 - trunk/src

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sat Apr 25 20:40:19 UTC 2009


Author: whiteknight
Date: Sat Apr 25 20:40:18 2009
New Revision: 38355
URL: https://trac.parrot.org/parrot/changeset/38355

Log:
Remove some unhelpful comments from src/dynext.c. One is about the now-defunct struct val, and the other is just the string 'XXX'

Modified:
   trunk/src/dynext.c

Modified: trunk/src/dynext.c
==============================================================================
--- trunk/src/dynext.c	Sat Apr 25 19:53:50 2009	(r38354)
+++ trunk/src/dynext.c	Sat Apr 25 20:40:18 2009	(r38355)
@@ -172,7 +172,7 @@
             IGLOBALS_DYN_LIBS);
 
     /* remember path/file in props */
-    set_cstring_prop(interp, lib_pmc, "_filename", path);  /* XXX */
+    set_cstring_prop(interp, lib_pmc, "_filename", path);
     set_cstring_prop(interp, lib_pmc, "_type", type);
 
     if (lib_name)
@@ -183,7 +183,7 @@
 
 /*
 
-=item C<static PMC* is_loaded(PARROT_INTERP, STRING *path)>
+=item C<static PMC* is_loaded(PAROT_INTERP, STRING *path)>
 
 Check if a C<ParrotLibrary> PMC with the filename path exists.
 If it does, return it. Otherwise, return NULL.
@@ -423,9 +423,6 @@
     if (!load_func)
         type = CONST_STRING(interp, "NCI");
     else {
-        /* we could set a private flag in the PMC header too
-         * but currently only ops files have struct_val set */
-
         if (((Parrot_ParrotLibrary_attributes *)PMC_data(lib_pmc))->oplib_init)
             type = CONST_STRING(interp, "Ops");
         else


More information about the parrot-commits mailing list