[aspectc-user] global definitions

pdm-steve pdm-steve at gmx.de
Wed Jun 16 00:40:09 CEST 2004


Hi,

how to add a global object definition with aspectc?

I have this:
int main() { ... }

and want to have something like this:
TDataContainer* DataContainer;
int main() { ... }


Like in the AOSD-Tutorial is shown, I can add members to classes:
advice "anyClass" : int counter;
... but I want to add a global object/variable to the main function


greetings,
Steffen Käthner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20040616/3ffb289d/attachment.html>


More information about the aspectc-user mailing list