Changeset 59 for sources/src/sc_uint.h


Ignore:
Timestamp:
Feb 6, 2017, 11:35:42 AM (7 years ago)
Author:
meunier
Message:
  • Fixed memory leaks
  • Fixed indentation in some files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_uint.h

    r52 r59  
    2020#include <sc_bv.h>
    2121#include <cstdlib>
     22//#include <stdint.h>
    2223
    2324// ----------------------------------------------------------------------------
     
    7576};
    7677
    77 #define DECLAR_UINT_TYPE(W) template<> struct s_uint_type<W> { typedef smallest_uint uint_type; }// not declared as uint16 because << operator threats like a character
     78#define DECLAR_UINT_TYPE(W) template<> struct s_uint_type<W> { typedef smallest_uint uint_type; }// not declared as uint8 because << operator threats like a character
    7879DECLAR_UINT_TYPE(1);
    7980DECLAR_UINT_TYPE(2);
     
    280281    template <int W2>
    281282    inline sc_uint<W2> operator , (const sc_uint_subref_r & v) const {
    282         std::cerr << "Warning : \n"; // ??
    283283        return sc_uint<W2> (v.read());
    284284    }
Note: See TracChangeset for help on using the changeset viewer.