Re: gec: Is it possible to specify a signature for a external C call?
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> Tue, 13 Nov 2007 22:11:34 +0100
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Berend de Boer wrote: >>>>>> "Eric" == Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> writes: > > >> It works, because they emit a prototype. That had to be coded, so > >> it's not luck. > > Eric> The luck is that it's not specified anywhere in the standard > Eric> and you might have no prototype if you specify a header file > Eric> that does not contain such prototype. > > Well, but that's a bug of the coder isn't it? You specify a header file, > but one without the prototype, there's little you can do. In fact you can specify several header files. This means that not all of them will introduce a prototype for the routine. Some may specify a C type for example. So I don't think it is necessarily a bug of the coder. -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com