Breakage alert :\
ThrowNativeErrorEx now returns 0 for convenience PushCellByRef and PushFloatByRef no longer have a flags parameter because it was almost pointless --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40590
This commit is contained in:
@@ -79,14 +79,14 @@ int CFunction::PushCell(cell_t cell)
|
||||
return SP_ERROR_NONE;
|
||||
}
|
||||
|
||||
int CFunction::PushCellByRef(cell_t *cell, int flags)
|
||||
int CFunction::PushCellByRef(cell_t *cell)
|
||||
{
|
||||
if (m_curparam >= SP_MAX_EXEC_PARAMS)
|
||||
{
|
||||
return SetError(SP_ERROR_PARAMS_MAX);
|
||||
}
|
||||
|
||||
return PushArray(cell, 1, NULL, flags);
|
||||
return PushArray(cell, 1, NULL, SM_PARAM_COPYBACK);
|
||||
}
|
||||
|
||||
int CFunction::PushFloat(float number)
|
||||
@@ -96,9 +96,9 @@ int CFunction::PushFloat(float number)
|
||||
return PushCell(val);
|
||||
}
|
||||
|
||||
int CFunction::PushFloatByRef(float *number, int flags)
|
||||
int CFunction::PushFloatByRef(float *number)
|
||||
{
|
||||
return PushCellByRef((cell_t *)number, flags);
|
||||
return PushCellByRef((cell_t *)number);
|
||||
}
|
||||
|
||||
int CFunction::PushArray(cell_t *inarray, unsigned int cells, cell_t **phys_addr, int copyback)
|
||||
|
||||
Reference in New Issue
Block a user