Re: gec: Is it possible to specify a signature for a external C call?
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> Wed, 14 Nov 2007 13:44:53 +0100
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Eric Bezault wrote: > Berend de Boer wrote: >> For ISE it generates the prototype in a .c file: >> >> extern EIF_REAL_64 posix_difftime(EIF_INTEGER_32, EIF_INTEGER_32); >> >> >> If I add a header with: >> >> external "C use <time.h>" >> >> No such prototype is created. >> >> So their behaviour is intentional and it allows everyone to link to >> libraries without having to know how to write header files (or having to >> distribute them if you distribute your C code). > > I'll do like ISE It's now implemented in the version of gec in SVN. -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com