Permalink
Browse files

add a numval nci argument translation entry

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_nci@49744 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent e99b7f8 commit b432456ac061b472361ebd618d1a4fb270a94b83 @plobsing plobsing committed Oct 31, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/pmc/nci.pmc
View
@@ -569,7 +569,10 @@ class, the PMC arguments are shifted down.
*((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;
}
}

0 comments on commit b432456

Please sign in to comment.