Changeset 24 for branches/with_autoconf/src/sc_signal.h
- Timestamp:
- Apr 18, 2009, 4:36:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/with_autoconf/src/sc_signal.h
r20 r24 82 82 size_t size = (sizeof (T)-1) / sizeof (base_type); 83 83 size_t i = 0; 84 const base_type *pvalue = (const base_type*)( &value_);84 const base_type *pvalue = (const base_type*)(void*)(&value_); 85 85 do { 86 86 #if 0 … … 96 96 if (sizeof (T) > sizeof (base_type)) { 97 97 #if 0 98 cout << "sizeof (T) = " << sizeof (T) << " (base_type = " << sizeof99 (base_type) << "\n";98 std::cout << "sizeof (T) = " << sizeof (T) 99 << " (base_type = " << sizeof (base_type) << "\n"; 100 100 #endif 101 101 post_multiwrite (pointer_,value_); … … 171 171 typedef T data_type; 172 172 typedef sc_signal < T > this_type; 173 173 174 /////////// 174 175 // Internal 175 176 public: void init (); 176 177 /////////// 178 177 179 // virtual void update (); 178 180 void check_writer ();
Note: See TracChangeset
for help on using the changeset viewer.