Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_object.cc

    r27 r17  
    4040#include <map>
    4141
    42 #include <cassert>
     42#include "assert.h"
    4343#include "sc_object.h"
    4444//#include "sc_port.h"
     
    4646#include "sc_signal.h"
    4747#include "module_hierarchy.h"
    48 #ifdef HAVE_CONFIG_H
    49 #include "config.h"
    50 #endif
    5148
    5249using namespace std;
     
    7471//    out += ".";
    7572  }
    76 //  assert(name != NULL);
     73//  ASSERT(name != NULL);
    7774  if (name)
    7875    out += name;
     
    206203{
    207204        object2name_t::iterator i = object2fullname.find (this);
    208 #ifdef CONFIG_DEBUG
     205#ifdef DEBUG
    209206        if (i == object2fullname.end ()) {
    210207                cerr << "Internal error : can't find name of " << this << "\n";
     
    220217/*
    221218        object2name_t::iterator i = object2fullname.find (this);
    222 #ifdef CONFIG_DEBUG
     219#ifdef DEBUG
    223220        if (i == object2fullname.end ()) {
    224221                cerr << "Internal error : can't find name of " << this << "\n";
     
    238235    string     out;
    239236    sc_object* obj = *it;
    240     assert(obj != NULL);
     237    ASSERT(obj != NULL);
    241238    build_full_name (out, *obj);
    242239  }
     
    246243{
    247244        object2infos_t::iterator i = object2infos.find (this);
    248 #ifdef CONFIG_DEBUG
     245#ifdef DEBUG
    249246        if (i == object2infos.end ()) {
    250247                cerr << "Internal error : can't find kind of " << this << "\n";
Note: See TracChangeset for help on using the changeset viewer.