Prechádzať zdrojové kódy

doc: give the void return type to macro STARPU_DATA_ACQUIRE_CB so that it is indexed properly in function index

Nathalie Furmento 13 rokov pred
rodič
commit
df075540a7
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      doc/starpu.texi

+ 1 - 1
doc/starpu.texi

@@ -3751,7 +3751,7 @@ returns 0.
 
 
 @node STARPU_DATA_ACQUIRE_CB
 @node STARPU_DATA_ACQUIRE_CB
 @subsection @code{STARPU_DATA_ACQUIRE_CB} -- Access registered data from the application asynchronously, macro
 @subsection @code{STARPU_DATA_ACQUIRE_CB} -- Access registered data from the application asynchronously, macro
-@deftypefun STARPU_DATA_ACQUIRE_CB (starpu_data_handle @var{handle}, starpu_access_mode @var{mode}, code)
+@deftypefun void STARPU_DATA_ACQUIRE_CB (starpu_data_handle @var{handle}, starpu_access_mode @var{mode}, code)
 @code{STARPU_DATA_ACQUIRE_CB} is the same as @code{starpu_data_acquire_cb},
 @code{STARPU_DATA_ACQUIRE_CB} is the same as @code{starpu_data_acquire_cb},
 except that the code to be executed in a callback is directly provided as a
 except that the code to be executed in a callback is directly provided as a
 macro parameter, and the data handle is automatically released after it. This
 macro parameter, and the data handle is automatically released after it. This