RE: Diamond 3.0 question
- Posted by Andy Serpa <ac at onehorseshy.com> Jun 10, 2003
- 373 views
Mike Nelson wrote: > > > Andy Serpa wrote: > > > I've only been looking at the new version for about 3 minutes now, so > > maybe I'll be able to find my answer -- but where is this_method()? > > Does it have a new alternative? > > > > I dropped this_method() during the revision: I never used it in my own > code. > But I you find it useful, I would be happy to restore it (as well as > this_event()). > Yeah, I use it in an error/exception system to figure out where the error came from. The error function gets called as a callback from a C library/dll and it is easier for the error function to figure out what method (if any) is currently executing than trying to pass the information around somehow...