diff options
| author | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2013-07-24 17:55:06 +0000 |
|---|---|---|
| committer | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2013-07-24 17:55:06 +0000 |
| commit | 469cf3df58f7d076a62c51c1df2163d23989f924 (patch) | |
| tree | fb5c3a86d345b78101950437e515f013c74453a3 | |
| parent | 19d701d359aae091eb2b2520ca2675de0e406a38 (diff) | |
- remove call-time pass-by-reference
git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@345 455248ca-bdda-0310-9134-f4ebb693071a
| -rw-r--r-- | docs/class.ImlibImage.php | 6 | ||||
| -rw-r--r-- | docs/class.ImlibPoly.php | 2 | ||||
| -rw-r--r-- | docs/class.ImlibText.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/class.ImlibImage.php b/docs/class.ImlibImage.php index abb0462..644e56b 100644 --- a/docs/class.ImlibImage.php +++ b/docs/class.ImlibImage.php @@ -237,7 +237,7 @@ class ImlibImage if (!is_resource($this->id)) return false; - if (!imlib_dump_image($this->id,&$err,$quality)) + if (!imlib_dump_image($this->id,$err,$quality)) return false; else return true; @@ -360,7 +360,7 @@ class ImlibImage if (is_resource($this->id)) return false; - $this->id = imlib_load_image_with_error_return($infile,&$err); + $this->id = imlib_load_image_with_error_return($infile,$err); if (!is_resource($this->id) || $err) return false; else @@ -380,7 +380,7 @@ class ImlibImage if (!is_resource($this->id)) return false; - if (!imlib_save_image($this->id,$outfile,&$err,$quality)) + if (!imlib_save_image($this->id,$outfile,$err,$quality)) return false; else return true; diff --git a/docs/class.ImlibPoly.php b/docs/class.ImlibPoly.php index 698c752..1d48e88 100644 --- a/docs/class.ImlibPoly.php +++ b/docs/class.ImlibPoly.php @@ -147,7 +147,7 @@ class ImlibPoly extends ImlibCliprect if (!is_resource($this->poly)) return false; - imlib_polygon_get_bounds($this->poly,&$x1,&$y1,&$x2,&$y2); + imlib_polygon_get_bounds($this->poly,$x1,$y1,$x2,$y2); } /** diff --git a/docs/class.ImlibText.php b/docs/class.ImlibText.php index 4bc7273..f88807d 100644 --- a/docs/class.ImlibText.php +++ b/docs/class.ImlibText.php @@ -102,7 +102,7 @@ class ImlibText extends ImlibColor if (!is_resource($this->fnt)) return false; - return imlib_get_text_size($this->fnt,$str,&$w,&$h,$dir); + return imlib_get_text_size($this->fnt,$str,$w,$h,$dir); } /** |
