<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi!<br>
<br>
What do you mean with "multi argument function" -- functions with a
variable argument list, e.g. int p(const char*, ...), or functions with
more than one argument, e.g. void q(int, double)? It would help if you
posted a short code fragment that illustrates your problem.<br>
<br>
The args pointcut punction does not match the execution of functions
with a variable argument list. However, it matches calls of functions
with variable argument lists if the number of arguments given in the
call expression matches.<br>
<br>
Alternatively, you can use the Joinpoint API to access arguments from
within advice code.<br>
<br>
Best regards,<br>
<br>
Olaf<br>
<br>
<br>
On 03/30/2011 10:46 AM, sh jalilian wrote:
<blockquote cite="mid:55868.14144.qm@web114718.mail.gq1.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div
style="font-family: 'times new roman','new york',times,serif; font-size: 12pt;">
<div>hi</div>
<div>I am new in AspectC++ and I want to use Args() function to
detect some multi argument functions in a pointcut and use argument
value of that functions, but it works only with single argument
functions. Could anyone help me?</div>
<div>Thanks</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
aspectc-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aspectc-user@aspectc.org">aspectc-user@aspectc.org</a>
<a class="moz-txt-link-freetext" href="http://www.aspectc.org/mailman/listinfo/aspectc-user">http://www.aspectc.org/mailman/listinfo/aspectc-user</a>
</pre>
</blockquote>
<br>
</body>
</html>