Quoting André Malo <[EMAIL PROTECTED]>: > * André Malo <[EMAIL PROTECTED]> wrote: > > > APR_DECLARE(apr_hash_t *) apr_hash_make_custom(apr_pool_t *pool, > > apr_hashfunc_t hash_func) > > Additionally hash_func should be a pointer (also in declaration in in the > hash > struct), shouldn't it?
It is a pointer. Look at the definition: typedef unsigned int (*apr_hashfunc_t)(const char *key, apr_ssize_t *klen); This is how function pointers are made into types. See: http://www.function-pointer.org/fpt.html#chapter2 Ryan