From 1c6333e5577ce9b125345a3d8900dbd4ec2ae5a9 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Thu, 6 May 2021 13:58:37 +0200 Subject: [PATCH] Fixing Perl integration --- xs/xsp/Layer.xsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; %};