mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[ntcore] Change 'null' to 'empty string' in NT StartServer docs (NFC) (#8017)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user