source:
issm/oecreview/Archive/13393-13976/ISSM-13526-13527.diff@
13980
Last change on this file since 13980 was 13980, checked in by , 12 years ago | |
---|---|
File size: 6.2 KB |
-
../trunk-jpl/src/android/helloworld/HelloWorldJNI/CLibHelloWorld.dll
Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
../trunk-jpl/src/android/helloworld/HelloWorldJNI/HelloWorld.class
Property changes on: ../trunk-jpl/src/android/helloworld/HelloWorldJNI/CLibHelloWorld.dll ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Added: svn:executable ## -0,0 +1 ## +* Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
../trunk-jpl/src/android/helloworld/HelloWorldJNI/Results.jpg
Property changes on: ../trunk-jpl/src/android/helloworld/HelloWorldJNI/HelloWorld.class ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Added: svn:executable ## -0,0 +1 ## +* Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
../trunk-jpl/src/android/helloworld/HelloWorldJNI/HelloWorld.h
Property changes on: ../trunk-jpl/src/android/helloworld/HelloWorldJNI/Results.jpg ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Added: svn:executable ## -0,0 +1 ## +*
1 /* DO NOT EDIT THIS FILE - it is machine generated */ 2 #include <jni.h> 3 /* Header for class HelloWorld */ 4 5 #ifndef _Included_HelloWorld 6 #define _Included_HelloWorld 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 /* 11 * Class: HelloWorld 12 * Method: print 13 * Signature: ()V 14 */ 15 JNIEXPORT void JNICALL Java_HelloWorld_print 16 (JNIEnv *, jobject); 17 18 #ifdef __cplusplus 19 } 20 #endif 21 #endif -
../trunk-jpl/src/android/helloworld/HelloWorldJNI/Main.java
Property changes on: ../trunk-jpl/src/android/helloworld/HelloWorldJNI/HelloWorld.h ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +*
1 class Main 2 { 3 public static void main (String[] args) 4 { 5 HelloWorld hw = new HelloWorld(); 6 hw.print(); 7 } 8 } 9 No newline at end of file -
../trunk-jpl/src/android/helloworld/HelloWorldJNI/Main.class
Property changes on: ../trunk-jpl/src/android/helloworld/HelloWorldJNI/Main.java ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
-
../trunk-jpl/src/android/helloworld/HelloWorldJNI/HelloWorld.java
Property changes on: ../trunk-jpl/src/android/helloworld/HelloWorldJNI/Main.class ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Added: svn:executable ## -0,0 +1 ## +*
1 class HelloWorld 2 { 3 public native void print(); //native method 4 static //static initializer code 5 { 6 System.loadLibrary("CLibHelloWorld"); 7 } 8 } 9 class Main 10 { 11 public static void main (String[] args) 12 { 13 HelloWorld hw = new HelloWorld(); 14 hw.print(); 15 } 16 } 17 No newline at end of file -
../trunk-jpl/src/android/helloworld/HelloWorldJNI/HelloWorld.cpp
Property changes on: ../trunk-jpl/src/android/helloworld/HelloWorldJNI/HelloWorld.java ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +*
1 #include <stdio.h> 2 #include <jni.h> 3 #include "HelloWorld.h" 4 JNIEXPORT void JNICALL Java_HelloWorld_print(JNIEnv *env, jobject obj) 5 { 6 printf("Hello World!\n"); 7 return; 8 } 9 No newline at end of file
Note:
See TracBrowser
for help on using the repository browser.