Implemented hook_handler caller.

parent 930b44e0
...@@ -114,6 +114,9 @@ cdef public object py_callback(object parser, char *target, int option, \ ...@@ -114,6 +114,9 @@ cdef public object py_callback(object parser, char *target, int option, \
#signal.alarm(0) #signal.alarm(0)
if hasattr(parser, 'hook_handler'):
res = parser.hook_handler(target, option, names, values, res)
return res return res
# callback routine for reading input # callback routine for reading input
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment