Re: [q-lang-users] Q and SDL
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2007-04-18 21:34:31
|
Andrew Berg wrote: > After a long, distracting series of illnesses, I'm working once again > at using SWIG to allow Q to call SDL. Hi Andrew, sorry to hear about your illness, I hope you're well again? Otherwise my best wishes for a speedy recovery! > The problem that I run into is that I > get some warnings from swig. > > SDL_keyboard.i:25: Warning(314): mod is a Q keyword > SDL_events.i:72: Warning(314): type is a Q keyword Looks like q-swig is a bit overzealous with those warnings, those field names shouldn't actually give you any problems because the generated setters and getters for the struct fields should be stropped with both a leading struct name and a trailing _set or _get. If the generated .q wrapper script compiles cleanly then you should be safe. I've put the bogus warnings on my TODO list for the next q-swig release. Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |