Global storage. More...
Functions | |
| KZ_HEADER_BEGIN kzsError | kzsGlobalsInitialize (void) |
| Initializes counters. More... | |
| kzsError | kzsGlobalsUninitialize (void) |
| Uninitializes counters. More... | |
| void | kzsGlobalsPut (kzString name, void *data) |
| Put data to global storage. More... | |
| void * | kzsGlobalsGet (kzString name) |
| Get data from global storage. More... | |
Global storage.
This module can be used for storing global data. Warning: Such global data is not thread safe unless explicitly synchronized.
Copyright 2008-2020 by Rightware. All rights reserved.
| KZ_HEADER_BEGIN kzsError kzsGlobalsInitialize | ( | void | ) |
Initializes counters.
| kzsError kzsGlobalsUninitialize | ( | void | ) |
Uninitializes counters.
| void kzsGlobalsPut | ( | kzString | name, |
| void * | data | ||
| ) |
Put data to global storage.
| void* kzsGlobalsGet | ( | kzString | name | ) |
Get data from global storage.
Returns KZ_NULL if no data is associated with the given name.