Changeset 2958


Ignore:
Timestamp:
Mar 23, 2013, 6:33:18 PM (4 years ago)
Author:
ksherdy
Message:

Added CarryDeclare? macro to carryQ library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/carryQ.hpp

    r2794 r2958  
    1212=============================================================================*/
    1313
     14#include <string.h>
    1415#include <stdint.h>
    1516#include <iostream>
     
    4344}
    4445
    45 
    46 #include <string.h>
    47 
     46template <uint16_t CarryCount, uint16_t AdvanceNCount> class CarryArray;
     47
     48#define CarryDeclare(name, carry1_count, carryN_count)\
     49CarryArray<carry1_count, carryN_count> name;
    4850
    4951// Array of BitBlock implementation.
Note: See TracChangeset for help on using the changeset viewer.