liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Liberty-eiffel] Problem with agents


From: Germán Arias
Subject: Re: [Liberty-eiffel] Problem with agents
Date: Tue, 22 Dec 2015 12:01:07 -0600

Hi

El mar, 22-12-2015 a las 07:21 +0100, Paolo Redaelli escribió:
> I gave a quick glance at iup documentation. 
> The issue is probably because each feature called foo in an Eiffel
> class called BAR is translated into a call like 
> 
> BARfoo (void *current,..... All the argument of foo) 
> 

If I use something like 

ROUTINE[ANY, TUPLE]

as explained here:

http://www.jot.fm/issues/issue_2004_04/article7/

I get this compiler warning:

****** Warning: The base type is no longer used. Class ROUTINE
now has only one formal argument. Just remove this unused type
mark.

Line 9 column 21 in IUP_WIDGET
(/home/german/Instalados/tests/liberty/iup_test/auxiliary/iup_widget.e):
   cb_action: ROUTINE[ANY, TUPLE]
                      ^          

As far as I understand, this first argument represent the object which
to routine belongs. But according with the warning, this argument is not
used anymore. So, how know Eiffel where should be executed that routine?
This seems to be the problem. Because I'm doing this using as reference
the article I cited above.

Germán





reply via email to

[Prev in Thread] Current Thread [Next in Thread]