[svn:parrot] r49426 - in trunk: include/parrot src src/gc
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Sun Oct 3 00:46:35 UTC 2010
Author: mikehh
Date: Sun Oct 3 00:46:35 2010
New Revision: 49426
URL: https://trac.parrot.org/parrot/changeset/49426
Log:
ran make headerizer, added missing PARROT_CAN_RETURN_NULL
re-ran make headerizer - test ok
Modified:
trunk/include/parrot/list.h
trunk/include/parrot/memory.h
trunk/src/gc/gc_inf.c
trunk/src/gc/gc_ms.c
trunk/src/gc/gc_ms2.c
trunk/src/list.c
Modified: trunk/include/parrot/list.h
==============================================================================
--- trunk/include/parrot/list.h Sat Oct 2 23:59:42 2010 (r49425)
+++ trunk/include/parrot/list.h Sun Oct 3 00:46:35 2010 (r49426)
@@ -126,11 +126,13 @@
struct Linked_List* Parrot_list_new(SHIM_INTERP);
PARROT_EXPORT
+PARROT_CAN_RETURN_NULL
List_Item_Header* Parrot_list_pop(PARROT_INTERP, ARGIN(Linked_List *list))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
PARROT_EXPORT
+PARROT_CAN_RETURN_NULL
List_Item_Header* Parrot_list_remove(SHIM_INTERP,
ARGMOD(Linked_List *list),
ARGMOD(List_Item_Header *item))
Modified: trunk/include/parrot/memory.h
==============================================================================
--- trunk/include/parrot/memory.h Sat Oct 2 23:59:42 2010 (r49425)
+++ trunk/include/parrot/memory.h Sun Oct 3 00:46:35 2010 (r49426)
@@ -76,7 +76,7 @@
PARROT_EXPORT
PARROT_MALLOC
-PARROT_CANNOT_RETURN_NULL
+PARROT_CAN_RETURN_NULL
void * mem_sys_allocate(size_t size);
PARROT_EXPORT
@@ -94,7 +94,7 @@
PARROT_EXPORT
PARROT_MALLOC
-PARROT_CANNOT_RETURN_NULL
+PARROT_CAN_RETURN_NULL
void * mem_sys_realloc_zeroed(
ARGFREE(void *from),
size_t size,
Modified: trunk/src/gc/gc_inf.c
==============================================================================
--- trunk/src/gc/gc_inf.c Sat Oct 2 23:59:42 2010 (r49425)
+++ trunk/src/gc/gc_inf.c Sun Oct 3 00:46:35 2010 (r49426)
@@ -57,7 +57,7 @@
static void* gc_inf_allocate_fixed_size_storage(SHIM_INTERP, size_t size);
PARROT_MALLOC
-PARROT_CANNOT_RETURN_NULL
+PARROT_CAN_RETURN_NULL
static void * gc_inf_allocate_memory_chunk(SHIM_INTERP, size_t size);
PARROT_MALLOC
Modified: trunk/src/gc/gc_ms.c
==============================================================================
--- trunk/src/gc/gc_ms.c Sat Oct 2 23:59:42 2010 (r49425)
+++ trunk/src/gc/gc_ms.c Sun Oct 3 00:46:35 2010 (r49426)
@@ -69,7 +69,7 @@
__attribute__nonnull__(1);
PARROT_MALLOC
-PARROT_CANNOT_RETURN_NULL
+PARROT_CAN_RETURN_NULL
static void * gc_ms_allocate_memory_chunk(SHIM_INTERP, size_t size);
PARROT_MALLOC
Modified: trunk/src/gc/gc_ms2.c
==============================================================================
--- trunk/src/gc/gc_ms2.c Sat Oct 2 23:59:42 2010 (r49425)
+++ trunk/src/gc/gc_ms2.c Sun Oct 3 00:46:35 2010 (r49426)
@@ -80,7 +80,7 @@
__attribute__nonnull__(1);
PARROT_MALLOC
-PARROT_CANNOT_RETURN_NULL
+PARROT_CAN_RETURN_NULL
static void * gc_ms2_allocate_memory_chunk(SHIM_INTERP, size_t size);
PARROT_MALLOC
Modified: trunk/src/list.c
==============================================================================
--- trunk/src/list.c Sat Oct 2 23:59:42 2010 (r49425)
+++ trunk/src/list.c Sun Oct 3 00:46:35 2010 (r49426)
@@ -114,6 +114,7 @@
*/
PARROT_EXPORT
+PARROT_CAN_RETURN_NULL
List_Item_Header*
Parrot_list_remove(SHIM_INTERP, ARGMOD(Linked_List *list), ARGMOD(List_Item_Header *item))
{
@@ -151,6 +152,7 @@
*/
PARROT_EXPORT
+PARROT_CAN_RETURN_NULL
List_Item_Header*
Parrot_list_pop(PARROT_INTERP, ARGIN(Linked_List *list))
{
More information about the parrot-commits
mailing list