home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / eiffel / 1314 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.0 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!stanford.edu!rutgers!igor.rutgers.edu!paul.rutgers.edu!partha
  2. From: partha@paul.rutgers.edu (nowhere_man)
  3. Newsgroups: comp.lang.eiffel
  4. Subject: Eiffel internals
  5. Keywords: id of the caller..
  6. Message-ID: <Nov.17.18.57.56.1992.26484@paul.rutgers.edu>
  7. Date: 17 Nov 92 23:57:56 GMT
  8. Organization: Rutgers Univ., New Brunswick, N.J.
  9. Lines: 14
  10.  
  11.  
  12. I might need this for my work.Suppose class C declares x of class type
  13. D, creates it and invokes x.m, where m is a method properly defined in
  14. class D. Now is there any way to find out at the callee (ie in class
  15. D) the (pointer to the) object of type C that calls the method m?
  16.  
  17. I dont mind calling C routines from eiffel, so it doesn't have to be
  18. an eiffel solution using some exotic(!) library class, all i need is a
  19. handle on the caller at the callee end. It has to be there somewhere
  20. in some stack that keeps the run time state of the eiffel system.. is
  21. it possible at all to sneak around an access that?
  22.  
  23.  
  24. Any help is much appreciated.
  25.