forked from enlightenment/efl
eolian-cxx: Remove EOLIAN_TYPE_POINTER enumeration
This commit is contained in:
parent
a94351a789
commit
45e1ccf312
|
@ -262,10 +262,6 @@ inline void type_def::set(Eolian_Type const* eolian_type)
|
|||
original_type = {regular_type_def{ ::eolian_type_name_get(eolian_type), {qualifiers(eolian_type), {}}, namespaces}};
|
||||
}
|
||||
break;
|
||||
case EOLIAN_TYPE_POINTER:
|
||||
{
|
||||
throw std::runtime_error("");
|
||||
}
|
||||
case EOLIAN_TYPE_CLASS:
|
||||
{
|
||||
Eolian_Class const* klass = eolian_type_class_get(eolian_type);
|
||||
|
@ -286,7 +282,7 @@ inline void type_def::set(Eolian_Type const* eolian_type)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
std::abort();
|
||||
throw std::runtime_error("Type not supported");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,21 +21,6 @@ _complex_inclasscont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_Lis
|
|||
{
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_complex_inptrptrcont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List *l EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_complex_inptrcontown(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List *l EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_complex_inptrptrcontown(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List *l EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_complex_incontcont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List *l EINA_UNUSED)
|
||||
{
|
||||
|
@ -111,11 +96,6 @@ _complex_inaccessorown(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_A
|
|||
{
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_complex_outptrcont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List **l EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_complex_outclasscont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List **l EINA_UNUSED)
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ class Complex (Efl.Object)
|
|||
// container test
|
||||
inptrcont {
|
||||
params {
|
||||
l: list<int*>;
|
||||
l: list<int>;
|
||||
}
|
||||
}
|
||||
inclasscont {
|
||||
|
@ -13,21 +13,6 @@ class Complex (Efl.Object)
|
|||
l: list<Efl.Object>;
|
||||
}
|
||||
}
|
||||
inptrptrcont {
|
||||
params {
|
||||
l: list<int**>;
|
||||
}
|
||||
}
|
||||
inptrcontown {
|
||||
params {
|
||||
l: own(list<int*>);
|
||||
}
|
||||
}
|
||||
inptrptrcontown {
|
||||
params {
|
||||
l: own(list<int**>);
|
||||
}
|
||||
}
|
||||
incontcont {
|
||||
params {
|
||||
l: list<list<int>>;
|
||||
|
@ -104,11 +89,6 @@ class Complex (Efl.Object)
|
|||
}
|
||||
}
|
||||
// out
|
||||
outptrcont {
|
||||
params {
|
||||
@out l: list<int*>;
|
||||
}
|
||||
}
|
||||
outclasscont {
|
||||
params {
|
||||
@out l: list<Efl.Object>;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
struct Generic.Event
|
||||
{
|
||||
field1: int;
|
||||
field2: list<int*>;
|
||||
field2: list<int>;
|
||||
}
|
||||
|
||||
class Generic (Efl.Object)
|
||||
|
|
Loading…
Reference in New Issue