Francois Gouget fgouget@free.fr writes:
Hmm, this is not the same as the PSDK. The PSDK only defines 'enum Status { ... }' which, in theory, should only allow one to use 'enum Status' and not 'Status'. Yet the PSDK headers seem to make use of 'Status'. This might be different in C++ though... So on the whole it's probably ok to use a typedef. I just prefer to bring this up so others can chime in.
I think it's better without the typedef, in C we can simply use 'enum Status'.