Updates /doc/hook/ aus Driversourcen.
Change-Id: I039ae8b3cfcaadb859e8e10037b9fa9f6d120fba
diff --git a/doc/hook/create_clone b/doc/hook/create_clone
index e8dac03..f111e19 100644
--- a/doc/hook/create_clone
+++ b/doc/hook/create_clone
@@ -11,14 +11,17 @@
DESCRIPTION
Optional hooks to initialize a cloned object after creation.
- Hook setting can be unbound lambda closures, or the name of
- the function (static or public) to call in the object.
+ Hook setting can any closure, or the name of the function
+ (static or public) to call in the object.
- If the hook is a closure expecting arguments, it is bound to the
- current object and called with the created object as the first
- argument and any further arguments from the clone_object() call.
- If the hook is a closure without arguments, it is bound to
- the object to be initalized and called.
+ If the hook is an unbound lambda closure expecting arguments,
+ it is bound to the current object and called with the created
+ object as the first argument and any further arguments from
+ the clone_object() call. If the hook is an unbound lambda
+ closure without arguments, it is bound to the object to be
+ initalized and called. If the hook is any other type of closure,
+ it is called with the created object as the first argument and
+ any further arguments from the clone_object() call.
If the result of the closure call is a non-zero number, it is used
as the interval to wait before the first reset(), else the default