greg@eemips.tamu.edu (Greg Economides) (09/14/90)
I have a numerical simulation running in C which will be a part of an Eiffel project. I need to pass quite a bit of data between the simulation and the Eiffel part (an interpreter of the simulator's output). C likes to have large amounts of info passed by a pointer to a structure or something which involves less data moving around than passing all of the actual values. I could try passing an object to the C routine, but I would then need to know how an Eiffel object is represented in C and in what form this object is passed. Can anyone share that information with me? Alternately, if I could pass a pointer to the C routine, that would be alright. In this case, how does one go about implementing a pointer in Eiffel? It seems to me that this option would come very close to violating one or more of Meyer's OOP policies (data hiding). Peace, -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Greg Economides Internet: greg@zadok.tamu.edu Texas A&M University greg@eemips.tamu.edu