From: Justin Seyster Date: Wed, 20 Oct 2010 04:00:13 +0000 (-0400) Subject: Created group for advice insertion functions. X-Git-Tag: release-v1.0~28^2~3 X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=ad8544159e135bf4cffea8f68d8a4b2e31df41d7;p=interaspect.git Created group for advice insertion functions. --- diff --git a/src/aop-weave.c b/src/aop-weave.c index 348534c..46bbf7c 100644 --- a/src/aop-weave.c +++ b/src/aop-weave.c @@ -351,6 +351,7 @@ op_default_prepare_for_weave (struct aop_joinpoint *jp) * detail. * \param ... A list of arguments to pass to the advice function, * terminated by #AOP_TERM_ARG. + * \ingroup advice_insert */ void aop_insert_advice (struct aop_joinpoint *jp, const char *func_name, @@ -409,6 +410,7 @@ aop_insert_advice (struct aop_joinpoint *jp, const char *func_name, * \param func_name The name of the distributor advice function. * \param ... A list of arguments to pass to the advice function, * terminated by #AOP_TERM_ARG. + * \ingroup advice_insert */ void aop_duplicate (struct aop_joinpoint *jp, const char *func_name, ...) diff --git a/src/aop.h b/src/aop.h index f8a5c69..3ef73eb 100644 --- a/src/aop.h +++ b/src/aop.h @@ -139,6 +139,7 @@ extern void aop_filter_exclude_temps (struct aop_pointcut *pc); * point. Using AOP_INSERT_BEFORE will still insert the advice after * function entry, but it will place the advice before any * AOP_INSERT_AFTER advice. + * \ingroup advice_insert */ enum aop_insert_location { /** @@ -255,6 +256,11 @@ enum aop_argkind { AOP_TERM_ARG, }; +/** + * \defgroup advice_insert Advice Insertion Functions + * \{ + */ + /** * \brief Mark an advice argument as a string constant * (const char *). @@ -297,6 +303,10 @@ enum aop_argkind { */ #define AOP_DYNVAL(VAL) ATA_DYNVAL, VAL +/** + * \} + */ + extern const char *aop_capture_function_name (struct aop_joinpoint *jp); extern struct aop_pointcut *aop_match_function_entry ();