Changeset 33c764faa9be5935c51e28b937e9bb849bfd481b
- Timestamp:
- 01/24/04 21:40:46
(5 years ago)
- Author:
- Laurent Aimar <fenrir@videolan.org>
- git-committer:
- Laurent Aimar <fenrir@videolan.org> 1074976846 +0000
- git-parent:
[9bbd9158ebdc42b945e84cab167a348fdc0282f4]
- git-author:
- Laurent Aimar <fenrir@videolan.org> 1074976846 +0000
- Message:
- vlc_common: changed TAB_APPEND. I have to do this because the old way
seems to make bogus code (but I'm not sure).
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9bb5174 |
r33c764f |
|
| 4 | 4 | ***************************************************************************** |
|---|
| 5 | 5 | * Copyright (C) 1998, 1999, 2000 VideoLAN |
|---|
| 6 | | * $Id: vlc_common.h,v 1.103 2004/01/20 17:44:30 sam Exp $ |
|---|
| | 6 | * $Id: vlc_common.h,v 1.104 2004/01/24 20:40:46 fenrir Exp $ |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | * Authors: Samuel Hocevar <sam@via.ecp.fr> |
|---|
| … | … | |
| 454 | 454 | if( (count) > 0 ) \ |
|---|
| 455 | 455 | { \ |
|---|
| 456 | | (*(void **)(&tab)) = \ |
|---|
| 457 | | realloc( tab, sizeof( void ** ) * ( (count) + 1 ) ); \ |
|---|
| | 456 | (void *)(tab) = realloc( tab, sizeof( void ** ) * ( (count) + 1 ) ); \ |
|---|
| 458 | 457 | } \ |
|---|
| 459 | 458 | else \ |
|---|
| 460 | 459 | { \ |
|---|
| 461 | | (*(void **)(&tab)) = malloc( sizeof( void ** ) ); \ |
|---|
| | 460 | (void *)(tab) = malloc( sizeof( void ** ) ); \ |
|---|
| 462 | 461 | } \ |
|---|
| 463 | 462 | ((void**)(tab))[count] = (void*)(p); \ |
|---|