[flac-dev] Are pointers to FLAC__int32 and int interchangeable?

Erik de Castro Lopo mle+la at mega-nerd.com
Thu Oct 8 13:56:03 PDT 2015


lvqcl wrote:

> IMHO in this case it makes sense to change:
> unsigned *val  ->  FLAC__uint32 *val
> int *val       ->  FLAC__int32 *val

For internal APIs (which these are) I prefer the standard C sized types
int32_t uint32_t etc. The "FLAC__" part add nothing.

However, I also don't think its worth the code churn to make these changes
now.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list