get {
}
values {
- value: list<int> @owned;
+ value: list<string> @owned;
}
}
foo {
@property a {
set {
values {
- value: const(list<int>);
+ value: const(list<string>);
}
return: bool (false);
}
part: string;
}
values {
- value: list<int> @owned;
+ value: list<string> @owned;
}
}
@property b {
/* set as virtual pure - no implementation expected */
}
values {
- value: list<int> @owned;
+ value: list<string> @owned;
}
}
constructor_1 {
/* set as virtual pure - no implementation expected */
}
values {
- value: list<int> @owned;
+ value: list<string> @owned;
}
}
}
methods {
test1 {
params {
- test1 : list<int> @owned;
- test2 : iterator<int> @owned;
- test3 : hash<int, int> @owned;
- test4 : accessor<int> @owned;
+ test1 : list<string> @owned;
+ test2 : iterator<string> @owned;
+ test3 : hash<string, string> @owned;
+ test4 : accessor<string> @owned;
}
}
test2 {
params {
test1 : list<ptr(Test.A) @owned> @owned;
test2 : iterator<ptr(Test.A) @owned> @owned;
- test3 : hash<int, ptr(Test.A) @owned> @owned;
+ test3 : hash<string, ptr(Test.A) @owned> @owned;
test4 : accessor<ptr(Test.A) @owned> @owned;
}
}
fail_if(!!eolian_type_next_type_get(type));
fail_if(!(type_name = eolian_type_c_type_get(type, EOLIAN_C_TYPE_DEFAULT)));
fail_if(eolian_type_is_owned(type));
- fail_if(strcmp(type_name, "int"));
+ fail_if(strcmp(type_name, "const char *"));
eina_stringshare_del(type_name);
/* Methods return type */