Changeset 1114


Ignore:
Timestamp:
Aug 6, 2003, 8:16:22 PM (17 years ago)
Author:
luba
Message:
  • type_short_int is replaced by type_int32
Location:
to-imperative/trunk/library/Vector
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/library/Vector/subvector.cc

    r1045 r1114  
    2020      RF_LIB_ERROR("Invalid argument");
    2121    Term* t = _index.get_first();
    22     rftype::ShortInt* p = t->cast_to<rftype::ShortInt>(type_short_int);
     22    rftype::Int32* p = t->cast_to<rftype::Int32>(type_int32);
    2323    if (!p)
    2424      RF_LIB_ERROR("Invalid argument");
    2525    size_t ind = p->to_int();
    2626    t = _length.get_first();
    27     p = t->cast_to<rftype::ShortInt>(type_short_int);
     27    p = t->cast_to<rftype::Int32>(type_int32);
    2828    if (!p)
    2929      RF_LIB_ERROR("Invalid argument");
  • to-imperative/trunk/library/Vector/subvector_fill.cc

    r1045 r1114  
    2020      RF_LIB_ERROR("Invalid argument");
    2121    Term* t = _index.get_first();
    22     rftype::ShortInt* p = t->cast_to<rftype::ShortInt>(type_short_int);
     22    rftype::Int32* p = t->cast_to<rftype::Int32>(type_int32);
    2323    if (!p)
    2424      RF_LIB_ERROR("Invalid argument");
    2525    size_t ind = p->to_int();
    2626    t = _length.get_first();
    27     p = t->cast_to<rftype::ShortInt>(type_short_int);
     27    p = t->cast_to<rftype::Int32>(type_int32);
    2828    if (!p)
    2929      RF_LIB_ERROR("Invalid argument");
  • to-imperative/trunk/library/Vector/vector_init.cc

    r1098 r1114  
    2121      RF_LIB_ERROR("Invalid argument");
    2222    Term* p_length = _length.get_first();
    23     rftype::ShortInt* len = p_length->cast_to<rftype::ShortInt>(type_short_int);
     23    rftype::Int32* len = p_length->cast_to<rftype::Int32>(type_int32);
    2424    if (!len)
    2525      RF_LIB_ERROR("Invalid argument");
  • to-imperative/trunk/library/Vector/vector_length.cc

    r1043 r1114  
    1919    if (!v)
    2020      RF_LIB_ERROR("Invalid argument");
    21     _len = ShortInt::create_expr(v->get_length());
     21    _len = Int32::create_expr(v->get_length());
    2222  } else
    2323      RF_LIB_ERROR("Invalid argument");
  • to-imperative/trunk/library/Vector/vector_ref.cc

    r1072 r1114  
    2020      RF_LIB_ERROR("Invalid argument");
    2121    Term* p_index = _index.get_first();
    22     rftype::ShortInt* number = p_index->cast_to<rftype::ShortInt>(type_short_int);
     22    rftype::Int32* number = p_index->cast_to<rftype::Int32>(type_int32);
    2323    if (!number)
    2424      RF_LIB_ERROR("Invalid argument");
  • to-imperative/trunk/library/Vector/vector_set.cc

    r1045 r1114  
    2020      RF_LIB_ERROR("Invalid argument");
    2121    Term* p_index = _index.get_first();
    22     rftype::ShortInt* numb = p_index->cast_to<rftype::ShortInt>(type_short_int);
     22    rftype::Int32* numb = p_index->cast_to<rftype::Int32>(type_int32);
    2323    if (!numb)
    2424      RF_LIB_ERROR("Invalid argument");
Note: See TracChangeset for help on using the changeset viewer.