equal
deleted
inserted
replaced
2272 usedValues |
2272 usedValues |
2273 "return a new ByteArray with all used values (actually a kind of Set); |
2273 "return a new ByteArray with all used values (actually a kind of Set); |
2274 This is needed specially in the bitmap/Imageclasses to find used colors |
2274 This is needed specially in the bitmap/Imageclasses to find used colors |
2275 of an image." |
2275 of an image." |
2276 |
2276 |
2277 |result| |
|
2278 |
|
2279 %{ /* STACK: 400 */ |
2277 %{ /* STACK: 400 */ |
2280 |
2278 |
2281 REGISTER unsigned char *cp; |
2279 REGISTER unsigned char *cp; |
2282 unsigned char *endp; |
2280 unsigned char *endp; |
2283 REGISTER int len; |
2281 REGISTER int len; |
|
2282 OBJ result; |
2284 union { |
2283 union { |
2285 unsigned char flags[256]; |
2284 unsigned char flags[256]; |
2286 int toForceAlignmentOfFlags; |
2285 int toForceAlignmentOfFlags; |
2287 } f; |
2286 } f; |
2288 |
2287 |
2348 ! ! |
2347 ! ! |
2349 |
2348 |
2350 !ByteArray class methodsFor:'documentation'! |
2349 !ByteArray class methodsFor:'documentation'! |
2351 |
2350 |
2352 version |
2351 version |
2353 ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.83 1997-08-19 17:05:04 cg Exp $' |
2352 ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.84 1997-08-22 17:56:29 cg Exp $' |
2354 ! ! |
2353 ! ! |