android :: Intent :: add_extra_short
# Adds extra data corresponding to `short` java type
# Returns `self` allowing fluent programming
# *Be aware of possible integer overflow as Nit `Int` corresponds to*
# *java `long` and the expected value is a java `short`*
# Consider using add_extra_long instead
fun add_extra_short(name: String, value: Int): Intent
do
sys.jni_env.push_local_frame(1)
intent.add_extra_short(name.to_java_string, value)
sys.jni_env.pop_local_frame
return self
end
lib/android/intent/intent_api10.nit:1244,2--1255,4