[fpc-pascal] Problem with h2pas

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Mar 18 22:30:08 CET 2006


On 3/18/06, Michael Van Canneyt <michael at freepascal.org> wrote:
> The problem is the 'MagickExport'. Remove that and it'll work fine.
> This is a macro, and h2pas does not support macros.

Ok, I removed it and h2pas doesn't complain now.

One more problem occured, however. On this declaration:

extern MagickExport MagickBooleanType
 AnimateImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *),
 AnimateImages(const ImageInfo *,Image *);

It only creates the first function. It ignores the second. Apparently
h2pas doesn't support this kind of declaration.

thanks,
--
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list