[svn:parrot] r48507 - trunk/src/pmc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Sun Aug 15 05:43:56 UTC 2010


Author: mikehh
Date: Sun Aug 15 05:43:56 2010
New Revision: 48507
URL: https://trac.parrot.org/parrot/changeset/48507

Log:
add documentation to pass pmc_docs.t

Modified:
   trunk/src/pmc/integer.pmc

Modified: trunk/src/pmc/integer.pmc
==============================================================================
--- trunk/src/pmc/integer.pmc	Sun Aug 15 05:24:10 2010	(r48506)
+++ trunk/src/pmc/integer.pmc	Sun Aug 15 05:43:56 2010	(r48507)
@@ -43,6 +43,18 @@
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 /* HEADERIZER END: static */
 
+/*
+
+=item C<static void maybe_throw_overflow_error(PARROT_INTERP)>
+
+Checks to see if the interpreter is set to throw an exception on overflow.
+
+If so, throw the exception, otherwise ignore.
+
+=cut
+
+*/
+
 static void
 maybe_throw_overflow_error(PARROT_INTERP)
 {
@@ -56,6 +68,16 @@
             "Integer overflow");
 }
 
+/*
+
+=item C<static PMC* upgrade_self_to_bignum(PARROT_INTERP, PMC *self)>
+
+Returns a pointer of *self upgraded to a bignum
+
+=cut
+
+*/
+
 PARROT_IGNORABLE_RESULT
 PARROT_CANNOT_RETURN_NULL
 static PMC*


More information about the parrot-commits mailing list