summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2006-12-07 17:27:30 +0000
committerFrederic Peters <fpeters@entrouvert.com>2006-12-07 17:27:30 +0000
commit1c05f63bf3b01c0441f9802e3eac4ca009a75b83 (patch)
tree5725cc41ce3319de78f4177120e5c7128a3ded50 /swig
parent1567e198b2a4ecde56e948e0172f589ae8109635 (diff)
downloadlasso-1c05f63bf3b01c0441f9802e3eac4ca009a75b83.tar.gz
lasso-1c05f63bf3b01c0441f9802e3eac4ca009a75b83.tar.xz
lasso-1c05f63bf3b01c0441f9802e3eac4ca009a75b83.zip
abstract attribute breaks php binding with SWIG 1.3.31
Diffstat (limited to 'swig')
-rw-r--r--swig/Lasso-wsf-disco.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/swig/Lasso-wsf-disco.i b/swig/Lasso-wsf-disco.i
index cae8de53..bc98839e 100644
--- a/swig/Lasso-wsf-disco.i
+++ b/swig/Lasso-wsf-disco.i
@@ -1147,12 +1147,18 @@ typedef struct {
typedef struct {
/* Attributes */
+#ifndef SWIGPHP4
+ /* XXX: SWIG 1.3.31 fails to compile the PHP binding it generates if this
+ * part is present */
+
#if !defined(SWIGPHP4) && !defined(SWIGCSHARP)
/* "abstract" is a reserved word in C#. */
%rename(abstract) Abstract;
#endif
char *Abstract;
+#endif /* !SWIGPHP4 */
+
#ifndef SWIGPHP4
%rename(entryId) entryID;
#endif