src/variables.h
changeset 6991 bf9cd2a47774
parent 6990 136a08baf0ed
child 6998 39e783d3816c
equal deleted inserted replaced
6990:136a08baf0ed 6991:bf9cd2a47774
   365 	assert(n + 1 < lengthof(_decode_parameters));
   365 	assert(n + 1 < lengthof(_decode_parameters));
   366 	_decode_parameters[n + 0] = v & 0xffffffff;
   366 	_decode_parameters[n + 0] = v & 0xffffffff;
   367 	_decode_parameters[n + 1] = v >> 32;
   367 	_decode_parameters[n + 1] = v >> 32;
   368 }
   368 }
   369 
   369 
       
   370 static inline void SetDParamMoney(uint n, Money m) { SetDParam64(n, (uint64)m); }
       
   371 
   370 static inline uint32 GetDParam(uint n)
   372 static inline uint32 GetDParam(uint n)
   371 {
   373 {
   372 	assert(n < lengthof(_decode_parameters));
   374 	assert(n < lengthof(_decode_parameters));
   373 	return _decode_parameters[n];
   375 	return _decode_parameters[n];
   374 }
   376 }