浏览代码

doc: fix @deftp syntax

Nathalie Furmento 13 年之前
父节点
当前提交
651d9fb7af
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      doc/chapters/advanced-api.texi
  2. 2 2
      doc/chapters/basic-api.texi

+ 1 - 1
doc/chapters/advanced-api.texi

@@ -140,7 +140,7 @@ the format.
 @node Task Bundles
 @node Task Bundles
 @section Task Bundles
 @section Task Bundles
 
 
-@deftp {Data Type} starpu_task_bundle_t
+@deftp {Data Type} {starpu_task_bundle_t}
 Opaque structure describing a list of tasks that should be scheduled
 Opaque structure describing a list of tasks that should be scheduled
 on the same worker whenever it's possible. It must be considered as a
 on the same worker whenever it's possible. It must be considered as a
 hint given to the scheduler as there is no guarantee that they will be
 hint given to the scheduler as there is no guarantee that they will be

+ 2 - 2
doc/chapters/basic-api.texi

@@ -36,7 +36,7 @@ Upon successful completion, this function returns 0. Otherwise, @code{-ENODEV}
 indicates that no worker was available (so that StarPU was not initialized).
 indicates that no worker was available (so that StarPU was not initialized).
 @end deftypefun
 @end deftypefun
 
 
-@deftp {Data type} {struct starpu_conf}
+@deftp {Data Type} {struct starpu_conf}
 This structure is passed to the @code{starpu_init} function in order
 This structure is passed to the @code{starpu_init} function in order
 to configure StarPU.
 to configure StarPU.
 When the default value is used, StarPU automatically selects the number
 When the default value is used, StarPU automatically selects the number
@@ -129,7 +129,7 @@ guaranteed to be available until this method has been called.
 @node Workers' Properties
 @node Workers' Properties
 @section Workers' Properties
 @section Workers' Properties
 
 
-@deftp {DataType} {enum starpu_archtype}
+@deftp {Data Type} {enum starpu_archtype}
 The different values are:
 The different values are:
 @table @asis
 @table @asis
 @item @code{STARPU_CPU_WORKER}
 @item @code{STARPU_CPU_WORKER}