diff --git a/xs/xsp/Layer.xsp b/xs/xsp/Layer.xsp index 50ddfd9a1..b97e340bd 100644 --- a/xs/xsp/Layer.xsp +++ b/xs/xsp/Layer.xsp @@ -10,7 +10,8 @@ // owned by Layer, no constructor/destructor Ref layer(); - Ref region(); + Ref region() + %code%{ RETVAL = &THIS->region(); %}; Ref slices() %code%{ RETVAL = &THIS->slices; %};