summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-06 14:22:33 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 09:57:24 +0900
commit5f5325ea333a5ea6caa55ce5d7aa702ee6b689a1 (patch)
tree60ab4120487dc13953c03fa2142d60fd40ed8b14 /src/lib/efl/interfaces
parentc490392ee6f9005294bbc7ef14eb5f6b5623dfe5 (diff)
cxx: Fix binding temporarily (efl/interfaces)
This uses the new cref keyword instead of inout, as the c++ code has no access to the internals of struct Efl.Text.Cursor.Cursor Something tells me cref may not be the perfect solution here (we lose information on whether this is in, out or inout).
Diffstat (limited to 'src/lib/efl/interfaces')
-rw-r--r--src/lib/efl/interfaces/efl_text_cursor.eo70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/lib/efl/interfaces/efl_text_cursor.eo b/src/lib/efl/interfaces/efl_text_cursor.eo
index 243a2f1045..448028b1b9 100644
--- a/src/lib/efl/interfaces/efl_text_cursor.eo
+++ b/src/lib/efl/interfaces/efl_text_cursor.eo
@@ -43,7 +43,7 @@ interface Efl.Text.Cursor {
43 } 43 }
44 } 44 }
45 @property cursor_position { 45 @property cursor_position {
46 [[Cursor position]] 46 [[Cursor position]]
47 set { legacy: null; } 47 set { legacy: null; }
48 get { legacy: null; } 48 get { legacy: null; }
49 values { 49 values {
@@ -94,19 +94,19 @@ interface Efl.Text.Cursor {
94 } 94 }
95 } 95 }
96 cursor_new { 96 cursor_new {
97 [[Create new cursor]] 97 [[Create new cursor]]
98 legacy: null; 98 legacy: null;
99 return: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]] 99 return: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
100 } 100 }
101 cursor_free { 101 cursor_free {
102 [[Free existing cursor]] 102 [[Free existing cursor]]
103 legacy: null; 103 legacy: null;
104 params { 104 params {
105 cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]] 105 cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
106 } 106 }
107 } 107 }
108 cursor_equal { 108 cursor_equal {
109 [[Check if two cursors are equal]] 109 [[Check if two cursors are equal]]
110 legacy: null; 110 legacy: null;
111 params { 111 params {
112 @cref cur1: Efl.Text.Cursor.Cursor; [[Cursor 1 object]] 112 @cref cur1: Efl.Text.Cursor.Cursor; [[Cursor 1 object]]
@@ -115,7 +115,7 @@ interface Efl.Text.Cursor {
115 return: bool; [[$true if cursors are equal, $false otherwise]] 115 return: bool; [[$true if cursors are equal, $false otherwise]]
116 } 116 }
117 cursor_compare { 117 cursor_compare {
118 [[Compare two cursors]] 118 [[Compare two cursors]]
119 legacy: null; 119 legacy: null;
120 params { 120 params {
121 @cref cur1: Efl.Text.Cursor.Cursor; [[Cursor 1 object]] 121 @cref cur1: Efl.Text.Cursor.Cursor; [[Cursor 1 object]]
@@ -124,110 +124,110 @@ interface Efl.Text.Cursor {
124 return: int; [[Difference between cursors]] 124 return: int; [[Difference between cursors]]
125 } 125 }
126 cursor_copy { 126 cursor_copy {
127 [[Copy existing cursor]] 127 [[Copy existing cursor]]
128 legacy: null; 128 legacy: null;
129 params { 129 params {
130 @out dst: Efl.Text.Cursor.Cursor; [[Destination cursor]] 130 /* @out */ dst: ptr(Efl.Text.Cursor.Cursor); [[Destination cursor]]
131 @cref src: Efl.Text.Cursor.Cursor; [[Source cursor]] 131 @cref src: Efl.Text.Cursor.Cursor; [[Source cursor]]
132 } 132 }
133 } 133 }
134 cursor_char_next { 134 cursor_char_next {
135 [[Advances to the next character]] 135 [[Advances to the next character]]
136 legacy: null; 136 legacy: null;
137 params { 137 params {
138 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 138 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
139 } 139 }
140 } 140 }
141 cursor_char_prev { 141 cursor_char_prev {
142 [[Advances to the previous character]] 142 [[Advances to the previous character]]
143 legacy: null; 143 legacy: null;
144 params { 144 params {
145 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 145 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
146 } 146 }
147 } 147 }
148 cursor_paragraph_char_first { 148 cursor_paragraph_char_first {
149 [[Advances to the first character in this paragraph]] 149 [[Advances to the first character in this paragraph]]
150 legacy: null; 150 legacy: null;
151 params { 151 params {
152 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 152 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
153 } 153 }
154 } 154 }
155 cursor_paragraph_char_last { 155 cursor_paragraph_char_last {
156 [[Advances to the last character in this paragraph]] 156 [[Advances to the last character in this paragraph]]
157 legacy: null; 157 legacy: null;
158 params { 158 params {
159 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 159 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
160 } 160 }
161 } 161 }
162 cursor_word_start { 162 cursor_word_start {
163 [[Advance to current word start]] 163 [[Advance to current word start]]
164 legacy: null; 164 legacy: null;
165 params { 165 params {
166 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 166 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
167 } 167 }
168 } 168 }
169 cursor_word_end { 169 cursor_word_end {
170 [[Advance to current word end]] 170 [[Advance to current word end]]
171 legacy: null; 171 legacy: null;
172 params { 172 params {
173 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 173 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
174 } 174 }
175 } 175 }
176 cursor_line_char_first { 176 cursor_line_char_first {
177 [[Advance to current line first character]] 177 [[Advance to current line first character]]
178 legacy: null; 178 legacy: null;
179 params { 179 params {
180 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 180 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
181 } 181 }
182 } 182 }
183 cursor_line_char_last { 183 cursor_line_char_last {
184 [[Advance to current line last character]] 184 [[Advance to current line last character]]
185 legacy: null; 185 legacy: null;
186 params { 186 params {
187 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 187 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
188 } 188 }
189 } 189 }
190 cursor_paragraph_first { 190 cursor_paragraph_first {
191 [[Advance to current paragraph first character]] 191 [[Advance to current paragraph first character]]
192 legacy: null; 192 legacy: null;
193 params { 193 params {
194 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 194 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
195 } 195 }
196 } 196 }
197 cursor_paragraph_last { 197 cursor_paragraph_last {
198 [[Advance to current paragraph last character]] 198 [[Advance to current paragraph last character]]
199 legacy: null; 199 legacy: null;
200 params { 200 params {
201 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 201 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
202 } 202 }
203 } 203 }
204 cursor_paragraph_next { 204 cursor_paragraph_next {
205 [[Advances to the start of the next text node]] 205 [[Advances to the start of the next text node]]
206 legacy: null; 206 legacy: null;
207 params { 207 params {
208 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 208 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
209 } 209 }
210 } 210 }
211 cursor_paragraph_prev { 211 cursor_paragraph_prev {
212 [[Advances to the end of the previous text node]] 212 [[Advances to the end of the previous text node]]
213 legacy: null; 213 legacy: null;
214 params { 214 params {
215 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 215 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
216 } 216 }
217 } 217 }
218 cursor_line_jump_by { 218 cursor_line_jump_by {
219 [[Jump the cursor by the given number of lines]] 219 [[Jump the cursor by the given number of lines]]
220 legacy: null; 220 legacy: null;
221 params { 221 params {
222 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 222 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
223 by: int; [[Number of lines]] 223 by: int; [[Number of lines]]
224 } 224 }
225 } 225 }
226 cursor_coord_set { 226 cursor_coord_set {
227 [[Set cursor coordinates]] 227 [[Set cursor coordinates]]
228 legacy: null; 228 legacy: null;
229 params { 229 params {
230 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 230 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
231 @in x: int; [[X coord to set by.]] 231 @in x: int; [[X coord to set by.]]
232 @in y: int; [[Y coord to set by.]] 232 @in y: int; [[Y coord to set by.]]
233 } 233 }
@@ -238,7 +238,7 @@ interface Efl.Text.Cursor {
238 ]] 238 ]]
239 legacy: null; 239 legacy: null;
240 params { 240 params {
241 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 241 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
242 @in text: string; [[Text to append (UTF-8 format).]] 242 @in text: string; [[Text to append (UTF-8 format).]]
243 } 243 }
244 return: int; [[Length of the appended text.]] 244 return: int; [[Length of the appended text.]]
@@ -247,7 +247,7 @@ interface Efl.Text.Cursor {
247 [[Deletes a single character from position pointed by given cursor.]] 247 [[Deletes a single character from position pointed by given cursor.]]
248 legacy: null; 248 legacy: null;
249 params { 249 params {
250 @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]] 250 /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
251 } 251 }
252 } 252 }
253 } 253 }