source:
trunk/lang/java/jRpUtils.cc
@
1722
Last change on this file since 1722 was 1722, checked in by braffert, 14 years ago | |
---|---|
File size: 345 bytes |
Line | |
---|---|
1 | #include "jRpUtils.h" |
2 | #include "rappture.h" |
3 | |
4 | JNIEXPORT void JNICALL Java_rappture_Utils_jRpUtilsProgress |
5 | (JNIEnv *env, jclass cls, jint percent, jstring javaText){ |
6 | const char* nativeText = env->GetStringUTFChars(javaText, 0); |
7 | Rappture::Utils::progress(percent, nativeText); |
8 | env->ReleaseStringUTFChars(javaText, nativeText); |
9 | return; |
10 | } |
11 |
Note: See TracBrowser
for help on using the repository browser.