From: Josh C. <jc...@nc...> - 2008-09-23 19:39:02
|
On Tue, 23 Sep 2008, Rohit Garg wrote: > I know that the subject is somewhat confusing as SWIG generates > wrappers for ANSI c/c++. But I really need them. The only one I am > using is the __attribute__((alignment(16))) extension so that my data > can be safely used with sse extensions. And that too only with private > variables. Googling for 'swig alignment' or 'swig data alignment' did > not fetch useful results. What do you mean by "use"? You may just need for SWIG to ignore them. You should be able to accomplish this by feeding SWIG a macro definition of __attribute__() that turns into nothing. Josh |