It seems h2pas silently skips function types. 

For example h2pas simply skips the following typedef without any trace
in the translation:

typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void
*, void *, int *);

In the h2pas.pas code I found something that looks promising:
around line 1920:

  32 : begin
         
         (* TYPEDEF type_specifier LKLAMMER dec_modifier declarator RKLAMMER 
maybe_space LKLAMMER argument_declaration_list RKLAMMER SEMICOLON *)


Does someone know about the state of function types and h2pas?


Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to