SC_Context_Put()
Assigns a value for a given key.
Synopsis:
#include <scoreloop/sc_context.h>
SC_Error_t SC_Context_Put(SC_Context_h self, const char *key, SC_String_h value)
Arguments:
- self
-
An opaque handle for the SC_Context instance.
- key
-
Key string for which to assign the value.
- value
-
A value string to assign to a given key.
Library:
libscoreloopcoreDescription:
If any value was already assigned to a given key, it is replaced. If the method completes successfully, a value object is retained.
Returns:
SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).