ochafik/nativelibs4java — Issue #284: Regression: Conversion Error with #define's
Author: ParoX2k
Created: 2012-03-08 10:09:04+00:00
State: open

#defines can't be parsed with jnaerator-0.9.10-SNAPSHOT-20120306, whereas it works with jnaerator-0.9.10-SNAPSHOT-20120222.

test.h:
***
#define TESTDEF 1
***

parsed with jnaerator-0.9.10-SNAPSHOT-20120222 (works):
***
public class TestLibrary {
static {
BridJ.register();
}
/// native declaration : test.h
public static final int TESTDEF = (int)1;
}
***

parsed with jnaerator-0.9.10-SNAPSHOT-20120306 (fails):
***
public class TestLibrary {
static {
BridJ.register();
}
/**
* define

* Conversion Error : 1

* SKIPPED:

* native declaration : test.h:0

* 1
*/
}
***