[fpc-pascal] h2pas and implicit types

Marc Santhoff M.Santhoff at t-online.de
Sat Sep 9 00:57:33 CEST 2006

Am Freitag, den 08.09.2006, 19:46 +0200 schrieb Mattias Gaertner:
> I'm currently working on a h2pas gui for lazarus.
> (lazarus/components/h2pas/h2paswizard.lpk).
> h2pas does not translate every c 'sugar'. 

4. Example: Function pointers getting "void" type

H5MM_allocate_t = void;

function H5Pset_vlen_mem_manager(plist_id:hid_t; 
  alloc_func:H5MM_allocate_t; alloc_info:pointer;
  free_func:H5MM_free_t; free_info:pointer):herr_t;cdecl;external;

How should the mapping to pascal be? Would NIL be sufficient because
it's some typed pointer?


More information about the fpc-pascal mailing list