Re: [PATCH 1/1] Hook support: Proof-of-concept

2012-11-06 Thread Nicholas Marriott
This looks fine apart from some style nits but let me play with it a bit later this week. On Sun, Nov 04, 2012 at 01:22:51AM +, Thomas Adam wrote: > Suggested patch on how to implement before/after hook support. > --- > Makefile.am | 3 ++ > cmd-set-hook.c | 90

Re: [PATCH 1/1] Hook support: Proof-of-concept

2012-11-04 Thread Philip Herron
I am looking forward to checking this out i was thinking of using something like this to have callbacks into ython code from other commands and this solves it! :) On 4 November 2012 01:22, Thomas Adam wrote: > Suggested patch on how to implement before/after hook support. > --- > Makefile.am

[PATCH 1/1] Hook support: Proof-of-concept

2012-11-03 Thread Thomas Adam
Suggested patch on how to implement before/after hook support. --- Makefile.am | 3 ++ cmd-set-hook.c | 90 +++ cmd-show-hooks.c | 62 ++ cmd.c| 70 +- hooks.c | 114