[libinline-java-perl] 187/398: Fixed dome bugs for 5.005_03.
Jonas Smedegaard
dr at jones.dk
Thu Feb 26 11:43:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.55
in repository libinline-java-perl.
commit 3177aff6b1006193f392f57f037550b35d73d25c
Author: patrick_leb <>
Date: Wed Mar 13 17:03:48 2002 +0000
Fixed dome bugs for 5.005_03.
---
Java/JNI.xs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Java/JNI.xs b/Java/JNI.xs
index 0f2478c..b384c3e 100644
--- a/Java/JNI.xs
+++ b/Java/JNI.xs
@@ -70,7 +70,7 @@ jstring JNICALL jni_callback(JNIEnv *env, jobject obj, jstring cmd){
/*
Here is is important to understand that we cannot croak,
because our caller is Java and not Perl. Croaking here
- scrwes up the Java stack royally and causes crashes.
+ screws up the Java stack royally and causes crashes.
*/
/* Check the eval */
@@ -94,7 +94,7 @@ jstring JNICALL jni_callback(JNIEnv *env, jobject obj, jstring cmd){
may be returned be the callback, and when it gets back to Java
it will already be deleted.
*/
- hook = get_sv("Inline::Java::Callback::OBJECT_HOOK", FALSE) ;
+ hook = perl_get_sv("Inline::Java::Callback::OBJECT_HOOK", FALSE) ;
sv_setsv(hook, POPs) ;
r = (char *)POPp ;
@@ -232,7 +232,7 @@ process_command(this, data)
resp = (*(env))->CallObjectMethod(env, this->ijs, this->process_command_mid, cmd) ;
check_exception(env, "Can't call ProcessCommand in InlineJavaServer") ;
- hook = get_sv("Inline::Java::Callback::OBJECT_HOOK", FALSE) ;
+ hook = perl_get_sv("Inline::Java::Callback::OBJECT_HOOK", FALSE) ;
sv_setsv(hook, &PL_sv_undef) ;
RETVAL = (char *)((*(env))->GetStringUTFChars(env, resp, NULL)) ;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git
More information about the Pkg-perl-cvs-commits
mailing list