Differences From Artifact [be9beadf26]:
- File
src/OFDeflateStream.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 20161) [annotate] [blame] [check-ins using]
To Artifact [95db2a693c]:
- File
src/OFDeflateStream.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 20161) [annotate] [blame] [check-ins using]
︙ | |||
59 60 61 62 63 64 65 | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | - + | struct huffman_tree { struct huffman_tree *leafs[2]; uint16_t value; }; @interface OFDeflateStream () |
︙ | |||
322 323 324 325 326 327 328 | 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 | - + | releaseTree(_decompression->context.huffman.distTree); } [super dealloc]; } #endif |
︙ | |||
348 349 350 351 352 353 354 | 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 | - + | uint16_t bits, tmp; uint16_t value; size_t bytesWritten = 0; uint8_t *slidingWindow; uint16_t slidingWindowIndex; if (ivars == NULL) { |
︙ |