flow.h|c/Zaiband stabilized

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zaimoni
    Knight
    • Apr 2007
    • 590

    flow.h|c/Zaiband stabilized

    Well, that was embarrassing. Cf. Mercurial for the working version.

    Code:
    #define WRAPQUEUE_LEN 4*254+1
    
    ....
    
    trailing_edge = (trailing_edge+1)%WRAPQUEUE_LEN;
    The macro is not compliant with the intended coding standard here; WRAPQUEUE_LEN is supposed to be a primary expression i.e. wrapped in parentheses. In this case, the actual effect is ugly: instead of doing a modulo 4*254+1 increment, we update to an index with uinitialized data. Oops.
    Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
    Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
    Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎