summaryrefslogtreecommitdiff
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
parentc490392ee6f9005294bbc7ef14eb5f6b5623dfe5 (diff)
downloadefl-5f5325ea333a5ea6caa55ce5d7aa702ee6b689a1.tar.gz
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).
-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 {
}
}
@property cursor_position {
- [[Cursor position]]
+ [[Cursor position]]
set { legacy: null; }
get { legacy: null; }
values {
@@ -94,19 +94,19 @@ interface Efl.Text.Cursor {
}
}
cursor_new {
- [[Create new cursor]]
+ [[Create new cursor]]
legacy: null;
return: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
cursor_free {
- [[Free existing cursor]]
+ [[Free existing cursor]]
legacy: null;
params {
cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_equal {
- [[Check if two cursors are equal]]
+ [[Check if two cursors are equal]]
legacy: null;
params {
@cref cur1: Efl.Text.Cursor.Cursor; [[Cursor 1 object]]
@@ -115,7 +115,7 @@ interface Efl.Text.Cursor {
return: bool; [[$true if cursors are equal, $false otherwise]]
}
cursor_compare {
- [[Compare two cursors]]
+ [[Compare two cursors]]
legacy: null;
params {
@cref cur1: Efl.Text.Cursor.Cursor; [[Cursor 1 object]]
@@ -124,110 +124,110 @@ interface Efl.Text.Cursor {
return: int; [[Difference between cursors]]
}
cursor_copy {
- [[Copy existing cursor]]
+ [[Copy existing cursor]]
legacy: null;
params {
- @out dst: Efl.Text.Cursor.Cursor; [[Destination cursor]]
+ /* @out */ dst: ptr(Efl.Text.Cursor.Cursor); [[Destination cursor]]
@cref src: Efl.Text.Cursor.Cursor; [[Source cursor]]
}
}
cursor_char_next {
- [[Advances to the next character]]
+ [[Advances to the next character]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_char_prev {
- [[Advances to the previous character]]
+ [[Advances to the previous character]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_paragraph_char_first {
- [[Advances to the first character in this paragraph]]
+ [[Advances to the first character in this paragraph]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_paragraph_char_last {
- [[Advances to the last character in this paragraph]]
+ [[Advances to the last character in this paragraph]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_word_start {
- [[Advance to current word start]]
+ [[Advance to current word start]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_word_end {
- [[Advance to current word end]]
+ [[Advance to current word end]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_line_char_first {
- [[Advance to current line first character]]
+ [[Advance to current line first character]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_line_char_last {
- [[Advance to current line last character]]
+ [[Advance to current line last character]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_paragraph_first {
- [[Advance to current paragraph first character]]
+ [[Advance to current paragraph first character]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_paragraph_last {
- [[Advance to current paragraph last character]]
+ [[Advance to current paragraph last character]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_paragraph_next {
[[Advances to the start of the next text node]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_paragraph_prev {
[[Advances to the end of the previous text node]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
cursor_line_jump_by {
- [[Jump the cursor by the given number of lines]]
+ [[Jump the cursor by the given number of lines]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
by: int; [[Number of lines]]
}
}
cursor_coord_set {
- [[Set cursor coordinates]]
+ [[Set cursor coordinates]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
@in x: int; [[X coord to set by.]]
@in y: int; [[Y coord to set by.]]
}
@@ -238,7 +238,7 @@ interface Efl.Text.Cursor {
]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
@in text: string; [[Text to append (UTF-8 format).]]
}
return: int; [[Length of the appended text.]]
@@ -247,7 +247,7 @@ interface Efl.Text.Cursor {
[[Deletes a single character from position pointed by given cursor.]]
legacy: null;
params {
- @inout cur: Efl.Text.Cursor.Cursor; [[Cursor object]]
+ /* @inout */ cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor object]]
}
}
}