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()