LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: pmlopes on September 20, 2007, 11:48:32

Title: how does the annotation and generator works?
Post by: pmlopes on September 20, 2007, 11:48:32
Hi guys,

I've been following the LWJGL project for a while and I'd like to extend the library in order to add native video playback in the window. I managed to get the native decoding lib to compile and now i'd like to generate the java wrapper but i've no clue on how it works.

Can someone give me some pointers on this?

Thanks!
Title: Re: how does the annotation and generator works?
Post by: elias on September 20, 2007, 12:11:31
You'll find the generator most useful for opengl/openal like apis, with simple parameters and return types. Anything else is probably better server by a more generic JNI glue generator (gluegen?) or by hand.

- elias
Title: Re: how does the annotation and generator works?
Post by: Matzon on September 20, 2007, 12:26:50
I recommend doing it by hand, if you only have a handfull (pun intended) entry points