Well, some victory!
Example.h:
/** This is a block describing enum
*/
enum color { RED, BLUE, GREEN };
/*! This is describing class foo
*/
class Foo {
public:
Foo() { }
enum speed { IMPULSE=10, WARP=20, LUDICROUS=30 };
void enum_test(speed s);
};
/*! This is describing enum test
\param c the color c
\param s the speed
*/
void enum_test(color c, Foo::speed s);
The TOP of foo.java
/* This was generated from emitProxyClassDefAndCPPCasts() */
/**
* This is describing class foo
*
*/
public class Foo {
and finally-
public class example {
/* This was generated from moduleClassFunctionHandler() */
/**
* This is describing enum test
*
* @param s the speed
* @param c the color c
*/
public static void enum_test(color c, Foo.speed s) {
exampleJNI.enum_test(c.swigValue(), s.swigValue());
}
}
WOOHOO!!!
Lots more to work on, but getting it to go all the way through feels nice.
The extra text I generate right (what java.cxx function it came from) is just helping me make sure everything is related to/attaches in the right place. :)
whee!