mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
.exmaples added Android builder additional commentary
git-svn-id: svn://ultimatepp.org/upp/trunk@8660 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2dc6459f34
commit
6c414a10e8
2 changed files with 7 additions and 2 deletions
|
|
@ -11,9 +11,9 @@ file
|
|||
Vector.cpp,
|
||||
Math readonly separator,
|
||||
Vector.java,
|
||||
AndroidMath.java,
|
||||
Runtime readonly separator,
|
||||
AndroidManifest.xml,
|
||||
AndroidMath.java,
|
||||
AndroidMathActivity.java;
|
||||
|
||||
mainconfig
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package org.upp.AndroidMath;
|
||||
|
||||
/**
|
||||
* Class which whole implementaiton is native.
|
||||
* Class which whole funtional implementaiton is native.
|
||||
*/
|
||||
public class Vector
|
||||
{
|
||||
|
|
@ -15,6 +15,9 @@ public class Vector
|
|||
copyConstruct(vec);
|
||||
}
|
||||
|
||||
/**
|
||||
* We override finalize method due to possibilite of memory leaks.
|
||||
*/
|
||||
@Override
|
||||
protected void finalize() throws Throwable
|
||||
{
|
||||
|
|
@ -37,6 +40,8 @@ public class Vector
|
|||
private native void destroy();
|
||||
|
||||
static {
|
||||
// In this place we are loading native libraries.
|
||||
// Native library always has upp package name!
|
||||
System.loadLibrary("AndroidMath");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue