diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-02-03 06:13:46 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-02-03 06:13:46 +0000 |
commit | de3807234afd3fe695900166c35bc120f67a5ef4 (patch) | |
tree | 5df2046d6ef1586cc3a1275a5aea8d35e0a255d3 /libjava | |
parent | cf8e13bbc889b696915cef8dbdce555d8f1617a6 (diff) | |
download | gcc-de3807234afd3fe695900166c35bc120f67a5ef4.zip gcc-de3807234afd3fe695900166c35bc120f67a5ef4.tar.gz gcc-de3807234afd3fe695900166c35bc120f67a5ef4.tar.bz2 |
gjavah.c (options): Added `jni' entry.
* gjavah.c (options): Added `jni' entry.
(help): Document -jni.
(flag_jni): New global.
(process_file): Handle JNI output. Don't print text from
-prepend, -add, etc, when generating stubs. Only remove `.class'
suffix if it actually exists.
(main): Create a `.c' file when run with `--jni --stubs'. Create
correct output file name with `--jni'.
(print_include): Mangle header name differently in JNI case.
(HANDLE_METHOD): In JNI mode, call print_method_info to generate
method list.
(print_method_info): Handle JNI case. Put signature info into
method name. Handle case when STREAM is NULL.
(print_name_for_stub_or_jni): New function.
(print_stub_or_jni): Renamed from `print_stub'. Handle JNI.
(print_cxx_classname): Handle JNI.
(print_full_cxx_name): Likewise.
(decode_signature_piece): Likewise.
(overloaded_jni_method_exists_p): New function.
(struct method_name): Added `signature' and `sig_length' fields.
(HANDLE_END_FIELD): Do nothing in JNI mode.
From-SVN: r31767
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions