Sternum Linux SDK
|
Provides definition of sternum_settings_t structure. More...
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
Go to the source code of this file.
Data structures | |
struct | sternum_settings_t |
Configuration structure for initializing the SDK. More... | |
Functions | |
void | init_sternum_settings (sternum_settings_t *settings) |
Default-initialize settings structure for the SDK. More... | |
Provides definition of sternum_settings_t structure.
void init_sternum_settings | ( | sternum_settings_t * | settings | ) |
Default-initialize settings structure for the SDK.
Use this function to initialize a sternum_settings_t
with default values. Using this function is crucial to prevent uninitialized or garbage data in linked pointers, ensuring the structure begins in a clean state. This minimizes the risk of errors due to unpredictable or undefined values.
Example: sternum_settings_t g_sternum_settings; init_sternum_settings(&g_sternum_settings);