|
Last change
on this file since 1465 was 1392, checked in by bird, 22 years ago |
|
This commit was generated by cvs2svn to compensate for changes in r1391,
which included commits to RCS files with non-trunk default branches.
|
-
Property cvs2svn:cvs-rev
set to
1.1.1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
306 bytes
|
| Line | |
|---|
| 1 | #include <stdlib.h>
|
|---|
| 2 |
|
|---|
| 3 | #include <findclass.h>
|
|---|
| 4 |
|
|---|
| 5 | JNIEXPORT jclass JNICALL
|
|---|
| 6 | Java_findclass_doit (JNIEnv *env, jclass klass, jstring name)
|
|---|
| 7 | {
|
|---|
| 8 | const char *buf = (*env)->GetStringUTFChars (env, name, NULL);
|
|---|
| 9 | jclass k = (*env)->FindClass (env, buf);
|
|---|
| 10 | (*env)->ReleaseStringUTFChars (env, name, buf);
|
|---|
| 11 | return k;
|
|---|
| 12 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.