Hi everyone,
I have a trouble at oset modules of gnulib. I have written my dispose
function, I get as parameter a void pointer,
which it seems I must free too. However its prototype is like:
typedef void (*gl_setelement_dispose_fn) (const void *elt);
Then, if I declare my function with a non-const type as first
argument, it will warn me by conflict at prototype.
On the other hand, I declare it as const. It warn me if I try to do
free() on it.
My question is: How to should I use this?
PS: Is not there any documentation of modules itself? Otherwise I
would suggest it.
Thanks in advance ^^
--
λf . (λx . (f (x x)) λx . (f (x x)))