iface comment fixes and sync

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40190
This commit is contained in:
Borja Ferrer
2006-11-13 13:55:44 +00:00
parent 2943111703
commit cda9c6952d
5 changed files with 5 additions and 25 deletions
-18
View File
@@ -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)
-1
View File
@@ -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);