From: Matthew Gabeler-L. <ms...@po...> - 2000-07-16 16:43:55
|
On Sat, 15 Jul 2000, JPT wrote: > I just tried > h2pas lircd_client.h > but h2pas aborts on line 70: > int lirc_readconfig (char *file, struct lirc_config **config, int (check) > (char *s)); > > the (char *s) seems to be the problem?!?! > Do you have any idea what could cause the chrash? I'm not very familiar with > c ;-) > Could someone translate this parameterlist into a human-readable format? ;-) The last parameter is a function pointer. A more sane person migt define the following: typedef int (readconfig_callback)(char *s); int lirc_readconfig(char *file, struct lirc_config **config, readconfig_callback check); At least, I think that's what it would look like (minor syntax errors might be there). I'm not sure pascal even supports function pointers, which would make it rather difficult for h2pas to translate this function declaration. -- -Matt [Nuclear war] ... may not be desirable. -- Edwin Meese III |