~ubuntu-branches/ubuntu/jaunty/libgdiplus/jaunty-updates

« back to all changes in this revision

Viewing changes to cairo/src/cairo-array.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-05-17 13:38:42 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517133842-t8b8d4lxmhb3vnp0
Tags: 1.2.4-1ubuntu1
* Sync with Debian:
  + debian/control:
    - Add sparc to archs
    - Set Maintainer field...

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 * @element_size.
45
45
 *
46
46
 * The #cairo_array_t object provides grow-by-doubling storage. It
47
 
 * never intereprets the data passed to it, nor does it provide any
 
47
 * never interprets the data passed to it, nor does it provide any
48
48
 * sort of callback mechanism for freeing resources held onto by
49
49
 * stored objects.
50
50
 *
318
318
    return array->num_elements;
319
319
}
320
320
 
 
321
/**
 
322
 * _cairo_array_size:
 
323
 *
 
324
 * Return value: The number of elements for which there is currently
 
325
 * space allocated in array.
 
326
 **/
 
327
int
 
328
_cairo_array_size (cairo_array_t *array)
 
329
{
 
330
    return array->size;
 
331
}
 
332
 
321
333
/* cairo_user_data_array_t */
322
334
 
323
335
typedef struct {