core/systems/CFunction.cpp
changeset 185 5e0987d38ee0
parent 183 78488edd8873
child 188 8951baf7cb3c
     1.1 --- a/core/systems/CFunction.cpp	Sun Nov 12 13:13:12 2006 +0000
     1.2 +++ b/core/systems/CFunction.cpp	Mon Nov 13 13:55:44 2006 +0000
     1.3 @@ -72,24 +72,6 @@
     1.4  	return PushCellByRef((cell_t *)number, flags);
     1.5  }
     1.6  
     1.7 -int CFunction::PushCells(cell_t array[], unsigned int numcells, bool each)
     1.8 -{
     1.9 -	if (!each)
    1.10 -	{
    1.11 -		return PushArray(array, numcells, NULL, 0);
    1.12 -	} else {
    1.13 -		int err;
    1.14 -		for (unsigned int i=0; i<numcells; i++)
    1.15 -		{
    1.16 -			if ((err=PushCell(array[i])) != SP_ERROR_NONE)
    1.17 -			{
    1.18 -				return SetError(err);
    1.19 -			}
    1.20 -		}
    1.21 -		return SP_ERROR_NONE;
    1.22 -	}
    1.23 -}
    1.24 -
    1.25  int CFunction::PushArray(cell_t *inarray, unsigned int cells, cell_t **phys_addr, int copyback)
    1.26  {
    1.27  	if (m_curparam >= SP_MAX_EXEC_PARAMS)