Fix inherited Layer::Support id and object accessors.

master
Y. Sapir 2014-05-25 00:50:49 +03:00
parent b8b8c746d9
commit 07dd799967
1 changed files with 2 additions and 4 deletions

View File

@ -72,10 +72,8 @@
// copies of some Layer methods, because the parameter wrapper code
// gets confused about getting a Layer::Support instead of a Layer
int id()
%code%{ RETVAL = THIS->id; %};
Ref<PrintObject> object()
%code%{ RETVAL = THIS->object; %};
int id();
Ref<PrintObject> object();
Ref<SupportLayer> upper_layer()
%code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %};
Ref<SupportLayer> lower_layer()