- Timestamp:
- Jul 9, 2007, 11:04:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_find_interface.cpp
r42 r43 11 11 namespace behavioural { 12 12 13 #undef FUNCTION 14 #define FUNCTION "Interfaces::find_interface" 13 15 Interface_fifo * Interfaces::find_interface (string name) 14 16 { 17 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 18 19 Interface_fifo * _return = NULL; 15 20 if (_list_interface->empty()== false) 16 21 { … … 20 25 { 21 26 if ((*i)->get_name() == name) 22 return (*i); 27 { 28 _return = (*i); 29 break; 30 } 23 31 ++i; 24 32 } 25 33 } 26 27 return NULL; 34 35 log_printf(FUNC,Behavioural,FUNCTION,"End"); 36 37 return _return; 28 38 }; 29 39
Note: See TracChangeset
for help on using the changeset viewer.