Branch: Tag:

2005-06-20

2005-06-20 12:51:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added push_obj_index().
Needs to be distinct from push_int() on big endian machines when INT_TYPE is wider than int.

Rev: src/interpret.h:1.162

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.h,v 1.161 2005/05/27 18:33:20 mast Exp $ + || $Id: interpret.h,v 1.162 2005/06/20 12:51:45 grubba Exp $   */      #ifndef INTERPRET_H
264:    _sp_->subtype=NUMBER_UNDEFINED; \    }while(0)    + #define push_obj_index(I) do{ \ +  int _=(I); \ +  struct svalue *_sp_ = Pike_sp++; \ +  _sp_->u.identifier=_; \ +  _sp_->type=T_OBJ_INDEX; \ +  }while(0) +    #define push_mapping(M) do{ \    struct mapping *_=(M); \    struct svalue *_sp_ = Pike_sp++; \