forked from enlightenment/efl
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).
This commit is contained in:
parent
c490392ee6
commit
5f5325ea33
|
@ -127,7 +127,7 @@ interface Efl.Text.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]]
|
||||
}
|
||||
}
|
||||
|
@ -135,91 +135,91 @@ interface Efl.Text.Cursor {
|
|||
[[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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
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]]
|
||||
}
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ interface Efl.Text.Cursor {
|
|||
[[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]]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue