[svn:parrot] r38619 - in branches/gc_api: . config/gen include/parrot src/gc src/string

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Fri May 8 23:25:45 UTC 2009


Author: whiteknight
Date: Fri May  8 23:25:44 2009
New Revision: 38619
URL: https://trac.parrot.org/parrot/changeset/38619

Log:
[gc_api] kill resources.h. public-facing functions go into the api, private ones go into gc_private.h

Deleted:
   branches/gc_api/include/parrot/resources.h
Modified:
   branches/gc_api/MANIFEST
   branches/gc_api/config/gen/parrot_include.pm
   branches/gc_api/include/parrot/parrot.h
   branches/gc_api/src/gc/res_lea.c
   branches/gc_api/src/gc/resources.c
   branches/gc_api/src/string/api.c

Modified: branches/gc_api/MANIFEST
==============================================================================
--- branches/gc_api/MANIFEST	Fri May  8 23:05:43 2009	(r38618)
+++ branches/gc_api/MANIFEST	Fri May  8 23:25:44 2009	(r38619)
@@ -980,7 +980,6 @@
 include/parrot/pmc_freeze.h                                 [main]include
 include/parrot/pobj.h                                       [main]include
 include/parrot/register.h                                   [main]include
-include/parrot/resources.h                                  [main]include
 include/parrot/runcore_api.h                                [main]include
 include/parrot/runcore_trace.h                              [main]include
 include/parrot/scheduler.h                                  [main]include

Modified: branches/gc_api/config/gen/parrot_include.pm
==============================================================================
--- branches/gc_api/config/gen/parrot_include.pm	Fri May  8 23:05:43 2009	(r38618)
+++ branches/gc_api/config/gen/parrot_include.pm	Fri May  8 23:25:44 2009	(r38619)
@@ -38,11 +38,11 @@
         include/parrot/longopt.h
         include/parrot/multidispatch.h
         include/parrot/packfile.h
-        include/parrot/resources.h
         include/parrot/stat.h
         include/parrot/string.h
         include/parrot/pmc.h
         include/parrot/warnings.h
+        include/parrot/gc_api.h
         src/pmc/timer.pmc
         src/utils.c
     ) ];

Modified: branches/gc_api/include/parrot/parrot.h
==============================================================================
--- branches/gc_api/include/parrot/parrot.h	Fri May  8 23:05:43 2009	(r38618)
+++ branches/gc_api/include/parrot/parrot.h	Fri May  8 23:25:44 2009	(r38619)
@@ -284,7 +284,6 @@
 #include "parrot/events.h"
 #include "parrot/gc_api.h"
 #include "parrot/gc_mark_sweep.h"
-#include "parrot/resources.h"
 #include "parrot/string_funcs.h"
 #include "parrot/misc.h"
 #include "parrot/sub.h"

Deleted: branches/gc_api/include/parrot/resources.h
==============================================================================
--- branches/gc_api/include/parrot/resources.h	Fri May  8 23:25:44 2009	(r38618)
+++ /dev/null	00:00:00 1970	(deleted)
@@ -1,26 +0,0 @@
-/* resources.h
- *  Copyright (C) 2001-2007, Parrot Foundation.
- *  SVN Info
- *     $Id$
- *  Overview:
- *     Defines the resource allocation API
- *  Data Structure and Algorithms:
- *  History:
- *  Notes:
- *  References:
- */
-
-#ifndef PARROT_RESOURCES_H_GUARD
-#define PARROT_RESOURCES_H_GUARD
-
-#include "parrot/parrot.h"
-
-
-#endif /* PARROT_RESOURCES_H_GUARD */
-
-/*
- * Local variables:
- *   c-file-style: "parrot"
- * End:
- * vim: expandtab shiftwidth=4:
- */

Modified: branches/gc_api/src/gc/res_lea.c
==============================================================================
--- branches/gc_api/src/gc/res_lea.c	Fri May  8 23:05:43 2009	(r38618)
+++ branches/gc_api/src/gc/res_lea.c	Fri May  8 23:25:44 2009	(r38619)
@@ -288,7 +288,7 @@
 
 =head1 SEE ALSO
 
-F<config/auto/gc.pl>, F<src/malloc.c>, F<include/parrot/resources.h>.
+F<config/auto/gc.pl>, F<src/malloc.c>
 
 =cut
 

Modified: branches/gc_api/src/gc/resources.c
==============================================================================
--- branches/gc_api/src/gc/resources.c	Fri May  8 23:05:43 2009	(r38618)
+++ branches/gc_api/src/gc/resources.c	Fri May  8 23:25:44 2009	(r38619)
@@ -811,7 +811,7 @@
 
 =head1 SEE ALSO
 
-F<include/parrot/resources.h>, F<src/gc/memory.c>.
+F<src/gc/memory.c>.
 
 =head1 HISTORY
 

Modified: branches/gc_api/src/string/api.c
==============================================================================
--- branches/gc_api/src/string/api.c	Fri May  8 23:05:43 2009	(r38618)
+++ branches/gc_api/src/string/api.c	Fri May  8 23:25:44 2009	(r38619)
@@ -27,7 +27,6 @@
 #include "parrot/compiler.h"
 #include "parrot/string_funcs.h"
 #include "private_cstring.h"
-#include "parrot/resources.h"
 
 #define nonnull_encoding_name(s) (s) ? (s)->encoding->name : "null string"
 #define saneify_string(s) \


More information about the parrot-commits mailing list