From 5d68cc5a477a6e6af340cb05c329cbc64c90c5fd Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 3 Jun 2008 08:49:33 +0000 Subject: [PATCH] Plugins are now called upon beginning, end or invocation of functions --- src/target/target.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/target/target.h b/src/target/target.h index 37ce503..f7730d8 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -31,7 +31,9 @@ typedef struct _TargetPlugin int (*init)(char const * outfile, int optlevel); int (*exit)(void); int (*section)(char const * name); - int (*function)(char const * name); + int (*function_begin)(char const * name); + int (*function_call)(char const * name); + int (*function_end)(void); } TargetPlugin; #endif /* !_C99_TARGET_TARGET_H */