Fix inherited Layer::Support id and object accessors.
This commit is contained in:
parent
b8b8c746d9
commit
07dd799967
@ -72,10 +72,8 @@
|
|||||||
|
|
||||||
// copies of some Layer methods, because the parameter wrapper code
|
// copies of some Layer methods, because the parameter wrapper code
|
||||||
// gets confused about getting a Layer::Support instead of a Layer
|
// gets confused about getting a Layer::Support instead of a Layer
|
||||||
int id()
|
int id();
|
||||||
%code%{ RETVAL = THIS->id; %};
|
Ref<PrintObject> object();
|
||||||
Ref<PrintObject> object()
|
|
||||||
%code%{ RETVAL = THIS->object; %};
|
|
||||||
Ref<SupportLayer> upper_layer()
|
Ref<SupportLayer> upper_layer()
|
||||||
%code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %};
|
%code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %};
|
||||||
Ref<SupportLayer> lower_layer()
|
Ref<SupportLayer> lower_layer()
|
||||||
|
Loading…
Reference in New Issue
Block a user