how does the annotation and generator works?

Started by pmlopes, September 20, 2007, 11:48:32

Previous topic - Next topic

pmlopes

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!

elias

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

Matzon

I recommend doing it by hand, if you only have a handfull (pun intended) entry points