* value using aop_capture_exit_return_value().
* \param jp A function exit join point. Function exit join points
* are obtained by joining on an aop_match_function_exit() pointcut.
- * \param A dynval with its type determined by
+ * \return A dynval with its type determined by
* aop_filter_exit_by_return_type().
*/
struct aop_dynval *
* return value does not match the specified type.
* \param jp A function exit join point. Function exit join points
* are obtained by joining on an aop_match_function_exit() pointcut.
- * \param type A dynval with its type determined by the specified type
- * or NULL if the return value does not match the specified type.
+ * \param type This function verifies that the return value's type
+ * matches the specified type.
+ * \return A dynval with its type determined by the specified type or
+ * NULL if the return value does not match the specified type.
*/
struct aop_dynval *
aop_capture_exit_return_value_by_type (struct aop_joinpoint *jp,
* \param name The name to filter by.
*/
void
-aop_filter_call_pc_by_name (struct aop_pointcut *pc_function_call,
- const char *name)
+aop_filter_call_pc_by_name (struct aop_pointcut *pc, const char *name)
{
- pc_function_call->pc_call.function_name = name;
+ pc->pc_call.function_name = name;
}
/**
* pointcuts are created with aop_match_function_call().
* \param n The index of the parameter to filter on. Parameters are
* indexed from zero.
- * \param The parameter type to filter by.
+ * \param type The parameter type to filter by.
*/
void
aop_filter_call_pc_by_param (struct aop_pointcut *pc, int n,
* are obtained by joining on an aop_match_function_call() pointcut.
* \param n The index of the parameter to capture. Parameters are
* indexed from zero.
- * \type This function verifies that the captured parameter matches
- * the specified type.
+ * \param type This function verifies that the captured parameter
+ * matches the specified type.
* \return A dynval with its type determined by the specified type or
* NULL if there is no matching parameter n.
*/
* \param pc The pointcut to filter.
* \param n The index of the parameter to filter on. Parameters are
* indexed from zero.
- * \param The parameter type to filter by.
+ * \param type The parameter type to filter by.
*/
void
aop_filter_by_in_param (struct aop_pointcut *pc, int n,
extern struct aop_pointcut *aop_match_function_call ();
-extern void aop_filter_call_pc_by_name (struct aop_pointcut *pc_function_call,
+extern void aop_filter_call_pc_by_name (struct aop_pointcut *pc,
const char *advice_function_call);
extern void aop_filter_call_pc_by_param (struct aop_pointcut *pc, int n,
const struct aop_type *type);