X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/blobdiff_plain/3b7435b13a7df0f58e75eeb0fca137ad0fff879c..51bf20f848625b4b9ec02dc016537945efc21a02:/orte/include/jorte/4all.h diff --git a/orte/include/jorte/4all.h b/orte/include/jorte/4all.h index d17624f..d9bc2f0 100644 --- a/orte/include/jorte/4all.h +++ b/orte/include/jorte/4all.h @@ -1,4 +1,31 @@ /* 4all.h */ + +/** + * This code provides conversion between JAVA a C environments. + * The C functions are calling here and results are send to JAVA + * native functions. It uses the header pregenerated by JAVA + * (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 + * @version 0.1 + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + /* typedef struct { @@ -9,5 +36,17 @@ typedef struct } JORTECallbackContext_t; */ // pro test purposes only +#ifndef Included4all +#define Included4all + //#define TEST_STAGE +#include + +#ifdef __ANDROID__ + +#include +#define printf(...) __android_log_print(ANDROID_LOG_INFO, "ORTE", __VA_ARGS__) + +#endif +#endif