int (*is_space)(unsigned char);
int (*is_term)(unsigned char);
size_t blk_size;
void *(*malloc_func)(size_t);
void *(*realloc_func)(void *, size_t);
I am not very clear about what these types and declarations refer to.
Can anyone help me?
int (*is_space)(unsigned char);
int (*is_term)(unsigned char);
size_t blk_size;
void *(*malloc_func)(size_t);
void *(*realloc_func)(void *, size_t);
I am not very clear about what these types and declarations refer to.
Can anyone help me?
These are function pointers.
For example, is_space
is a pointer to a type of function which takes unsigned char
as parameter and returns an int
These are useful to define callback functions.