[pkg-mad-maintainers] Bug#436239: Bug#436239: Bug#436239: libid3tag0-dev: header file "/usr/include/id3tag.h" does not contain definition for struct id3_file altough it references it

Kurt Roeckx kurt at roeckx.be
Mon Aug 6 19:32:46 UTC 2007


On Mon, Aug 06, 2007 at 05:20:37PM +0200, Folkert van Heusden wrote:
> > Looks to me like this is an opaque data type.   Its only ever referenced
> > as a pointer type so the user of the API never needs to know what the
> > layout of the type really is.
> 
> Hmmm, I could do (tested and it compiles):
> 
> 	void *handle = (void *)id3_file_open(...);
> 
> but I wonder if that is guaranteed to work.

Afaik, a void pointer can alias any pointer type, so this shouldn't be a
problem.


Kurt





More information about the pkg-mad-maintainers mailing list