* (by command 'javah -jni class_with_native_function')
*
* @author Lukas Pokorny (lukas_pokorny@centrum.cz)
+ * @author Martin Vajnar (martin.vajnar@gmail.com)
* @author CTU FEE Prague - Department of Control Engineering (dce.felk.cvut.cz)
* @author Project ORTE - OCERA Real Time Ethernet (www.ocera.org)
* @author dedication to Kj
*
*/
-#include <string.h>
-#include <stdlib.h>
-// library header file's path
-#include "orte.h"
-// enable TEST_STAGE run level
-#include "jorte/4all.h"
-// pregenerated header
-#include "jorte/org_ocera_orte_Subscription.h"
+#include "jorte/jorte.h"
JNIEXPORT jobject JNICALL
Java_org_ocera_orte_Subscription_jORTESubscriptionGetStatus
-(JNIEnv *env, jobject obj, jint j_appDomain_handle)
+(JNIEnv *env, jobject obj, jlong j_appDomain_handle)
{
// jni types
jclass cls_ss = NULL; // class of SubsStatus
break;
}
// find cls
- cls_ss = (*env)->FindClass(env,"org/ocera/orte/types/Status");
+ cls_ss = findClass(env,"org.ocera.orte.types.Status");
if(cls_ss == 0)
{
#ifdef TEST_STAGE