[aspectc-user] advices?

Jamal Siadat siadat at cpsc.ucalgary.ca
Tue Jul 5 10:22:30 CEST 2005


Hi,
I have noticed with advices that it will match the name of the method
regardless of the arguments that the method has. Is there any way to limit
this?

e.g. I have :

void copy_next_packet_to_link( uint16 )

and

void copy_next_packet_to_link( buffer_event_t * be )

but the advice "advice execution ("void
simple_no_opt_buffer_t::copy_next_packet_to_link(uint16)") && args
(length) : around ( uint16 length)"  matches both of them! Is there a
solution for this?

Thanks in advance,

P.S: Olaf I'm trying to modularize cross cutting concerns in layerd
structures ( a network simulator to be exact).






More information about the aspectc-user mailing list