I have this structure :
typedef struct s_hashmap
{
t_hashmap_elem **array_elements;
size_t array_size;
void *(*get)(struct s_hashmap **, void *);
void (*add)(struct s_hashmap **, t_hashmap_elem *);
} t_hashmap;
Can I access to array_elements when i'm in get function pointer without pass my variable as parameter like this :
h->get(&h, &key); // h is the t_hashmap variable.
if this is not possible please explain me an other way to do it.
thanks in advance.