Ignore:
Timestamp:
Jun 25, 2008, 1:08:04 PM (16 years ago)
Author:
nipo
Message:

Checkin autotools magic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/with_autoconf/src/serialization.cc

    r1 r8  
    3535
    3636
    37 #include<vector>
    38 #include<map>
    39 #include<fstream> // save_module_hierarchy
    40 #include"internal_ext.h" // tab_t
    41 #include"serialization.h"
    42 #include"entity.h"
    43 #include"sc_module.h"
    44 #include"sc_object.h"
    45 #include"hex2string.h"
    46 #include"assert.h"
     37#include <vector>
     38#include <map>
     39#include <fstream> // save_module_hierarchy
     40#include "internal_ext.h" // tab_t
     41#include "serialization.h"
     42#include "entity.h"
     43#include "sc_module.h"
     44#include "sc_object.h"
     45#include "hex2string.h"
     46#include <cassert>
     47#ifdef HAVE_CONFIG_H
     48#include "config.h"
     49#endif
    4750
    4851using namespace std;
     
    8386            int          bit_number)
    8487{
    85   ASSERT(bit_number <= 64);
     88  assert(bit_number <= 64);
    8689  if (bit_number == 1) {
    8790    bool v = *((const bool*) val);
     
    139142                    save_fct_t1      fct)
    140143{
    141   //ASSERT(fct != NULL);
     144  //assert(fct != NULL);
    142145  //sc_module2save_fct_t1::value_type pair(&mod,fct);
    143146  //save_handler_table.insert (pair);
     
    157160    const sc_module *mod = it->first;
    158161    save_fct_t1      fct = it->second;
    159     ASSERT(mod != NULL);
    160 //    ASSERT(fct != NULL);
     162    assert(mod != NULL);
     163//    assert(fct != NULL);
    161164    //o << mod->name () << endl;
    162165    fprintf (o,"module\n%s\n",mod->name ());
     
    184187  file.close ();
    185188  FILE *f = fopen (filename, "a+");
    186   ASSERT(f != NULL);
     189  assert(f != NULL);
    187190  save_modules (f);
    188191  fclose (f);
Note: See TracChangeset for help on using the changeset viewer.