[vala/0.48] posix: Fix a few binding errors
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] posix: Fix a few binding errors
- Date: Sun, 28 Feb 2021 17:26:25 +0000 (UTC)
commit 613595f13862e5143a16f5d0e90b44b89c863624
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jan 27 15:34:53 2021 +0100
posix: Fix a few binding errors
vapi/posix.vapi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index a0ff2aa4a..24c07b326 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -248,7 +248,7 @@ public struct double {
[IntegerType (rank = 8)]
public struct time_t {
[CCode (cname = "time")]
- public time_t ();
+ public time_t (time_t? tloc = null);
}
[SimpleType]
@@ -1621,7 +1621,7 @@ namespace Posix {
[CCode (has_target = false, cheader_filename = "signal.h", feature_test_macro = "_GNU_SOURCE")]
public delegate void sighandler_t (int signal);
- [CCode (has_target = false, cheader_filename = "signal.h")]
+ [CCode (has_typedef = false, has_target = false, cheader_filename = "signal.h")]
public delegate void siginfohandler_t (int signal, siginfo_t info, void* data);
[CCode (cheader_filename = "signal.h")]
@@ -2457,7 +2457,7 @@ namespace Posix {
public void tzset ();
[SimpleType]
- [IntegerType]
+ [IntegerType (rank = 8)]
[CCode (cheader_filename = "time.h", has_type_id = false)]
public struct clockid_t {
}
@@ -2624,7 +2624,7 @@ namespace Posix {
[CCode (cheader_filename = "unistd.h")]
public const int _SC_VERSION;
[CCode (cheader_filename = "unistd.h")]
- public const int _SC_BASE_MAX;
+ public const int _SC_BC_BASE_MAX;
[CCode (cheader_filename = "unistd.h")]
public const int _SC_BC_DIM_MAX;
[CCode (cheader_filename = "unistd.h")]
@@ -2634,7 +2634,7 @@ namespace Posix {
[CCode (cheader_filename = "unistd.h")]
public const int _SC_COLL_WEIGHTS_MAX;
[CCode (cheader_filename = "unistd.h")]
- public const int _SC_EXRP_NEST_MAX;
+ public const int _SC_EXPR_NEST_MAX;
[CCode (cheader_filename = "unistd.h")]
public const int _SC_LINE_MAX;
[CCode (cheader_filename = "unistd.h")]
@@ -2740,7 +2740,7 @@ namespace Posix {
[CCode (cheader_filename = "unistd.h")]
public uint alarm (uint seconds);
[CCode (cheader_filename = "unistd.h")]
- public uint ualarm (uint useconds);
+ public uint ualarm (uint useconds, uint interval);
[CCode (cheader_filename = "unistd.h")]
public uint sleep (uint seconds);
[CCode (cheader_filename = "unistd.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]