[svn:parrot] r40390 - trunk/src/gc
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Sun Aug 2 18:19:34 UTC 2009
Author: jkeenan
Date: Sun Aug 2 18:19:33 2009
New Revision: 40390
URL: https://trac.parrot.org/parrot/changeset/40390
Log:
[codingstd] Adjust documentation so that all functions pass c_functions test.
Modified:
trunk/src/gc/api.c
Modified: trunk/src/gc/api.c
==============================================================================
--- trunk/src/gc/api.c Sun Aug 2 16:14:45 2009 (r40389)
+++ trunk/src/gc/api.c Sun Aug 2 18:19:33 2009 (r40390)
@@ -1664,9 +1664,6 @@
=item C<void * Parrot_gc_allocate_pmc_attributes(PARROT_INTERP, PMC *pmc, size_t
size)>
-=item C<void Parrot_gc_free_pmc_attributes(PARROT_INTERP, PMC *pmc, size_t
-item_size)>
-
EXPERIMENTAL!!!
Allocation and deallocation function for PMC Attribute structures.
@@ -1693,6 +1690,15 @@
return attrs;
}
+/*
+
+=item C<void Parrot_gc_free_pmc_attributes(PARROT_INTERP, PMC *pmc, size_t
+item_size)>
+
+EXPERIMENTAL!!! See above.
+
+*/
+
void
Parrot_gc_free_pmc_attributes(PARROT_INTERP, ARGMOD(PMC *pmc), size_t item_size)
{
@@ -1707,6 +1713,15 @@
}
}
+/*
+
+=item C<void * Parrot_gc_allocate_fixed_size_storage(PARROT_INTERP, size_t
+size)>
+
+EXPERIMENTAL!!! See above.
+
+*/
+
PARROT_CANNOT_RETURN_NULL
void *
Parrot_gc_allocate_fixed_size_storage(PARROT_INTERP, size_t size)
@@ -1717,6 +1732,15 @@
return Parrot_gc_get_attributes_from_pool(interp, pool);
}
+/*
+
+=item C<void Parrot_gc_free_fixed_size_storage(PARROT_INTERP, size_t size, void
+* data)>
+
+EXPERIMENTAL!!! See above.
+
+*/
+
void
Parrot_gc_free_fixed_size_storage(PARROT_INTERP, size_t size, ARGMOD(void * data))
{
@@ -1725,6 +1749,7 @@
size);
Parrot_gc_free_attributes_from_pool(interp, pool, data);
}
+
/*
=back
More information about the parrot-commits
mailing list