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:
Scott Ehlert
2007-03-07 18:24:09 +00:00
parent 876e3da8e3
commit dfed71eb28
7 changed files with 22 additions and 19 deletions
+4 -3
View File
@@ -70,7 +70,7 @@ namespace SourcePawn
* @param flags Copy-back flags.
* @return Error code, if any.
*/
virtual int PushCellByRef(cell_t *cell, int flags) =0;
virtual int PushCellByRef(cell_t *cell) =0;
/**
* @brief Pushes a float onto the current call.
@@ -91,7 +91,7 @@ namespace SourcePawn
& @param flags Copy-back flags.
* @return Error code, if any.
*/
virtual int PushFloatByRef(float *number, int flags) =0;
virtual int PushFloatByRef(float *number) =0;
/**
* @brief Pushes an array of cells onto the current call.
@@ -505,8 +505,9 @@ namespace SourcePawn
* @param error The error number to set.
* @param msg Custom error message format. NULL to use default.
* @param ... Message format arguments, if any.
* @return 0 for convenience.
*/
virtual void ThrowNativeErrorEx(int error, const char *msg, ...) =0;
virtual cell_t ThrowNativeErrorEx(int error, const char *msg, ...) =0;
/**
* @brief Throws a generic native error and halts any current execution.