[fpc-pascal] Help converting h-file

Koenraad Lelong fpascal at brouwerij.homelinux.net
Sun Sep 7 15:35:53 CEST 2008


Hi,
I want to convert a h-file of a c-library and h2pas has problems with it.
The file contains "static inline" functions.
A second problem is the "volatile" keyword that's used in the function.

How do I approach this ?
Google helped me understand the "volatile" keyword, but is there a
Pascal alternative ?
The "static inline" is more difficult to understand.
I add the original source, and the resulting h2pas file so you can see
what's happening.

Any help ?
As allways, TIA.

Regards,
Koenraad Lelong
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdevmem.tar.gz
Type: application/x-gzip
Size: 1551 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20080907/04717b16/attachment.bin>


More information about the fpc-pascal mailing list