Example #1
0
void
cml_warningl(const cml_location *loc, const char *fmt, ...)
{
    va_list args;
    
    va_start(args, fmt);
    call_error_func(CML_WARNING, loc, fmt, args);
    va_end(args);
}
Example #2
0
void
cml_messagelv(
    cml_severity sev,
    const cml_location *loc,
    const char *fmt,
    va_list args)
{
    call_error_func(sev, loc, fmt, args);
}
Example #3
0
void
cml_infol(const cml_location *loc, const char *fmt, ...)
{
    va_list args;
    
    va_start(args, fmt);
    call_error_func(CML_INFO, loc, fmt, args);
    va_end(args);
}
Example #4
0
void
cml_messagel(
    cml_severity sev,
    const cml_location *loc,
    const char *fmt, ...)

{
    va_list args;
    
    va_start(args, fmt);
    call_error_func(sev, loc, fmt, args);
    va_end(args);
}
Example #5
0
/* The error reporter callback. */
void error_callback(JSContext *cx, const char *message, JSErrorReport *report) {
	call_error_func(JS_GetContextPrivate(cx), (char*)message, report);
}