Changeset 1512 for trunk


Ignore:
Timestamp:
Oct 4, 2011, 4:13:23 PM (8 years ago)
Author:
ksherdy
Message:

Prefer typedef over #define.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/idisa.hpp

    r1502 r1512  
    1717#if (BLOCKSIZE == 128)
    1818#include "idisa128.hpp"
    19 #define BitBlock bitblock128_t
     19typedef BitBlock bitblock128_t;
    2020#endif
    2121
     
    2424#if (BLOCKSIZE == 256)
    2525#include "idisa256.hpp"
    26 #define BitBlock bitblock256_t
     26typedef BitBlock bitblock256_t;
    2727#endif
    2828
    2929#endif
    3030
     31
Note: See TracChangeset for help on using the changeset viewer.