Wrapping C that uses compiler extensions
"Jérôme M. Berger"
jeberger at free.fr
Fri Mar 4 23:58:22 PST 2011
simendsjo wrote:
> On 04.03.2011 22:42, "Jérôme M. Berger" wrote:
>> int main(string[] args) {
>> auto s1 =(); // MH MH
>> auto s2 =(); // OK
>> s2.c =ull; // OK
>> return 0;
>> }
>
> Is part of your message gone?
>
Uh, I did not write that.
>> You can safely ignore the “ATTRIBUTE_FORMAT_FPTR(printf, 4, 5)”.
>
> That I understood :) Thanks!
Then if the issue is with the rest of the definition, it is more or
less equivalent to (you will need to translate the argument
declaration too):
alias size_t function (struct charset_info_st *, char *to, size_t n,
const char *fmt,
...) snprintf;
Jerome
--
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110305/b87f1586/attachment.pgp>
More information about the Digitalmars-d-learn
mailing list