Re: Binding to feof
From: Jeffrey Carter (spam_at_spam.com)
Date: 08/28/04
- Next message: Alexander E. Kopilovich: "Re: ADA Popularity Discussion Request"
- Previous message: Ludovic Brenta: "Re: Feasibility of using Ada in new development"
- Maybe in reply to: Jeffrey Carter: "Binding to feof"
- Next in thread: Keith Thompson: "Re: Binding to feof"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 28 Aug 2004 18:51:33 GMT
Steve wrote:
> I just did a quick check on the "C" definition of feof:
>
> int feof(FILE *stream)
>
> It seems that the function requires a pointer to a stream.
> Is your "FILE" type defined as a pointer?
Yes. File_Handle is an access type, with pragma Convention C. It's what
I pass to all the other functions, which also take FILE* parameters, and
they work fine.
-- Jeff Carter "My brain hurts!" Monty Python's Flying Circus 21
- Next message: Alexander E. Kopilovich: "Re: ADA Popularity Discussion Request"
- Previous message: Ludovic Brenta: "Re: Feasibility of using Ada in new development"
- Maybe in reply to: Jeffrey Carter: "Binding to feof"
- Next in thread: Keith Thompson: "Re: Binding to feof"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|