177 * @param dest the location where the contents shall be written to, or <code> |
176 * @param dest the location where the contents shall be written to, or <code> |
178 * NULL</code>, if the element shall only be removed. |
177 * NULL</code>, if the element shall only be removed. |
179 * @see ucx_stack_free |
178 * @see ucx_stack_free |
180 * @see ucx_stack_popn |
179 * @see ucx_stack_popn |
181 */ |
180 */ |
182 #define ucx_stack_pop(stack, dest) ucx_stack_popn(stack, dest, SIZE_MAX) |
181 #define ucx_stack_pop(stack, dest) ucx_stack_popn(stack, dest, (size_t)-1) |
183 |
182 |
184 /** |
183 /** |
185 * Removes the top most element from the stack and copies the content to <code> |
184 * Removes the top most element from the stack and copies the content to <code> |
186 * dest</code>. |
185 * dest</code>. |
187 * |
186 * |