Ignore:
Timestamp:
Jul 9, 2007, 11:04:26 AM (17 years ago)
Author:
rosiere
Message:

Modif mineur : ajout d'info de débug

Release non stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Interfaces_find_interface.cpp

    r42 r43  
    1111namespace behavioural          {
    1212
     13#undef  FUNCTION
     14#define FUNCTION "Interfaces::find_interface"
    1315  Interface_fifo * Interfaces::find_interface (string name)
    1416  {
     17    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
     18
     19    Interface_fifo * _return = NULL;
    1520    if (_list_interface->empty()== false)
    1621      {
     
    2025          {
    2126            if ((*i)->get_name() == name)
    22               return (*i);
     27              {
     28                _return = (*i);
     29                break;
     30              }
    2331            ++i;
    2432          }
    2533      }
    26      
    27     return NULL;
     34   
     35    log_printf(FUNC,Behavioural,FUNCTION,"End");
     36
     37    return _return;
    2838  };
    2939
Note: See TracChangeset for help on using the changeset viewer.