- remove call-time pass-by-reference

pp [2013-07-24 17:55:06]
- remove call-time pass-by-reference


git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@345 455248ca-bdda-0310-9134-f4ebb693071a
Filename
docs/class.ImlibImage.php
docs/class.ImlibPoly.php
docs/class.ImlibText.php
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);
    }

    /**
ViewGit