From e8de39bae08b511e9b62e71a7d52cce2df10d54f Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Sat, 15 Jan 2005 13:11:25 +0000 Subject: Updated authors. Changed authors & copyright in SWIG and unit tests headers. Extracted binding_tests.py from profiles_tests.py, so that each language has a binding specific test. --- php/patch_swig_output.py | 29 +++++++++++++++++++++++++++-- php/tests/binding_tests.php | 27 ++++++++++++++++++++++++++- php/tests/perfs.php | 27 ++++++++++++++++++++++++++- 3 files changed, 79 insertions(+), 4 deletions(-) (limited to 'php') 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. diff --git a/php/tests/binding_tests.php b/php/tests/binding_tests.php index b43aef76..bf8ec5fe 100755 --- a/php/tests/binding_tests.php +++ b/php/tests/binding_tests.php @@ -1,4 +1,29 @@ -#! /usr/bin/php +#! /usr/bin/env php +# +# $Id$ +# +# PHP unit tests 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 + +