AndroidJNI.SetShortArrayElement 设置短整数数组元素


static function SetShortArrayElement (array : IntPtr, index : int, val : Int16) : void

Description描述

Sets the value of one element in a primitive array.

设置一个基本数组一个元素的值。

This function is a special case of SetShortArrayRegion(), called with region size set to 1.

这个函数是一个特殊情况的SetShortArrayRegion(),就是region大小设置为1时。

参见: Java Native Interface Specification (Oracle)


,