diff options
Diffstat (limited to 'php')
-rwxr-xr-x | php/patch_swig_output.py | 29 | ||||
-rwxr-xr-x | php/tests/binding_tests.php | 27 | ||||
-rwxr-xr-x | php/tests/perfs.php | 27 |
3 files changed, 79 insertions, 4 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. 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 + + <?php $ret = @dl('lasso.' . PHP_SHLIB_SUFFIX); diff --git a/php/tests/perfs.php b/php/tests/perfs.php index 61675135..8dfc41fb 100755 --- a/php/tests/perfs.php +++ b/php/tests/perfs.php @@ -1,4 +1,29 @@ -#! /usr/bin/php +#! /usr/bin/env php +# +# $Id$ +# +# PHP performance 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 + + <?php $ret = @dl('lasso.' . PHP_SHLIB_SUFFIX); |