|
From: | Antonio Diaz Diaz |
Subject: | Re: [Lzip-bug] Restarting an lzip member at any time |
Date: | Mon, 14 Dec 2009 12:22:52 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Jacob Rief wrote:
To which standard of C do you want your API being compatible? If its C99 then you only need one forward declaration and the repeated use of struct LZ_Encoder * is too verbose for an API, a simple LZ_Encoder* will do the job, just as in C++.
I didn't know C99 accepts LZ_Encoder as a type and not only as a label as C89 does.
In any case, it seems GCC still uses C89 by default, So I'll stick to C89 for now.
Regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |