]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/interfaces/Pool.nc
safe tinyos annotations (all in nesdoc comments)
[tinyos-2.x.git] / tos / interfaces / Pool.nc
index db45aae199b7735125091b2e7d0a6c4918ba69d6..938e147859a1956543cd80da81671ca9b068a432 100644 (file)
@@ -82,6 +82,7 @@ interface Pool<t> {
   /**
     * Deallocate an object, putting it back into the pool.
     *
+    * @param 't* ONE newVal'
     * @return SUCCESS if the entry was put in successfully, FAIL
     * if the pool is full.
     */
@@ -90,7 +91,7 @@ interface Pool<t> {
   /**
     * Allocate an element from the pool.
     *
-    * @return A pointer if the pool is not empty, NULL if
+    * @return 't* ONE_NOK' A pointer if the pool is not empty, NULL if
     * the pool is empty.
     */
   command t* get();