summaryrefslogtreecommitdiffstats
path: root/bindings/php5
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-09-12 15:06:58 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-09-12 15:06:58 +0000
commit9ed0670e48665f590eda685e0cfebf8c4cadb8fb (patch)
treea3f909876ca336256b304de9a350ab526d16abea /bindings/php5
parent73d9c98f92b9664c6d78843c4110b71520fa3f67 (diff)
downloadlasso-9ed0670e48665f590eda685e0cfebf8c4cadb8fb.tar.gz
lasso-9ed0670e48665f590eda685e0cfebf8c4cadb8fb.tar.xz
lasso-9ed0670e48665f590eda685e0cfebf8c4cadb8fb.zip
* Remove ending blanks
Diffstat (limited to 'bindings/php5')
-rw-r--r--bindings/php5/lang.py2
-rw-r--r--bindings/php5/php_code.py6
-rw-r--r--bindings/php5/wrapper_header.py2
-rw-r--r--bindings/php5/wrapper_source.py2
-rw-r--r--bindings/php5/wrapper_source_top.c6
5 files changed, 9 insertions, 9 deletions
diff --git a/bindings/php5/lang.py b/bindings/php5/lang.py
index fbed5d47..32d92465 100644
--- a/bindings/php5/lang.py
+++ b/bindings/php5/lang.py
@@ -1,5 +1,5 @@
# Lasso - A free implementation of the Liberty Alliance specifications.
-#
+#
# Copyright (C) 2004-2007 Entr'ouvert
# http://lasso.entrouvert.org
#
diff --git a/bindings/php5/php_code.py b/bindings/php5/php_code.py
index 8b8eef84..1a5d238c 100644
--- a/bindings/php5/php_code.py
+++ b/bindings/php5/php_code.py
@@ -1,5 +1,5 @@
# Lasso - A free implementation of the Liberty Alliance specifications.
-#
+#
# Copyright (C) 2004-2007 Entr'ouvert
# http://lasso.entrouvert.org
#
@@ -62,7 +62,7 @@ function cptrToPhp ($cptr) {
if (is_null($cptr) || !$cptr) return null;
$typename = lasso_get_object_typename($cptr);
$class_name = $typename . "NoInit";
- $obj = new $class_name();
+ $obj = new $class_name();
if (! is_null($obj)) {
$obj->_cptr = $cptr;
return $obj;
@@ -182,7 +182,7 @@ function lassoRegisterIdWsf2DstService($prefix, $href) {
mtype = m[0]
mname = utils.format_as_camelcase(m[1])
options = m[2]
-
+
# Getters
print >> self.fd, ' /**'
print >> self.fd, ' * @return %s' % self.get_docstring_return_type(mtype)
diff --git a/bindings/php5/wrapper_header.py b/bindings/php5/wrapper_header.py
index 3cf895af..3bae4c0e 100644
--- a/bindings/php5/wrapper_header.py
+++ b/bindings/php5/wrapper_header.py
@@ -1,5 +1,5 @@
# Lasso - A free implementation of the Liberty Alliance specifications.
-#
+#
# Copyright (C) 2004-2007 Entr'ouvert
# http://lasso.entrouvert.org
#
diff --git a/bindings/php5/wrapper_source.py b/bindings/php5/wrapper_source.py
index 319b9671..ab2d2715 100644
--- a/bindings/php5/wrapper_source.py
+++ b/bindings/php5/wrapper_source.py
@@ -1,5 +1,5 @@
# Lasso - A free implementation of the Liberty Alliance specifications.
-#
+#
# Copyright (C) 2004-2007 Entr'ouvert
# http://lasso.entrouvert.org
#
diff --git a/bindings/php5/wrapper_source_top.c b/bindings/php5/wrapper_source_top.c
index ba7f1fe6..c8d9eee1 100644
--- a/bindings/php5/wrapper_source_top.c
+++ b/bindings/php5/wrapper_source_top.c
@@ -82,7 +82,7 @@ static void php_gobject_generic_destructor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
}
/* List handling */
-static void
+static void
free_glist(GList **list, GFunc free_function) {
g_return_if_fail(list);
if (*list) {
@@ -287,9 +287,9 @@ get_hashtable_from_array_of_objects(zval *array)
}
} else {
if (cvt_temp != NULL) {
- g_hash_table_insert(result, (gpointer)index, g_object_ref(cvt_temp->obj));
+ g_hash_table_insert(result, (gpointer)index, g_object_ref(cvt_temp->obj));
} else {
- g_hash_table_insert(result, (gpointer)index, NULL);
+ g_hash_table_insert(result, (gpointer)index, NULL);
}
}
}