Skip to content

Commit

Permalink
API documentation fix for some .inc files (#489)
Browse files Browse the repository at this point in the history
* Fixed param information

* Removed whitespace that prevented the API to generate client_disconnected information

* Fixed documentation.

* Update lang.inc

* Documentation fix

(g/s)et_user_hitzones() functions weren't generating properly in the API due to a whitespace in front of the comment blocks. @return for give item() was missing.

* Whitespace prevented API documentation from generating

* Update lang.inc
  • Loading branch information
OciXCrom authored and Arkshine committed Jul 10, 2018
1 parent 651745b commit cec42bd
Show file tree
Hide file tree
Showing 7 changed files with 1,485 additions and 1,435 deletions.
2 changes: 1 addition & 1 deletion plugins/include/amxmodx.inc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ forward client_authorized(id, const authid[]);
#pragma deprecated Use client_disconnected() instead.
forward client_disconnect(id);

/**
/**
* Called when a client is disconnected from the server.
*
* @note This will be called in some additional cases that client_disconnect doesn't cover,
Expand Down
6 changes: 3 additions & 3 deletions plugins/include/core.inc
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ native time(&hour = 0, &minute = 0, &second = 0);
/**
* Retrieves the current date in year, month and day.
*
* @param hour Variable to store year in
* @param minute Variable to store month in
* @param second Variable to store day in
* @param year Variable to store year in
* @param month Variable to store month in
* @param day Variable to store day in
*
* @noreturn
*/
Expand Down
Loading

0 comments on commit cec42bd

Please sign in to comment.