[fpc-devel] Publish some of FPC's internal cross-platform functionality

Sven Barth pascaldragon at googlemail.com
Sat Mar 9 19:58:24 CET 2019


Anton Shepelev <anton.txt at gmail.com> schrieb am Sa., 9. März 2019, 18:09:

> It would relieve the programmer of writing conditionally
> compiled OS-specific code sections for such basic operations
> as are already implemented in FreePascal's internals.  I,
> for example, have to do it whenever my Windws/Unix program
> works with a file handle.
>

Use the already published interfaces for that, after all that's the reason
why those functions are there at all (for this specific case it would be
FileRead/FileWrite).

Otherwise I agree with Michael. Publishing them directly means maintaining
them.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190309/4871f5e6/attachment.html>


More information about the fpc-devel mailing list