mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.exampls Added more comments to AndroidMath
git-svn-id: svn://ultimatepp.org/upp/trunk@9586 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
50006016c9
commit
6576e4eafe
5 changed files with 81 additions and 119 deletions
|
|
@ -3,21 +3,15 @@
|
|||
|
||||
#include <AndroidMathUtility/AndroidMathUtility.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Class: org_upp_AndroidMath_AndroidMath
|
||||
* Method: power
|
||||
* Signature: (II)I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_org_upp_AndroidMath_AndroidMath_power
|
||||
(JNIEnv *, jclass, jint number, jint n)
|
||||
{
|
||||
return AndroidMathUtility::Power(number, n);
|
||||
}
|
||||
JNIEXPORT jint JNICALL Java_org_upp_AndroidMath_AndroidMath_power(
|
||||
JNIEnv *,
|
||||
jclass,
|
||||
jint number,
|
||||
jint n)
|
||||
{
|
||||
return AndroidMathUtility::Power(number, n);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
} // extern "C"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue