Re: Two questions about converting a C header file

2010-09-24 Thread Sean Kelly
Juanjo Alvarez Wrote: > Hi, > > I'm converting a C header file but there are two things left: > > 1. If the header file contains some D reserved word (in my case, "in" and > "out" in a struct) what is the best way to workaround it? Do you write > another C file and link about it? The conventi

Re: Two questions about converting a C header file

2010-09-23 Thread Juanjo Alvarez
Auto reply, found both: 1. Just rename the varname, stupid stupid stupid! 2. import std.c.stdarg On Thu, 23 Sep 2010 19:44:44 +, Juanjo Alvarez wrote: > Hi, > > I'm converting a C header file but there are two things left: > > 1. If the header file contains some D reserved word (in my cas

Two questions about converting a C header file

2010-09-23 Thread Juanjo Alvarez
Hi, I'm converting a C header file but there are two things left: 1. If the header file contains some D reserved word (in my case, "in" and "out" in a struct) what is the best way to workaround it? Do you write another C file and link about it? 2. What about va_list?