You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Resets and frees stack memory of a cJSON_GenericStack_t struct. Needs to be used on discarding of the struct to avoid memory leaks.
163
163
*
164
164
* @param TSptr Pointer to a cJSON_GenericStack_t struct.
165
165
*/
166
-
voidTS_Delete(cJSON_GenericStack_t*TSptr);
166
+
voidGS_Delete(cJSON_GenericStack_t*TSptr);
167
167
168
168
/**
169
169
* @brief Used to push a cJSON_ContainerType_t value to the stack.
170
170
*
171
171
* @param TSptr Pointer to a cJSON_GenericStack_t struct.
172
172
* @param type cJSON_ContainerType_t type that is to be pushed to the stack.
173
-
* @return cJSON_GenericStack_Result_t Returns TS_Ok by default. Returns TS_StackOverflow_Error if stack was already full before the push operation (type not pushed to stack).
173
+
* @return cJSON_GenericStack_Result_t Returns GS_Ok by default. Returns GS_StackOverflow_Error if stack was already full before the push operation (type not pushed to stack).
* @brief Used to remove the top item from the stack.
178
178
*
179
179
* @param TSptr Pointer to a cJSON_GenericStack_t struct.
180
-
* @return cJSON_GenericStack_Result_t Returns TS_Ok by default. Returns TS_StackUnderflow_Error if stack was already empty before the pop operation (nothing changed).
180
+
* @return cJSON_GenericStack_Result_t Returns GS_Ok by default. Returns GS_StackUnderflow_Error if stack was already empty before the pop operation (nothing changed).
0 commit comments