Permalink
Browse files

update cell.m to use the new parrot primitives instead of inline PIR

  • Loading branch information...
1 parent c58eecd commit 917080193a6a56227de9d4837563dbc580d7bb09 @Whiteknight committed Dec 8, 2009
Showing with 2 additions and 7 deletions.
  1. +2 −7 toolbox/cell.m
View
9 toolbox/cell.m
@@ -5,11 +5,6 @@
if nargin == 1
x = y;
end
- c = pir([".sub cell_helper"
- " .param int y"
- " .param int x"
- " $P0 = new ['PMCMatrix2D']"
- " $P0.'resize'(y, x)"
- " .return($P0)"
- ".end"], y, x);
+ c = parrot_new('PMCMatrix2D');
+ parrot_method(c, "resize", y, x);
endfunction

0 comments on commit 9170801

Please sign in to comment.