Selaa lähdekoodia

Finally remove params and return values from header, they are already been added in doc

Corentin Salingue 8 vuotta sitten
vanhempi
commit
d54098dac7
1 muutettua tiedostoa jossa 2 lisäystä ja 14 poistoa
  1. 2 14
      include/starpu_stdlib.h

+ 2 - 14
include/starpu_stdlib.h

@@ -52,22 +52,10 @@ starpu_ssize_t starpu_memory_get_available_all_nodes();
 
 void starpu_memory_wait_available(unsigned node, size_t size);
 
-/**
- * Try to allocate memory on the given node
- *
- * @param size amount of memory to allocate
- * @param node node where the memory is to be allocated
- * @param flags to set the behavior of the function : STARPU_MEMORY_WAIT (wait until memory space will be available), STARPU_MEMORY_OVERFLOW (overflow the memory space)
- * @return 0 if the given amount of memory was allocated on the given node, -ENOMEM else
- */
+/* Try to allocate memory on the given node */
 int starpu_memory_allocate(unsigned node, size_t size, int flags);
 
-/**
- * Indicates the given amount of memory is going to be deallocated from the given node
- *
- * @param size amount of memory to be deallocated
- * @param node node where the memory is going to be deallocated
- */
+/* Indicates the given amount of memory is going to be deallocated from the given node */
 void starpu_memory_deallocate(unsigned node, size_t size);
 
 void starpu_sleep(float nb_sec);