File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,21 +53,21 @@ struct AArrayQueue
5353 void (* Release ) (ArrayQueue * arrayQueue );
5454
5555 /**
56- * Push element from elementPtr into ArrayQueue.
56+ * Push the element from elementPtr to the tail of ArrayQueue.
5757 * elementPtr: point to element
5858 *
59- * return elementPtr in ArrayQueue.
59+ * return the elementPtr in ArrayQueue.
6060 */
6161 void * (* Push ) (ArrayQueue * arrayQueue , void * elementPtr );
6262
6363 /**
64- * Pop element from ArrayQueue.
65- * return top elementPtr in ArrayQueue, if no element return defaultElementPtr.
64+ * Pop the element from the head of ArrayQueue.
65+ * return the top elementPtr of the ArrayQueue, if no element return defaultElementPtr.
6666 */
6767 void * (* Pop ) (ArrayQueue * arrayQueue , void * defaultElementPtr );
6868
6969 /**
70- * Remove element at index that range in [topIndex, ArrayQueue size - 1].
70+ * Remove the element at index that range in [topIndex, ArrayQueue size - 1].
7171 */
7272 void (* RemoveAt ) (ArrayQueue * arrayQueue , int index );
7373
You can’t perform that action at this time.
0 commit comments