]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - minibidi.h
Further clarity and speed cleanups of minibidi:
authorSimon Tatham <anakin@pobox.com>
Wed, 8 Dec 2004 19:07:05 +0000 (19:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 8 Dec 2004 19:07:05 +0000 (19:07 +0000)
commit45534b2a5f531e987df3059a827b4c94c2cfc587
tree40a5ffec932fcc0f3831c00df0f08219949607e0
parent73231eeb54c99913a044bae444ec5be2461c6dda
Further clarity and speed cleanups of minibidi:
 - rewrote the reversal loop in flipThisRun to be considerably clearer
 - rewrote leastGreaterOdd and leastGreaterEven as bit-twiddling macros
 - replaced malloc/free with snewn/sfree
 - lost some gratuitous repeat calls of getType on the same character
And most noticeably:
 - got rid of minibidi.h, since it was entirely full of minibidi.c
   internals (including constant data definitions!) and wasn't used
   to provide an external interface at all. Everything in it has
   been folded into minibidi.c.

[originally from svn r4963]
minibidi.c
minibidi.h [deleted file]