[ntcore] Change 'null' to 'empty string' in NT StartServer docs (NFC) (#8017)

This commit is contained in:
Ryan Blue
2025-06-11 00:55:51 -04:00
committed by GitHub
parent f99692f287
commit 89b97a21d8
3 changed files with 9 additions and 6 deletions

View File

@@ -603,8 +603,9 @@ class NetworkTableInstance final {
*
* @param persist_filename the name of the persist file to use (UTF-8 string,
* null terminated)
* @param listen_address the address to listen on, or null to listen on any
* address (UTF-8 string, null terminated)
* @param listen_address the address to listen on, or an empty string to
* listen on any address. (UTF-8 string, null
* terminated)
* @param port port to communicate over
*/
void StartServer(std::string_view persist_filename = "networktables.json",

View File

@@ -1113,8 +1113,9 @@ void NT_StopLocal(NT_Inst inst);
* @param inst instance handle
* @param persist_filename the name of the persist file to use (UTF-8 string,
* null terminated)
* @param listen_address the address to listen on, or null to listen on any
* address. (UTF-8 string, null terminated)
* @param listen_address the address to listen on, or an empty string to
* listen on any address. (UTF-8 string, null
* terminated)
* @param port port to communicate over
*/
void NT_StartServer(NT_Inst inst, const struct WPI_String* persist_filename,

View File

@@ -1055,8 +1055,9 @@ void StopLocal(NT_Inst inst);
* @param inst instance handle
* @param persist_filename the name of the persist file to use (UTF-8 string,
* null terminated)
* @param listen_address the address to listen on, or null to listen on any
* address. (UTF-8 string)
* @param listen_address the address to listen on, or an empty string to
* listen on any address. (UTF-8 string, null
* terminated)
* @param port port to communicate over
*/
void StartServer(NT_Inst inst, std::string_view persist_filename,