jpeg plugin problems

Raab, Andreas Andreas.Raab at disney.com
Thu Jun 8 21:38:32 UTC 2000


Mark,

I think at least one problem is here:

> > self var: #qTable declareC: 'int **qTable'.

If the qTable is (Array of: (Array of: Integer)) then the above is just
wrong. It's not an 'int **' but something completely different. To access an
element in an (Array of: (Array of: Integer)) you'd have to:

	innerArrayOop := interpreterProxy stObject: outerArrayOop at:
outerIndex. "1-based"
	arrayElementOop := interpreterProxy stObject: innerArrayOop at:
innerIndex. "1-based"
	arrayElement := interpreterProxy integerValueOf: arrayElementOop.

  - Andreas





More information about the Squeak-dev mailing list