diff --git a/bindings/java/src/jni/generate.pl b/bindings/java/src/jni/generate.pl index f9db8fb2..5ed16fe2 100644 --- a/bindings/java/src/jni/generate.pl +++ b/bindings/java/src/jni/generate.pl @@ -1474,5 +1474,12 @@ EOF close JFH; } +my $jsigar = "../../src/jni/javasigar.c"; +open JSIGAR, $jsigar or die "open $jsigar: $!"; +while () { + next unless /SIGAR_JNI\(([A-Za-z_]+)\)/; + print DFH "Java_net_hyperic_sigar_$1\n"; +} + close CFH; close DFH;