Clarification in hook documentation.

This commit is contained in:
Jon Siwek 2012-11-29 10:07:38 -06:00
parent 378ee699ff
commit 3b3b05fbbb

View file

@ -548,9 +548,9 @@ The Bro scripting language supports the following built-in types.
print "not going to happen", s; print "not going to happen", s;
} }
Note that, although the first (forward) declaration of ``myhook`` as Note that the first (forward) declaration of ``myhook`` as a hook
a hook type isn't strictly required, when it is provided, the type isn't strictly required. Argument types must match for all
argument types must match. hook handlers and any forward declaration of a given hook.
To invoke immediate execution of all hook handler bodies, they To invoke immediate execution of all hook handler bodies, they
can be called just like a function: can be called just like a function: