Codechange: Unify naming of squirrel built-in types in Script API docs

This commit is contained in:
frosch
2024-03-24 19:02:16 +01:00
committed by Peter Nelson
parent e436e2ef40
commit dfa2622153
6 changed files with 21 additions and 11 deletions

View File

@@ -27,13 +27,13 @@ public:
/**
* Send information to the AdminPort. The information can be anything
* as long as it isn't a class or instance thereof.
* @param table The information to send, in a table. For example: { param = "param" }.
* @param data The information to send, in a table. For example: { param = "param" }.
* @return True if and only if the data was successfully converted to JSON
* and send to the AdminPort.
* @note If the resulting JSON of your table is larger than 1450 bytes,
* nothing will be sent (and false will be returned).
*/
static bool Send(void *table);
static bool Send(table data);
#endif /* DOXYGEN_API */
};