klaiber@june.cs.washington.edu (Alexander Klaiber) (08/18/89)
I know that I can call routines written in C fron within Eiffel; what I am wondering is whether the opposite is also possible: calling Eiffel from C. I assume that I have a pointer to an Eiffel object, I know what its type (i.e. class) is and I want to call one particular method. Now, what's the way to do this from C? Any takers from Interactive? For the curious: I need this to be able to do callbacks in a window-system environment; the low-level window stuff has to be in C, but I have to be able to call Eiffel routines for the high-level event handling. Any help would be greatly appreciated -- Alexander Klaiber klaiber@cs.washington.edu
bertrand@eiffel.UUCP (Bertrand Meyer) (08/22/89)
From <9033@june.cs.washington.edu>, klaiber@june.cs.washington.edu (Alexander Klaiber): > > I know that I can call routines written in C fron within Eiffel; what I am > wondering is whether the opposite is also possible: calling Eiffel from C. A previous message mentioned the availability of routines for calling Eiffel from C. They have been e-mailed to a number of people who requested them and I am mailing a copy to Mr. Klaiber. They are included as a standard part of 2.2. -- Bertrand Meyer bertrand@eiffel.com