mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[ntcore] Provide mechanism to reset internals of NT instance (#4653)
This commit is contained in:
@@ -348,6 +348,13 @@ NT_Inst GetDefaultInstance();
|
||||
*/
|
||||
NT_Inst CreateInstance();
|
||||
|
||||
/**
|
||||
* Reset the internals of an instance. Every handle previously associated
|
||||
* with this instance will no longer be valid, except for the instance
|
||||
* handle.
|
||||
*/
|
||||
void ResetInstance(NT_Inst inst);
|
||||
|
||||
/**
|
||||
* Destroy an instance.
|
||||
* The default instance cannot be destroyed.
|
||||
|
||||
Reference in New Issue
Block a user