Changeset 1727 for trunk/lang/java/jRpLibrary.cc
- Timestamp:
- May 20, 2010 2:13:17 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/java/jRpLibrary.cc
r1722 r1727 1 /* 2 * ====================================================================== 3 * AUTHOR: Ben Rafferty, Purdue University 4 * Copyright (c) 2010 Purdue Research Foundation 5 * 6 * See the file "license.terms" for information on usage and 7 * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 8 * ====================================================================== 9 */ 10 11 /* 12 * This file defines the native functions which are called by the java Library 13 * class methods, and in turn call the corresponding rappture RpLibrary methods. 14 */ 15 1 16 #include "jRpLibrary.h" 2 17 #include "rappture.h" 3 18 4 // constructor 19 /* 20 * Constructor. Returns the address of the newly created RpLibrary object to 21 * java as a long int. 22 */ 5 23 JNIEXPORT jlong JNICALL Java_rappture_Library_jRpLibrary 6 24 (JNIEnv *env, jobject obj, jstring javaPath){ … … 11 29 } 12 30 13 // Pseudo-destructor 31 /* 32 * Pseudo-destructor. This function is called by the java Library class's 33 * finalizer. 34 */ 14 35 JNIEXPORT void JNICALL Java_rappture_Library_jRpDeleteLibrary 15 36 (JNIEnv *env, jobject obj, jlong libPtr){
Note: See TracChangeset
for help on using the changeset viewer.