#include "aop.h"
#include "aop-pointcut.h"
-/*
- * Creates a generic pointcut
- * \return The default pointcut.
- */
+/* Allocates a pointcut and initializes it with default values. */
struct aop_pointcut *
create_pointcut (enum aop_pckind kind)
{
return pc;
}
-/*
-* Initialize a joinpoint with default values.
-*/
+/* Initializes a joinpoint with default values. */
void
init_joinpoint (struct aop_joinpoint *jp, gimple_stmt_iterator *gsi,
struct aop_pointcut *pc, gimple stmt)
jp->pc = pc;
jp->gsi = gsi;
jp->stmt = stmt;
- jp->is_prepared = false;
+ jp->is_prepared = false;
}