[svn:parrot] r44370 - in trunk: include/parrot src/call

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Feb 23 07:05:34 UTC 2010


Author: bacek
Date: Tue Feb 23 07:05:33 2010
New Revision: 44370
URL: https://trac.parrot.org/parrot/changeset/44370

Log:
Made really_destroy_runllop_jumppoints static

Modified:
   trunk/include/parrot/call.h
   trunk/src/call/ops.c

Modified: trunk/include/parrot/call.h
==============================================================================
--- trunk/include/parrot/call.h	Tue Feb 23 07:05:03 2010	(r44369)
+++ trunk/include/parrot/call.h	Tue Feb 23 07:05:33 2010	(r44370)
@@ -139,10 +139,6 @@
 void destroy_runloop_jump_points(PARROT_INTERP)
         __attribute__nonnull__(1);
 
-void really_destroy_runloop_jump_points(PARROT_INTERP,
-    ARGFREE(Parrot_runloop *jump_point))
-        __attribute__nonnull__(1);
-
 void runops(PARROT_INTERP, size_t offs)
         __attribute__nonnull__(1);
 
@@ -152,9 +148,6 @@
        PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_destroy_runloop_jump_points __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp))
-#define ASSERT_ARGS_really_destroy_runloop_jump_points \
-     __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
-       PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_runops __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp))
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */

Modified: trunk/src/call/ops.c
==============================================================================
--- trunk/src/call/ops.c	Tue Feb 23 07:05:03 2010	(r44369)
+++ trunk/src/call/ops.c	Tue Feb 23 07:05:33 2010	(r44370)
@@ -31,6 +31,19 @@
 static int
 runloop_id_counter = 0;          /* for synthesizing runloop ids. */
 
+/* HEADERIZER BEGIN: static */
+/* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
+
+static void really_destroy_runloop_jump_points(PARROT_INTERP,
+    ARGFREE(Parrot_runloop *jump_point))
+        __attribute__nonnull__(1);
+
+#define ASSERT_ARGS_really_destroy_runloop_jump_points \
+     __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
+       PARROT_ASSERT_ARG(interp))
+/* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
+/* HEADERIZER END: static */
+
 /*
 
 =item C<void runops(PARROT_INTERP, size_t offs)>
@@ -190,8 +203,8 @@
 
 /*
 
-=item C<void really_destroy_runloop_jump_points(PARROT_INTERP, Parrot_runloop
-*jump_point)>
+=item C<static void really_destroy_runloop_jump_points(PARROT_INTERP,
+Parrot_runloop *jump_point)>
 
 Takes a pointer to a runloop jump point (which had better be the last one in
 the list). Walks back through the list, freeing the memory of each one, until
@@ -201,7 +214,7 @@
 
 */
 
-void
+static void
 really_destroy_runloop_jump_points(PARROT_INTERP,
         ARGFREE(Parrot_runloop *jump_point))
 {


More information about the parrot-commits mailing list