eolian: transform tests to the new @own syntax

This commit is contained in:
Daniel Kolesa 2014-06-27 12:49:21 +01:00
parent 70347cb7d7
commit ba362d350f
4 changed files with 9 additions and 9 deletions

View File

@ -2,21 +2,21 @@ class Complex_Type {
properties {
a {
set {
return @own Eina_List * <Eina_Array*< @own Eo * *>>;
return @own(Eina_List*)<Eina_Array*<@own(Eo*)*>>;
}
get {
}
values {
@own Eina_List *<int> value;
@own(Eina_List*)<int> value;
}
}
}
methods {
foo {
params {
@own char *buf;
@own(char*) buf;
}
return @own Eina_List *<Eina_Stringshare *>; /*@ comment for method return */
return @own(Eina_List*)<Eina_Stringshare *>; /*@ comment for method return */
}
}
}

View File

@ -21,7 +21,7 @@ class Object (Base) {
const(char)* part;
}
values {
@own Eina_List *<int> value;
@own(Eina_List*)<int> value;
}
}
b {
@ -31,7 +31,7 @@ class Object (Base) {
/* set as virtual pure - no implementation expected */
}
values {
@own Eina_List *<int> value;
@own(Eina_List*)<int> value;
}
}
}

View File

@ -7,7 +7,7 @@ class Object (Base) {
/* set as virtual pure - no implementation expected */
}
values {
@own Eina_List *<int> value;
@own(Eina_List*)<int> value;
}
}
}

View File

@ -1,5 +1,5 @@
type Evas_Coord: int; /* Simple type definition */
type List_Objects: @own Eina_List * < Eo *>; /* A little more complex */
type List_Objects: @own(Eina_List*)< Eo *>; /* A little more complex */
class Dummy {
methods {
@ -7,7 +7,7 @@ class Dummy {
params {
int idx;
}
return @own char *; /*@ comment for method return */
return @own(char*); /*@ comment for method return */
}
}
}