Skip to content
ListInitWithDeepCopyT

ListInitWithDeepCopyT

ListInitWithDeepCopyT

Description

Initialize a list of given type with deep-copy.

Parameters

Name Direction Description
l in Vector pointer to be initialized.
ci in Copy init method (for maintaining deep-copy).
cd in Copy deinit method (for deiniting copied objects)

Usage example (Cross-references)

Usage examples (Cross-references)
    /// TAGS: Init, List, Length, Size, Aligned, DeepCopy, DeepDeinit
    ///
    #define ListInitT(l) ListInitWithDeepCopyT(l, NULL, NULL)
    
    ///
    
    #ifdef __cplusplus
    #    define ListInitWithDeepCopyT(l, ci, cd) (TYPE_OF(l) ListInitWithDeepCopy(ci, cd))
    #else
    ///
Last updated on