]> git.imager.perl.org - imager.git/blobdiff - limits.c
pick up im_ prefix functions too
[imager.git] / limits.c
index 16deaa7372ee07ce60d21f444efa46668b48e846..a245a6b23a32daabfbd4534446cee00f4242aee0 100644 (file)
--- a/limits.c
+++ b/limits.c
@@ -28,10 +28,9 @@ Setting a value of zero means that limit will be ignored.
 #include "imageri.h"
 
 /*
-=item im_set_image_file_limits(ctx, width, height, bytes)
-X<im_set_image_file_limits API>X<i_set_image_file_limits API>
+=item i_set_image_file_limits(width, height, bytes)
+
 =category Files
-=synopsis im_set_image_file_limits(aIMCTX, 500, 500, 1000000);
 =synopsis i_set_image_file_limits(500, 500, 1000000);
 
 Set limits on the sizes of images read by Imager.
@@ -57,8 +56,6 @@ this limit to one gigabyte.
 
 Returns non-zero on success.
 
-Also callable as C<i_set_image_file_limits(width, height, bytes)>.
-
 =cut
 */
 
@@ -87,10 +84,9 @@ im_set_image_file_limits(pIMCTX, i_img_dim width, i_img_dim height, size_t bytes
 }
 
 /*
-=item im_get_image_file_limits(ctx, &width, &height, &bytes)
-X<im_get_image_file_limits API>X<i_get_image_file_limits>
+=item i_get_image_file_limits(&width, &height, &bytes)
+
 =category Files
-=synopsis im_get_image_file_limits(aIMCTX, &width, &height, &bytes)
 =synopsis i_get_image_file_limits(&width, &height, &bytes)
 
 Retrieves the file limits set by i_set_image_file_limits().
@@ -107,8 +103,6 @@ size_t *bytes - size in memory of the image in bytes.
 
 =back
 
-Also callable as C<i_get_image_file_limits(&width, &height, &bytes)>.
-
 =cut
 */
 
@@ -124,11 +118,10 @@ im_get_image_file_limits(pIMCTX, i_img_dim *width, i_img_dim *height, size_t *by
 }
 
 /*
-=item im_int_check_image_file_limits(width, height, channels, sample_size)
-X<im_int_check_image_file_limits API>X<i_int_check_image_file_limits>
+=item i_int_check_image_file_limits(width, height, channels, sample_size)
+
 =category Files
-=synopsis im_int_check_image_file_limits(aIMCTX, width, height, channels, sizeof(i_sample_t))
-=synopsis i_int_check_image_file_limits(width, height, channels, sizeof(i_sample_t))
+=synopsis i_i_int_check_image_file_limits(width, height, channels, sizeof(i_sample_t))
 
 Checks the size of a file in memory against the configured image file
 limits.
@@ -140,8 +133,6 @@ Returns non-zero if the file is within limits.
 
 This function is intended to be called by image file read functions.
 
-Also callable as C<i_int_check_image_file_limits(width, height, channels, sizeof(i_sample_t)>.
-
 =cut
 */