[svn:parrot] r44280 - trunk/src/pmc
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Sun Feb 21 19:41:38 UTC 2010
Author: whiteknight
Date: Sun Feb 21 19:41:37 2010
New Revision: 44280
URL: https://trac.parrot.org/parrot/changeset/44280
Log:
[cage] add some whitespace in PMCProxy to be more like other PMC sources
Modified:
trunk/src/pmc/pmcproxy.pmc
Modified: trunk/src/pmc/pmcproxy.pmc
==============================================================================
--- trunk/src/pmc/pmcproxy.pmc Sun Feb 21 19:41:12 2010 (r44279)
+++ trunk/src/pmc/pmcproxy.pmc Sun Feb 21 19:41:37 2010 (r44280)
@@ -266,6 +266,7 @@
return 0;
}
+
/*
=item C<INTVAL isa(STRING *classname)>
@@ -382,6 +383,7 @@
=cut
*/
+
METHOD name() {
Parrot_Class_attributes * const _pmc = PARROT_CLASS(SELF);
STRING * const ret_name = _pmc->name;
@@ -397,6 +399,7 @@
=cut
*/
+
METHOD get_namespace() {
Parrot_Class_attributes * const _pmc = PARROT_CLASS(SELF);
PMC * const ret_namespace = _pmc->_namespace;
@@ -412,6 +415,7 @@
=cut
*/
+
METHOD new(PMC *args :optional, int got_args :opt_flag) {
PMC * const obj = VTABLE_instantiate(interp, SELF, args);
UNUSED(got_args);
@@ -427,6 +431,7 @@
=cut
*/
+
METHOD methods() {
PMC * const ret_methods = VTABLE_inspect_str(interp, SELF, CONST_STRING(interp, "methods"));
RETURN(PMC *ret_methods);
@@ -441,6 +446,7 @@
=cut
*/
+
METHOD parents() {
PMC * const ret_parents = VTABLE_inspect_str(interp, SELF, CONST_STRING(interp, "parents"));
RETURN(PMC *ret_parents);
@@ -456,6 +462,7 @@
=cut
*/
+
METHOD inspect(STRING *what :optional, int got_what :opt_flag) {
/* Just delegate to the appropriate vtable method. */
PMC * const found =
More information about the parrot-commits
mailing list