Move the doc for aop_finish() so that it is visible to Doxygen.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Wed, 20 Oct 2010 03:32:11 +0000 (23:32 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Wed, 20 Oct 2010 03:32:11 +0000 (23:32 -0400)
src/aop-main.c
src/aop.h

index dbb5ce97df96e45fe48203435611db9e7222a0db..c45e22d6b4d69e1d2255b7c28b10e3cc860c81bd 100644 (file)
@@ -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 ()
 {
index 491ec217d2097966de19992e4eee7b451a7d6a0f..b12a650af0faa055c5002bb745a884ceebe47e13 100644 (file)
--- 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
  */