eolian-cxx: Remove EOLIAN_TYPE_POINTER enumeration

This commit is contained in:
Felipe Magno de Almeida 2016-11-10 15:19:50 -02:00
parent a94351a789
commit 45e1ccf312
4 changed files with 3 additions and 47 deletions

View File

@ -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}}; original_type = {regular_type_def{ ::eolian_type_name_get(eolian_type), {qualifiers(eolian_type), {}}, namespaces}};
} }
break; break;
case EOLIAN_TYPE_POINTER:
{
throw std::runtime_error("");
}
case EOLIAN_TYPE_CLASS: case EOLIAN_TYPE_CLASS:
{ {
Eolian_Class const* klass = eolian_type_class_get(eolian_type); 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; break;
default: default:
std::abort(); throw std::runtime_error("Type not supported");
break; break;
} }
} }

View File

@ -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 EOLIAN static void
_complex_incontcont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List *l EINA_UNUSED) _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 EOLIAN static void
_complex_outclasscont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List **l EINA_UNUSED) _complex_outclasscont(Eo *obj EINA_UNUSED, Complex_Data *pd EINA_UNUSED, Eina_List **l EINA_UNUSED)
{ {

View File

@ -5,7 +5,7 @@ class Complex (Efl.Object)
// container test // container test
inptrcont { inptrcont {
params { params {
l: list<int*>; l: list<int>;
} }
} }
inclasscont { inclasscont {
@ -13,21 +13,6 @@ class Complex (Efl.Object)
l: list<Efl.Object>; l: list<Efl.Object>;
} }
} }
inptrptrcont {
params {
l: list<int**>;
}
}
inptrcontown {
params {
l: own(list<int*>);
}
}
inptrptrcontown {
params {
l: own(list<int**>);
}
}
incontcont { incontcont {
params { params {
l: list<list<int>>; l: list<list<int>>;
@ -104,11 +89,6 @@ class Complex (Efl.Object)
} }
} }
// out // out
outptrcont {
params {
@out l: list<int*>;
}
}
outclasscont { outclasscont {
params { params {
@out l: list<Efl.Object>; @out l: list<Efl.Object>;

View File

@ -2,7 +2,7 @@
struct Generic.Event struct Generic.Event
{ {
field1: int; field1: int;
field2: list<int*>; field2: list<int>;
} }
class Generic (Efl.Object) class Generic (Efl.Object)