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?

Marc


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

Reply via email to