JNIEXPORT jdouble JNICALL Java_java_lang_Math_log (JNIEnv * env, jclass jclazz, jdouble arg1) { return internal_log (arg1); }
// API ------------------------------------------------------------------------ // ---------------------------------------------------------------------------- int console_log(lua_State *L) { return internal_log( L, "log", "\x1b[0m", "\x1b[34m", "\x1b[37m", "\x1b[31m", "\x1b[31m", "\x1b[32m" ); }
int console_warn(lua_State *L) { return internal_log( L, "warn", "\x1b[0m", "\x1b[33m", "\x1b[33m", "\x1b[33m", "\x1b[33m", "\x1b[33m" ); }
int console_error(lua_State *L) { return internal_log( L, "error", "\x1b[0m", "\x1b[31m", "\x1b[31m", "\x1b[31m", "\x1b[31m", "\x1b[31m" ); }
int console_info(lua_State *L) { return internal_log( L, "info", "\x1b[0m", "\x1b[34m", "\x1b[34m", "\x1b[34m", "\x1b[34m", "\x1b[34m" ); }