Updates /doc/hook/ aus Driversourcen.
Change-Id: I039ae8b3cfcaadb859e8e10037b9fa9f6d120fba
diff --git a/doc/hook/create_ob b/doc/hook/create_ob
index 204a1f9..52a4605 100644
--- a/doc/hook/create_ob
+++ b/doc/hook/create_ob
@@ -10,15 +10,16 @@
int <closure> (object obj_to_init)
DESCRIPTION
- Optional hooks to initialize an explicitly loaded
- object/blueprint after creation. Hook setting can be unbound
- lambda closures or the name of the function (static or public) to
- call in the object.
+ Optional hooks to initialize an explicitly loaded object/blueprint
+ after creation. Hook setting can be any closure, or the name of
+ the function (static or public) to call in the object.
- If the hook is a closure expecting an argument, it is bound
- to the current object and called with the created object as
- argument. 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 an argument,
+ it is bound to the current object and called with the created
+ object as argument. 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 argument.
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