[vala] glib-2.0: add missing symbols from 2.38
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: add missing symbols from 2.38
- Date: Sun, 16 Feb 2014 19:00:37 +0000 (UTC)
commit f4d75c4477cc6e3e8a316b045df69e15825419f4
Author: Evan Nemerson <evan coeus-group com>
Date: Sun Feb 16 10:30:30 2014 -0800
glib-2.0: add missing symbols from 2.38
vapi/glib-2.0.vapi | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 2e0096a..231003b 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2141,6 +2141,12 @@ namespace GLib {
[Assert]
public static void assert (bool expr);
+ [Assert]
+ public static void assert_false (bool expr);
+ [Assert]
+ public static void assert_true (bool expr);
+ [Assert]
+ public static void assert_null (void* expr);
[NoReturn]
public static void assert_not_reached ();
@@ -3467,6 +3473,7 @@ namespace GLib {
public RegexCompileFlags get_compile_flags ();
public RegexMatchFlags get_match_flags ();
public int get_max_backref ();
+ public int get_max_lookbehind ();
public int get_capture_count ();
public int get_string_number (string name);
public static string escape_string (string str, int length = -1);
@@ -3761,6 +3768,12 @@ namespace GLib {
/* Testing */
namespace Test {
+ [CCode (cprefix = "G_TEST_", has_type_id = false)]
+ public enum FileType {
+ DIST,
+ BUILT
+ }
+
[PrintfFormat]
public static void minimized_result (double minimized_quantity, string format, ...);
[PrintfFormat]
@@ -3779,9 +3792,17 @@ namespace GLib {
public static void add_func (string testpath, Callback test_funcvoid);
#endif
public static void add_data_func (string testpath, [CCode (delegate_target_pos = 1.9)]
TestDataFunc test_funcvoid);
+ public static string build_filename (GLib.Test.FileType file_type, params string[]
path_segments);
public static void fail ();
+ public static bool failed ();
+ public static unowned string get_dir (GLib.Test.FileType file_type);
+ public static unowned string get_filename (GLib.Test.FileType file_type, params string[]
path_segments);
+ public static void incomplete (string msg);
[PrintfFormat]
public static void message (string format, ...);
+ public static void set_nonfatal_assertions ();
+ public static void skip (string msg);
+ public static bool subprocess ();
public static void bug_base (string uri_pattern);
public static void bug (string bug_uri_snippet);
public static void timer_start ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]