Changeset 42bb2a548d096f55bfbbb98421802e7c164e03f4

Show
Ignore:
Timestamp:
03/30/08 10:43:52 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1206866632 +0300
git-parent:

[6d1a4bca44bac246757ccbca9b8a2f9fc07ebf80]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1206866572 +0300
Message:

Document object memory layoyt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/objects.c

    r5b3a294 r42bb2a5  
    103103    vlc_object_internals_t *p_priv; 
    104104 
     105    /* NOTE: 
     106     * VLC objects are laid out as follow: 
     107     * - first the LibVLC-private per-object data, 
     108     * - then VLC_COMMON members from vlc_object_t, 
     109     * - finally, the type-specific data (if any). 
     110     * 
     111     * This function initializes the LibVLC and common data, 
     112     * and zeroes the rest. 
     113     */ 
    105114    p_priv = calloc( 1, sizeof( *p_priv ) + i_size ); 
    106115    if( p_priv == NULL )