liberty-eiffel
[Top][All Lists]
Advanced

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

Re: [Liberty-eiffel] Array with integers. real and strings


From: Cyril ADRIAN
Subject: Re: [Liberty-eiffel] Array with integers. real and strings
Date: Tue, 29 Mar 2016 10:46:11 +0200

I agree. As for strings, you may use the `to_external` feature. It returns a pointer to the string's (null-terminated) storage area, i.e. a "char*" for C.

Cheers,

2016-03-29 10:38 GMT+02:00 Paolo Redaelli <address@hidden>:
Il 28/03/2016 21:32, Germán Arias ha scritto:
El lun, 28-03-2016 a las 10:38 +0200, Paolo Redaelli escribió:
Can you give me the name of that function? (And an url of
documentation if you don't mind )
http://webserver2.tecgraf.puc-rio.br/iup/en/dlg/iupgetparam.html


You may use the $ operator which gives a POINTER to the address of an
Eiffel feature, variable or so on.

It's a normally seldom used feature of the language but when dealing
with C you will use it more often.
I will try it.

After a quick read of iupgetparam.html I think you definitifely need to use the $ operator to fill a NATIVE_ARRAY[POINTER]



--
Cyril ADRIAN

reply via email to

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