From 324818030b3fab5f4e205c45adbcfcb04cda0c82 Mon Sep 17 00:00:00 2001
From: Miklos Vajna
Date: Tue, 31 Dec 2013 15:18:01 +0100
Subject: [PATCH] PHP: document byref typemap attribute
---
Doc/Manual/Php.html | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Doc/Manual/Php.html b/Doc/Manual/Php.html
index 185883235..19bfab6ba 100644
--- a/Doc/Manual/Php.html
+++ b/Doc/Manual/Php.html
@@ -513,6 +513,12 @@ So if you use these REF typemaps, you should ensure that SWIG≥3.0 is
used to generate wrappers from your interface file.
+
+In case you write your own typemaps, SWIG supports an attribute called
+byref: if you set that, then SWIG will make sure that the generated
+wrapper function will want the input parameter as a reference.
+
+
%module example
%include "phppointers.i"