[vala/wip/profile-posix: 26/28] SQUASH posix: Drop deprecated string methods



commit c02f1f0ea51d01eac7e5b85d8b48d8acdff2579b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Mar 19 16:27:37 2018 +0100

    SQUASH posix: Drop deprecated string methods

 vapi/posix.vapi |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index b7c3a68..772c3a0 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -266,19 +266,6 @@ public struct va_list {
 [Immutable]
 [CCode (cname = "char", const_cname = "const char", copy_function = "strdup", free_function = "free", 
cheader_filename = "stdlib.h,string.h")]
 public class string {
-       [Deprecated (replacement = "int.parse")]
-       [CCode (cname="atoi")]
-       public int to_int();
-       [Deprecated (replacement = "long.parse")]
-       [CCode (cname="atol")]
-       public long to_long();
-       [Deprecated (replacement = "int64.parse")]
-       [CCode (cname="atoll")]
-       public int64 to_int64();
-       [Deprecated (replacement = "string.length")]
-       [CCode (cname="strlen")]
-       public int len();
-
        [PrintfFormat]
        public string printf (...);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]