mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
cscore: Add Shutdown() function
This allows ordered shutdown / destruction of sources and sinks prior to global singleton destruction.
This commit is contained in:
@@ -440,6 +440,13 @@ void CS_SetLogger(CS_LogFunc func, unsigned int min_level);
|
||||
void CS_SetDefaultLogger(unsigned int min_level);
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup cscore_shutdown_cfunc Library Shutdown Function
|
||||
* @{
|
||||
*/
|
||||
void CS_Shutdown(void);
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup cscore_utility_cfunc Utility Functions
|
||||
* @{
|
||||
|
||||
@@ -377,6 +377,13 @@ void SetLogger(LogFunc func, unsigned int min_level);
|
||||
void SetDefaultLogger(unsigned int min_level);
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup cscore_shutdown_func Library Shutdown Function
|
||||
* @{
|
||||
*/
|
||||
void Shutdown();
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup cscore_utility_func Utility Functions
|
||||
* @{
|
||||
|
||||
Reference in New Issue
Block a user