Esempio n. 1
0
File: math.c Progetto: freeVM/freeVM
JNIEXPORT jdouble JNICALL
Java_java_lang_Math_log (JNIEnv * env, jclass jclazz, jdouble arg1)
{
  return internal_log (arg1);
}
Esempio n. 2
0
// API ------------------------------------------------------------------------
// ----------------------------------------------------------------------------
int console_log(lua_State *L) {
    return internal_log(
               L, "log",
               "\x1b[0m", "\x1b[34m", "\x1b[37m", "\x1b[31m", "\x1b[31m", "\x1b[32m"
           );
}
Esempio n. 3
0
int console_warn(lua_State *L) {
    return internal_log(
               L, "warn",
               "\x1b[0m", "\x1b[33m", "\x1b[33m", "\x1b[33m", "\x1b[33m", "\x1b[33m"
           );
}
Esempio n. 4
0
int console_error(lua_State *L) {
    return internal_log(
               L, "error",
               "\x1b[0m", "\x1b[31m", "\x1b[31m", "\x1b[31m", "\x1b[31m", "\x1b[31m"
           );
}
Esempio n. 5
0
int console_info(lua_State *L) {
    return internal_log(
               L, "info",
               "\x1b[0m", "\x1b[34m", "\x1b[34m", "\x1b[34m", "\x1b[34m", "\x1b[34m"
           );
}