[svn:parrot] r49744 - branches/gsoc_nci/src/pmc

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun Oct 31 01:55:10 UTC 2010


Author: plobsing
Date: Sun Oct 31 01:55:10 2010
New Revision: 49744
URL: https://trac.parrot.org/parrot/changeset/49744

Log:
add a numval nci argument translation entry

Modified:
   branches/gsoc_nci/src/pmc/nci.pmc

Modified: branches/gsoc_nci/src/pmc/nci.pmc
==============================================================================
--- branches/gsoc_nci/src/pmc/nci.pmc	Sun Oct 31 01:25:44 2010	(r49743)
+++ branches/gsoc_nci/src/pmc/nci.pmc	Sun Oct 31 01:55:10 2010	(r49744)
@@ -569,7 +569,10 @@
                     *((double**)translation_pointers)[i] = *(FLOATVAL*)pcc_val[i - j_offset];
                     values[i] = translation_pointers[i];
                     break;
-                  default:
+                  case enum_nci_sig_numval:
+                    translation_pointers[i] = mem_internal_allocate_zeroed_typed(FLOATVAL);
+                    *((FLOATVAL**)translation_pointers)[i] = *(FLOATVAL*)pcc_val[i - j_offset];
+                    values[i] = translation_pointers[i];
                     break;
                 }
             }


More information about the parrot-commits mailing list