[svn:parrot] r45263 - in trunk: include/parrot src/gc src/pmc
petdance at svn.parrot.org
petdance at svn.parrot.org
Mon Mar 29 03:21:40 UTC 2010
Author: petdance
Date: Mon Mar 29 03:21:39 2010
New Revision: 45263
URL: https://trac.parrot.org/parrot/changeset/45263
Log:
updated headerization
Modified:
trunk/include/parrot/pmc.h
trunk/src/gc/alloc_resources.c
trunk/src/pmc/default.pmc
Modified: trunk/include/parrot/pmc.h
==============================================================================
--- trunk/include/parrot/pmc.h Mon Mar 29 02:14:30 2010 (r45262)
+++ trunk/include/parrot/pmc.h Mon Mar 29 03:21:39 2010 (r45263)
@@ -148,9 +148,7 @@
PMC * Parrot_pmc_new_temporary(PARROT_INTERP, INTVAL base_type)
__attribute__nonnull__(1);
-INTVAL Parrot_pmc_type_does(PARROT_INTERP,
- ARGIN(STRING *method),
- INTVAL type)
+INTVAL Parrot_pmc_type_does(PARROT_INTERP, ARGIN(STRING *role), INTVAL type)
__attribute__nonnull__(1)
__attribute__nonnull__(2);
@@ -211,7 +209,7 @@
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_Parrot_pmc_type_does __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
- , PARROT_ASSERT_ARG(method))
+ , PARROT_ASSERT_ARG(role))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: src/pmc.c */
Modified: trunk/src/gc/alloc_resources.c
==============================================================================
--- trunk/src/gc/alloc_resources.c Mon Mar 29 02:14:30 2010 (r45262)
+++ trunk/src/gc/alloc_resources.c Mon Mar 29 03:21:39 2010 (r45263)
@@ -94,6 +94,8 @@
FUNC_MODIFIES(*new_block);
static void free_pool(ARGFREE(Fixed_Size_Pool *pool));
+PARROT_WARN_UNUSED_RESULT
+PARROT_CANNOT_RETURN_NULL
static char * move_one_buffer(PARROT_INTERP,
ARGMOD(Buffer *old_buf),
ARGMOD(char *new_pool_ptr))
@@ -584,10 +586,10 @@
*/
+PARROT_WARN_UNUSED_RESULT
+PARROT_CANNOT_RETURN_NULL
static char *
-move_one_buffer(PARROT_INTERP,
- ARGMOD(Buffer *old_buf),
- ARGMOD(char *new_pool_ptr))
+move_one_buffer(PARROT_INTERP, ARGMOD(Buffer *old_buf), ARGMOD(char *new_pool_ptr))
{
ASSERT_ARGS(move_one_buffer)
/* ! (on_free_list | constant | external | sysmem) */
Modified: trunk/src/pmc/default.pmc
==============================================================================
--- trunk/src/pmc/default.pmc Mon Mar 29 02:14:30 2010 (r45262)
+++ trunk/src/pmc/default.pmc Mon Mar 29 03:21:39 2010 (r45263)
@@ -56,13 +56,6 @@
__attribute__nonnull__(4)
FUNC_MODIFIES(*pmc);
-static INTVAL does_isa(PARROT_INTERP,
- ARGIN(const STRING *method),
- ARGIN(const STRING *what))
- __attribute__nonnull__(1)
- __attribute__nonnull__(2)
- __attribute__nonnull__(3);
-
static INTVAL has_pending_std_props(ARGIN(const PMC *self))
__attribute__nonnull__(1);
@@ -77,10 +70,6 @@
, PARROT_ASSERT_ARG(pmc) \
, PARROT_ASSERT_ARG(key) \
, PARROT_ASSERT_ARG(value))
-#define ASSERT_ARGS_does_isa __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
- PARROT_ASSERT_ARG(interp) \
- , PARROT_ASSERT_ARG(method) \
- , PARROT_ASSERT_ARG(what))
#define ASSERT_ARGS_has_pending_std_props __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(self))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
More information about the parrot-commits
mailing list