struct pointsto_val_def
{
unsigned int lhs;
bitmap rhs;
struct pointsto_val_def *next;
};
typedef struct pointsto_val_def *pointsto_val;
typedef pointsto_val *pointsto_val_hash;
Can the last two statements be simply replaced by this one statement?
typedef struct pointsto_val_def *pointsto_val_hash
Thanks in advance. Cheers.
I think the answer is no.Because the type of pointsto_val_hash is
struct pointsto_val_def**, that means pointsto_val_hash is a pointer which is pointed tostruct pointsto_val_def*.And your replacement means a pointer which is pointed tostruct pointsto_val_def, they are not the same.