From 07dd799967fb3318d74ce1b57e1023d41197cce1 Mon Sep 17 00:00:00 2001 From: "Y. Sapir" Date: Sun, 25 May 2014 00:50:49 +0300 Subject: [PATCH] Fix inherited Layer::Support id and object accessors. --- xs/xsp/Layer.xsp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xs/xsp/Layer.xsp b/xs/xsp/Layer.xsp index 35cf6f9ea..de076767f 100644 --- a/xs/xsp/Layer.xsp +++ b/xs/xsp/Layer.xsp @@ -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 object() - %code%{ RETVAL = THIS->object; %}; + int id(); + Ref object(); Ref upper_layer() %code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %}; Ref lower_layer()