mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-14 15:48:03 +03:00
Fix wrong native error description (#236)
* Update natives_common.cpp * Update reapi_engine.inc * Update reapi_engine.inc add error description * Update natives_common.cpp * reapi_engine.inc: add error in `set_key_value` desc * natives_common.cpp: add error in `set_key_value` desc
This commit is contained in:
parent
1ce917b440
commit
15aca1d799
@ -39,8 +39,7 @@ native any:get_ucmd(const ucmd, const UCmd:var, any:...);
|
||||
* @param maxlen Maximum size of the buffer
|
||||
*
|
||||
* @return Number of cells written to buffer
|
||||
* @error If the index is not within the range of 1 to MaxClients or
|
||||
* the client is not connected, an error will be thrown.
|
||||
* @error If invalid buffer handler provided, an error will be thrown.
|
||||
*/
|
||||
native get_key_value(const pbuffer, const key[], const value[], const maxlen);
|
||||
|
||||
@ -52,6 +51,7 @@ native get_key_value(const pbuffer, const key[], const value[], const maxlen);
|
||||
* @param value Value to set
|
||||
*
|
||||
* @noreturn
|
||||
* @error If invalid buffer handler provided, an error will be thrown.
|
||||
*/
|
||||
native set_key_value(const pbuffer, const key[], const value[]);
|
||||
|
||||
|
@ -122,8 +122,7 @@ cell AMX_NATIVE_CALL amx_get_viewent(AMX *amx, cell *params)
|
||||
* @param maxlen Maximum size of the buffer
|
||||
*
|
||||
* @return Number of cells written to buffer
|
||||
* @error If the index is not within the range of 1 to MaxClients or
|
||||
* the client is not connected, an error will be thrown.
|
||||
* @error If invalid buffer handler provided, an error will be thrown.
|
||||
*
|
||||
* native get_key_value(const pbuffer, const key[], const value[], const maxlen);
|
||||
*/
|
||||
@ -152,6 +151,7 @@ cell AMX_NATIVE_CALL amx_get_key_value(AMX *amx, cell *params)
|
||||
* @param value Value to set
|
||||
*
|
||||
* @noreturn
|
||||
* @error If invalid buffer handler provided, an error will be thrown.
|
||||
*
|
||||
* native set_key_value(const &pbuffer, const key[], const value[]);
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user