~ubuntu-branches/ubuntu/oneiric/imagemagick/oneiric-updates

« back to all changes in this revision

Viewing changes to magick/version.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-06-15 11:05:28 UTC
  • mfrom: (6.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110615110528-08jgo07a4846xh8d
Tags: 8:6.6.0.4-3ubuntu1
* Resynchronise with Debian (LP: #797595).  Remaining changes:
  - Make ufraw-batch (universe) a suggestion instead of a recommendation.
  - Make debian/rules install target depend on check; they cannot reliably
    be run in parallel.
  - Don't set MAKEFLAGS in debian/rules; just pass it to the build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
%
189
189
%  The format of the GetMagickQuantumDepth method is:
190
190
%
191
 
%      const char *GetMagickQuantumDepth(size_t *depth)
 
191
%      const char *GetMagickQuantumDepth(unsigned long *depth)
192
192
%
193
193
%  A description of each parameter follows:
194
194
%
195
195
%    o depth: the quantum depth is returned as a number.
196
196
%
197
197
*/
198
 
MagickExport const char *GetMagickQuantumDepth(size_t *depth)
 
198
MagickExport const char *GetMagickQuantumDepth(unsigned long *depth)
199
199
{
200
 
  if (depth != (size_t *) NULL)
201
 
    *depth=(size_t) MAGICKCORE_QUANTUM_DEPTH;
 
200
  if (depth != (unsigned long *) NULL)
 
201
    *depth=(unsigned long) MAGICKCORE_QUANTUM_DEPTH;
202
202
  return(MagickQuantumDepth);
203
203
}
204
204
 
217
217
%
218
218
%  The format of the GetMagickQuantumRange method is:
219
219
%
220
 
%      const char *GetMagickQuantumRange(size_t *range)
 
220
%      const char *GetMagickQuantumRange(unsigned long *range)
221
221
%
222
222
%  A description of each parameter follows:
223
223
%
224
224
%    o range: the quantum range is returned as a number.
225
225
%
226
226
*/
227
 
MagickExport const char *GetMagickQuantumRange(size_t *range)
 
227
MagickExport const char *GetMagickQuantumRange(unsigned long *range)
228
228
{
229
 
  if (range != (size_t *) NULL)
230
 
    *range=(size_t) QuantumRange;
 
229
  if (range != (unsigned long *) NULL)
 
230
    *range=(unsigned long) QuantumRange;
231
231
  return(MagickQuantumRange);
232
232
}
233
233
 
272
272
%
273
273
%  The format of the GetMagickVersion method is:
274
274
%
275
 
%      const char *GetMagickVersion(size_t *version)
 
275
%      const char *GetMagickVersion(unsigned long *version)
276
276
%
277
277
%  A description of each parameter follows:
278
278
%
279
279
%    o version: the ImageMagick version is returned as a number.
280
280
%
281
281
*/
282
 
MagickExport const char *GetMagickVersion(size_t *version)
 
282
MagickExport const char *GetMagickVersion(unsigned long *version)
283
283
{
284
 
  if (version != (size_t *) NULL)
 
284
  if (version != (unsigned long *) NULL)
285
285
    *version=MagickLibVersion;
286
286
  return(MagickVersion);
287
287
}