iface comment fixes and sync
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40190
This commit is contained in:
@@ -72,24 +72,6 @@ int CFunction::PushFloatByRef(float *number, int flags)
|
||||
return PushCellByRef((cell_t *)number, flags);
|
||||
}
|
||||
|
||||
int CFunction::PushCells(cell_t array[], unsigned int numcells, bool each)
|
||||
{
|
||||
if (!each)
|
||||
{
|
||||
return PushArray(array, numcells, NULL, 0);
|
||||
} else {
|
||||
int err;
|
||||
for (unsigned int i=0; i<numcells; i++)
|
||||
{
|
||||
if ((err=PushCell(array[i])) != SP_ERROR_NONE)
|
||||
{
|
||||
return SetError(err);
|
||||
}
|
||||
}
|
||||
return SP_ERROR_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
int CFunction::PushArray(cell_t *inarray, unsigned int cells, cell_t **phys_addr, int copyback)
|
||||
{
|
||||
if (m_curparam >= SP_MAX_EXEC_PARAMS)
|
||||
|
||||
@@ -25,7 +25,6 @@ public:
|
||||
virtual int PushCellByRef(cell_t *cell, int flags);
|
||||
virtual int PushFloat(float number);
|
||||
virtual int PushFloatByRef(float *number, int flags);
|
||||
virtual int PushCells(cell_t array[], unsigned int numcells, bool each);
|
||||
virtual int PushArray(cell_t *inarray, unsigned int cells, cell_t **phys_addr, int copyback);
|
||||
virtual int PushString(const char *string);
|
||||
virtual int PushStringEx(char *string, int flags);
|
||||
|
||||
Reference in New Issue
Block a user