Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!uw-june!klaiber
From: klaiber@june.cs.washington.edu (Alexander Klaiber)
Newsgroups: comp.lang.eiffel
Subject: Calling Eiffel from C
Message-ID: <9033@june.cs.washington.edu>
Date: 17 Aug 89 23:24:00 GMT
Reply-To: klaiber@uw-june.cs.washington.edu (Alexander Klaiber)
Organization: University of Washington, Computer Science, Seattle
Lines: 16


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