Changeset 46 for trunk/luigi/signalobj.d
- Timestamp:
- 02/16/07 22:09:34 (2 years ago)
- Files:
-
- trunk/luigi/signalobj.d (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/luigi/signalobj.d
r23 r46 125 125 * be implicitly converted at runtime is allowed. 126 126 * 127 * So for example, the (int, char[]) FlexSig al can be connected to a127 * So for example, the (int, char[]) FlexSignal can be connected to a 128 128 * method taking a (double,char[]) because int is automatically 129 129 * promoted to double. … … 187 187 void disconnect(DT)(DT f) { 188 188 static if( is(DT==slot_t) ) { 189 s.disconnect _exact(f);189 s.disconnect(f); 190 190 } 191 191 else { … … 200 200 201 201 if (f_key in thunkMap) { 202 s.disconnect _exact(thunkMap[f_key]);202 s.disconnect(thunkMap[f_key]); 203 203 } else { 204 204 debug writefln("FlexSignal.fdisconnect: Slot not found"); … … 362 362 363 363 auto sig1 = new SignalObj!(int); 364 sig1.connect _exact(&s1.slot1);365 //sig1.connect _exact(&s1.slot0); // error mismatch364 sig1.connect(&s1.slot1); 365 //sig1.connect(&s1.slot0); // error mismatch 366 366 367 367 writefln(">>> SignalObject EMIT"); … … 435 435 //---------------------------------------------------------------------------- 436 436 // needed to run tests 437 //void main(){} 438 437 version (unittestmain) { 438 void main(){} 439 } 440
