From: Justin Seyster Date: Wed, 20 Oct 2010 03:32:11 +0000 (-0400) Subject: Move the doc for aop_finish() so that it is visible to Doxygen. X-Git-Tag: release-v1.0~28^2~5 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=c1092955ac0d5e8ec591ac4ad14e25de756f69d0;p=interaspect.git Move the doc for aop_finish() so that it is visible to Doxygen. --- diff --git a/src/aop-main.c b/src/aop-main.c index dbb5ce9..c45e22d 100644 --- a/src/aop-main.c +++ b/src/aop-main.c @@ -246,16 +246,7 @@ register_pass_init () &pass_info); } -/** - * InterAspect calls this function after all compilation is finished - * and before GCC and InterAspect data structures are destroyed. It - * is provided so that InterAspect plug-ins can override it (by - * providing their own version), giving them a last chance to clean up - * data structures or free up other resources. - * - * The best place to output an automatic header (using - * aop_write_c_header()) is in aop_finish(). - */ +/* Provided for overriding in the client plug-in. See aop.h. */ __attribute__((weak)) __attribute__((noinline)) void aop_finish () { diff --git a/src/aop.h b/src/aop.h index 491ec21..b12a650 100644 --- a/src/aop.h +++ b/src/aop.h @@ -206,6 +206,18 @@ extern void aop_join_on_copy (struct aop_pointcut *pc, int copy, */ extern void aop_main (); +/** + * InterAspect calls this function after all compilation is finished + * and before GCC and InterAspect data structures are destroyed. It + * is provided so that InterAspect plug-ins can override it (by + * providing their own version), giving them a last chance to clean up + * data structures or free up other resources. + * + * The best place to output an automatic header (using + * aop_write_c_header()) is in aop_finish(). + */ +extern void aop_finish (); + /** * \cond HIDDEN_SYMBOLS */