Luke Crook <[EMAIL PROTECTED]> writes:

> Any CFFI swiggers still listening?
>
> I'm trying to %ingore the SDL_EventType enums in lispbuilder-sdl sdlswig.i 
> file 
> using an %ignore for each enum. This does not work and SWIG will 'ignore' 
> these
>  %ignore's and process these enums. What am I doing wrong?
>
> %ignore SDL_EventType;
> %ignore SDL_NOEVENT;
>

Seems to be working for me with the latest trunk SWIG. 
The ignores should be before the declaration.


test.h

enum SDL_EventType {A,B};
-----
test.i 

%module test
%ignore SDL_EventType;
%ignore SDL_NOEVENT;

%include "test.h"
----
test.lisp
-----

Can you please give some more detail.

Thanks!
-- 
Surendra Singhi

_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to