summaryrefslogtreecommitdiff
path: root/jpl/JNI
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-04-04 01:59:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-04-04 01:59:26 +0000
commit79cb57f6e01f91d8fff40d69caa187aaa669671b (patch)
treeeabaee443cecc2e9ff909a291c140663c1fd4954 /jpl/JNI
parent053fc87424630413980be29cbecbb76f658c5d74 (diff)
downloadperl-79cb57f6e01f91d8fff40d69caa187aaa669671b.tar.gz
correct places that said newSVpv() when they meant newSVpvn()
p4raw-id: //depot/perl@3217
Diffstat (limited to 'jpl/JNI')
-rw-r--r--jpl/JNI/JNI.xs16
1 files changed, 8 insertions, 8 deletions
diff --git a/jpl/JNI/JNI.xs b/jpl/JNI/JNI.xs
index 080e10f60c..97416db760 100644
--- a/jpl/JNI/JNI.xs
+++ b/jpl/JNI/JNI.xs
@@ -2518,7 +2518,7 @@ GetBooleanArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jboolean))));
}
else
@@ -2548,7 +2548,7 @@ GetByteArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jbyte))));
}
else
@@ -2578,7 +2578,7 @@ GetCharArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jchar))));
}
else
@@ -2608,7 +2608,7 @@ GetShortArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jshort))));
}
else
@@ -2638,7 +2638,7 @@ GetIntArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jint))));
}
else
@@ -2668,7 +2668,7 @@ GetLongArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jlong))));
}
else
@@ -2698,7 +2698,7 @@ GetFloatArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jfloat))));
}
else
@@ -2728,7 +2728,7 @@ GetDoubleArrayElements(array)
}
else {
if (RETVAL_len_) {
- PUSHs(sv_2mortal(newSVpv((char*)RETVAL,
+ PUSHs(sv_2mortal(newSVpvn((char*)RETVAL,
(STRLEN)RETVAL_len_ * sizeof(jdouble))));
}
else