summaryrefslogtreecommitdiff
path: root/Examples/perl5/pointer/example.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/perl5/pointer/example.i')
-rw-r--r--Examples/perl5/pointer/example.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/Examples/perl5/pointer/example.i b/Examples/perl5/pointer/example.i
index 2ed2b5bbf..4483b0f77 100644
--- a/Examples/perl5/pointer/example.i
+++ b/Examples/perl5/pointer/example.i
@@ -6,7 +6,8 @@
/* First we'll use the pointer library */
extern void add(int *x, int *y, int *result);
-%include pointer.i
+%include cpointer.i
+%pointer_functions(int, intp);
/* Next we'll use some typemaps */