X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Finterfaces%2FQueue.nc;h=3bdcd429110d1b7789c2171effba9854347f870f;hb=e8d63150327a33f43f2047984615177fef85331e;hp=9f621df7d70eb4fa39376a10ac6d7e25a5a95934;hpb=6a95cc0109157bc1fc7925fa1380a6e4ab54e400;p=tinyos-2.x.git diff --git a/tos/interfaces/Queue.nc b/tos/interfaces/Queue.nc index 9f621df7..3bdcd429 100644 --- a/tos/interfaces/Queue.nc +++ b/tos/interfaces/Queue.nc @@ -68,7 +68,7 @@ interface Queue { * Get the head of the queue without removing it. If the queue * is empty, the return value is undefined. * - * @return The head of the queue. + * @return 't ONE' The head of the queue. */ command t head(); @@ -76,14 +76,14 @@ interface Queue { * Remove the head of the queue. If the queue is empty, the return * value is undefined. * - * @return The head of the queue. + * @return 't ONE' The head of the queue. */ command t dequeue(); /** * Enqueue an element to the tail of the queue. * - * @param newVal - the element to enqueue + * @param 't ONE newVal' - the element to enqueue * @return SUCCESS if the element was enqueued successfully, FAIL * if it was not enqueued. */ @@ -96,7 +96,7 @@ interface Queue { * the return value is undefined. * * @param index - the index of the element to return - * @return the requested element in the queue. + * @return 't ONE' the requested element in the queue. */ command t element(uint8_t idx); }