summaryrefslogtreecommitdiff
path: root/lib/talloc/doc/tutorial_dts.dox
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-05-07 12:30:44 +0200
committerAndreas Schneider <asn@samba.org>2012-05-07 19:20:30 +0200
commit20408286e2845ebca64b28e7e8ec0ed8dc9130c2 (patch)
tree04ef693ba61028739decfdecec1096e3640dd6ae /lib/talloc/doc/tutorial_dts.dox
parent69526997e5636211824f8c041a9e57d039cc62f4 (diff)
downloadsamba-20408286e2845ebca64b28e7e8ec0ed8dc9130c2.tar.gz
samba-20408286e2845ebca64b28e7e8ec0ed8dc9130c2.tar.bz2
samba-20408286e2845ebca64b28e7e8ec0ed8dc9130c2.zip
doc: Remove latex to doxygen conversion leftovers in talloc.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib/talloc/doc/tutorial_dts.dox')
-rw-r--r--lib/talloc/doc/tutorial_dts.dox6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/talloc/doc/tutorial_dts.dox b/lib/talloc/doc/tutorial_dts.dox
index 62c425c408..75b5172bbe 100644
--- a/lib/talloc/doc/tutorial_dts.dox
+++ b/lib/talloc/doc/tutorial_dts.dox
@@ -6,8 +6,8 @@
Generic programming in the C language is very difficult. There is no inheritance
nor templates known from object oriented languages. There is no dynamic type
system. Therefore, generic programming in this language is usually done by
-type-casting a variable to |void*| and transferring it through a generic function
-to a specialized callback as illustrated on the next listing.
+type-casting a variable to <code>void*</code> and transferring it through
+a generic function to a specialized callback as illustrated on the next listing.
@code
void generic_function(callback_fn cb, void *pvt)
@@ -45,7 +45,7 @@ Although the name of the context can be set to any arbitrary string, the best
way of using it to simulate the dynamic type system is to set it directly to the
type of the variable.
-It is recommended to use one of |talloc()| and |talloc_array()| (or its
+It is recommended to use one of talloc() and talloc_array() (or its
variants) to create the context as they set its name to the name of the
given type automatically.