pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] List module implementation


From: gerel
Subject: Re: [pdf-devel] List module implementation
Date: Sun, 02 Mar 2008 08:06:04 -0300

Sorry, the first two function implementations weren't ok.

Here are fixed:

cheers

--- pdf-list.c ---
/* Creation and destruction functions */

inline pdf_list_t
pdf_list_create (pdf_list_element_equals_fn_t equals_fn,
                 pdf_list_element_dipose_fn_t dispose_fn,
                 pdf_bool_t allow_duplicates)
{
  return ((pdf_list_t) gl_list_create_empty(GL_ARRAY_LIST, equals_fn, NULL,
                                            dispose_fn, allow_duplicates));
}

inline pdf_status_t
pdf_list_destroy (pdf_list_t list)
{
  gl_list_free (list);
  return PDF_OK;
}

--- EOF pdf-list.c ---



-gerel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]