[Lazarus] PascalMagick MagickCommandGenesis

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Jun 18 10:00:31 CEST 2012


On Mon, Jun 18, 2012 at 9:44 AM, Esmond Bridgeman
<esmondbridge at gmail.com> wrote:
> Where can I find a good tutorial or tips on translating C headers? (probably
> an unhill struggle as I've minimal C experience)

This page has some info:

http://wiki.freepascal.org/Creating_bindings_for_C_libraries#Manual_conversion_of_C_headers_to_Pascal

I like the manual method, some other people like the h2pas. I think
that h2pas distorces the sources so it makes it harder to maintain
things later on if the bindings change.

Use also the existing PascalMagick bindings as an example of how to do it.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list