/usr/share/vala/vapi/lunar-date-2.0.vapi is in liblunar-date-2.0-0 2.4.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /* lunar-date-2.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Lunar", gir_namespace = "LunarDate", gir_version = "2.0", lower_case_cprefix = "lunar_")]
namespace Lunar {
[CCode (cheader_filename = "lunar-date/lunar-date.h", type_id = "lunar_date_get_type ()")]
public class Date : GLib.Object {
[CCode (has_construct_function = false)]
public Date ();
[Version (since = "2.4.0")]
public static unowned string check_version (uint required_major, uint required_minor, uint required_micro);
public void free ();
public string get_jieri (string delimiter);
public void set_lunar_date (GLib.DateYear year, GLib.DateMonth month, GLib.DateDay day, uint8 hour, bool isleap) throws GLib.Error;
public void set_solar_date (GLib.DateYear year, GLib.DateMonth month, GLib.DateDay day, uint8 hour) throws GLib.Error;
public string strftime (string format);
}
[CCode (cheader_filename = "lunar-date/lunar-date.h", cprefix = "LUNAR_DATE_ERROR_")]
public errordomain DateError {
INTERNAL,
YEAR,
MONTH,
DAY,
HOUR,
LEAP;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "lunar-date/lunar-date.h", cname = "LUNAR_DATE_MAJOR_VERSION")]
[Version (since = "2.4.0")]
public const int DATE_MAJOR_VERSION;
[CCode (cheader_filename = "lunar-date/lunar-date.h", cname = "LUNAR_DATE_MICRO_VERSION")]
[Version (since = "2.4.0")]
public const int DATE_MICRO_VERSION;
[CCode (cheader_filename = "lunar-date/lunar-date.h", cname = "LUNAR_DATE_MINOR_VERSION")]
[Version (since = "2.4.0")]
public const int DATE_MINOR_VERSION;
[CCode (cheader_filename = "lunar-date/lunar-date.h")]
[Version (deprecated = true, deprecated_since = "2.4.0")]
public static void init (int argc, string argv);
}
|