VM crash
tim Rowledge
tim at rowledge.org
Sun Jun 4 23:09:00 UTC 2006
On 4-Jun-06, at 3:48 PM, Klaus D. Witzel wrote:
>
> Sure. But interpreterProxy->popthenPush(2, data); is not the
> converse of
>
> data = ((float *) (interpreterProxy->arrayValueOf(interpreterProxy-
> >stackValue(0))));
>
> , simply because data is not an oop.
D'oh! Of course. Bob, lose the last line of
test: data
self export: true.
self primitive: 'test'
parameters:#(FloatArray).
(self cCode: 'process_test(data)').
^data.
- you don't need to return anything anyway since you are filling in
the array you pass in and as Klaus quite rightly points out it is
returning completely the wrong thing.
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
After a number of decimal places, nobody gives a damn.
More information about the Squeak-dev
mailing list
|