[svn:parrot] r36759 - branches/rename_pccinvoke/src/io
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Sun Feb 15 13:32:15 UTC 2009
Author: whiteknight
Date: Sun Feb 15 13:32:14 2009
New Revision: 36759
URL: https://trac.parrot.org/parrot/changeset/36759
Log:
[rename_pccinvoke] update the Parrot_PCCINVOKE calls in src/io/api.c that don't use string or PMC args or results. All tests pass here
Modified:
branches/rename_pccinvoke/src/io/api.c
Modified: branches/rename_pccinvoke/src/io/api.c
==============================================================================
--- branches/rename_pccinvoke/src/io/api.c Sun Feb 15 12:42:38 2009 (r36758)
+++ branches/rename_pccinvoke/src/io/api.c Sun Feb 15 13:32:14 2009 (r36759)
@@ -187,7 +187,7 @@
if (PMC_IS_NULL(pmc))
return -1;
- Parrot_PCCINVOKE(interp, pmc, CONST_STRING(interp, "close"), "->I", &result);
+ Parrot_pcc_invoke_method_from_c_args(interp, pmc, CONST_STRING(interp, "close"), "->I", &result);
return result;
}
@@ -212,7 +212,7 @@
if (PMC_IS_NULL(pmc))
return 1;
- Parrot_PCCINVOKE(interp, pmc, CONST_STRING(interp, "is_closed"), "->I", &result);
+ Parrot_pcc_invoke_method_from_c_args(interp, pmc, CONST_STRING(interp, "is_closed"), "->I", &result);
return result;
}
@@ -234,7 +234,7 @@
if (PMC_IS_NULL(pmc))
return;
- Parrot_PCCINVOKE(interp, pmc, CONST_STRING(interp, "flush"), "->");
+ Parrot_pcc_invoke_method_from_c_args(interp, pmc, CONST_STRING(interp, "flush"), "->");
}
/*
@@ -411,7 +411,7 @@
if (PMC_IS_NULL(pmc))
return 1;
- Parrot_PCCINVOKE(interp, pmc, CONST_STRING(interp, "eof"), "->I",
+ Parrot_pcc_invoke_method_from_c_args(interp, pmc, CONST_STRING(interp, "eof"), "->I",
&result);
return result;
More information about the parrot-commits
mailing list