Re: ec_post_event

From: Joachim Schimpf <j.schimpf_at_icparc.ic.ac.uk>
Date: Fri 20 Apr 2001 03:23:15 PM GMT
Message-ID: <3AE05463.A009E235@icparc.ic.ac.uk>
Andreas Strack wrote:
> 
> Hello,
> 
> in spite of some effort I have not been able to use ec_post_event.
> 
> I've tried it like this:
> 
> EC_atom handler("name");
> 
> ec_post_event(handler);
> 
> The compiler didn't want to take it. I included external.h and eclipse_cc.h
> 
> What do I have to do?


You seem to be mixing up the C and C++ interface functions.

For C++ you include _only_ eclipseclass.h.

Then the C++ interface function to post an event is simply

    post_event(handler);


-- 
 Joachim Schimpf              /             phone: +44 20 7594 8187
 IC-Parc, Imperial College   /            mailto:J.Schimpf@ic.ac.uk
 London SW7 2AZ, UK         /    http://www.icparc.ic.ac.uk/eclipse
Received on Fri Apr 20 16:23:57 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:08 PM GMT GMT