Fixed functionality for firm jni.
[libfirm] / firmjni / README
1
2
3 Call
4   sh build_firm_jni
5 to generate a Java native interface for firm.
6
7 Generating the JNI requires various syntactic properties of the
8 header files that restrict legal C.
9
10 Do not use methods that generate a non null terminated String
11 from Idents (as idToStr).  This will probably cause a segmentation
12 fault.
13
14 Some methods generated might not work yet.  Please report this to
15 goetz@ipd.info.uni-karlsruhe.de. Do not use methods with function
16 pointers as arguments.
17
18 For now _all_ enumerators are generated into _all_ classes.
19 This results from deficiencies in the crecoder and will be removed
20 at some place.
21 Use only the enumerators defined in the corresponding c headers.
22 E.g., irm_X is defined in irmode.h, so use Irmode.irm_X, but not
23 Type.irm_X or any other definition in the java files.