[svn:parrot] r47858 - branches/dynop_mapping/src/pmc
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Sat Jun 26 07:22:54 UTC 2010
Author: plobsing
Date: Sat Jun 26 07:22:54 2010
New Revision: 47858
URL: https://trac.parrot.org/parrot/changeset/47858
Log:
too many levels of pointer indirection
Modified:
branches/dynop_mapping/src/pmc/oplib.pmc
Modified: branches/dynop_mapping/src/pmc/oplib.pmc
==============================================================================
--- branches/dynop_mapping/src/pmc/oplib.pmc Sat Jun 26 07:05:28 2010 (r47857)
+++ branches/dynop_mapping/src/pmc/oplib.pmc Sat Jun 26 07:22:54 2010 (r47858)
@@ -107,11 +107,11 @@
{
char * const sname = Parrot_str_to_cstring(INTERP, shortname);
const op_lib_t * const op_lib = INTERP->op_lib;
- const op_info_t ** const table = op_lib->op_info_table;
+ const op_info_t * const table = op_lib->op_info_table;
PMC *result = PMCNULL;
UINTVAL i;
for (i = 0; i < op_lib->op_count; ++i) {
- if (strcmp(table[i]->name, sname) == 0) {
+ if (strcmp(table[i].name, sname) == 0) {
if (PMC_IS_NULL(result))
result = Parrot_pmc_new(INTERP, enum_class_ResizablePMCArray);
VTABLE_push_pmc(INTERP, result, SELF.get_pmc_keyed_int(i));
More information about the parrot-commits
mailing list