Element allocators


Functions

sct_time_ptr sct_new (void)
sct_time_ptr sct_new_copy (sct_time_ptr pElement)
sct_time_ptr sct_free (sct_time_ptr pElement)

Detailed Description

This group of functions contain the whole list of methods which can be used to use the SCT elements with dynamic memory

Function Documentation

sct_time_ptr sct_free ( sct_time_ptr  pElement  ) 

Function to free the sct_time element

Returns:
sct_time_ptr. If NULL is returned, the memory deallocation went ok.

Definition at line 56 of file sct_alloc.c.

sct_time_ptr sct_new ( void   ) 

Function to allocate a new sct_time element

Returns:
sct_time_ptr. The pointer containing the new allocated element. Will return NULL if any problem happened during the memory allocation.

Definition at line 23 of file sct_alloc.c.

Referenced by sct_new_copy().

sct_time_ptr sct_new_copy ( sct_time_ptr  pElement  ) 

Function to allocate a new sct_time element and copy the contents from another sct_time element

Returns:
sct_time_ptr. The pointer containing the new allocated element. Will return NULL if any problem happened during the memory allocation.

Definition at line 40 of file sct_alloc.c.

References sct_new().

Here is the call graph for this function:


Generated on Sun May 20 15:32:55 2007 for scitime by  doxygen 1.5.1