return func (fd) == 1;
}
+ [PrintfFormat]
private inline void msg (string type, string type_color_start, string type_color_end, string file, long line, long startpos, long endpos,
string errline, string msg_format, va_list args)
{
this.stream.puts (message.offset (start));
}
+ [PrintfFormat]
public void simple_warning (string? location, string msg_format, ...) {
var args = va_list();
this._warnings++;
}
+ [PrintfFormat]
public void simple_error (string? location, string msg_format, ...) {
var args = va_list();
this._errors++;
}
+ [PrintfFormat]
public void simple_note (string? location, string msg_format, ...) {
if (_settings == null || _settings.verbose) {
var args = va_list();
}
}
+ [PrintfFormat]
public void error (string file, long line, long startpos, long endpos, string errline,
string msg_format, ...)
{
this._errors++;
}
+ [PrintfFormat]
public void warning (string file, long line, long startpos, long endpos, string errline,
string msg_format, ...)
{
public static ErrorLevel errno;
[CCode (cname = "agerr")]
+ [PrintfFormat]
public static int error (ErrorLevel level, string fmt, ...);
[CCode (cname = "agerrors")]
public static string? last_error ();
[CCode (cname = "agerrorf")]
+ [PrintfFormat]
public static void errorf (string format, ...);
[CCode (cname = "agwarningf")]
+ [PrintfFormat]
void warningf (string fmt, ...);
}