summaryrefslogtreecommitdiffstats
path: root/php/patch_swig_output.py
diff options
context:
space:
mode:
Diffstat (limited to 'php/patch_swig_output.py')
-rwxr-xr-xphp/patch_swig_output.py29
1 files changed, 27 insertions, 2 deletions
diff --git a/php/patch_swig_output.py b/php/patch_swig_output.py
index 8b46bc42..cd43e013 100755
--- a/php/patch_swig_output.py
+++ b/php/patch_swig_output.py
@@ -1,8 +1,33 @@
#! /usr/bin/env python
+# -*- coding: UTF-8 -*-
+#
+# $Id$
+#
+# SWIG based PHP binding for Lasso Library
+#
+# Copyright (C) 2004, 2005 Entr'ouvert
+# http://lasso.entrouvert.org
+#
+# Authors: See AUTHORS file.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-"""Correct Swig output for PHP binding.
-The PHP binding of Swig version 1.3.22 has several bugs:
+"""Correct SWIG output for PHP binding.
+
+The PHP binding of SWIG version 1.3.22 has several bugs:
(1) It wraps NULL pointers into non NULL PHP objects.