Changeset d8cfcc7785b36b3dd93f01a2693ffc7bd9da8669
- Timestamp:
- 01/21/08 17:06:00
(8 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1200931560 +0000
- git-parent:
[55623f505bc8609e4aa94043f30c33a512ef5c57]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1200931560 +0000
- Message:
Don't clutter the production builds with the (useless IMHO) vlc_thread_error
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2c5dbee |
rd8cfcc7 |
|
| 36 | 36 | * Function definitions |
|---|
| 37 | 37 | *****************************************************************************/ |
|---|
| 38 | | VLC_EXPORT( void, __vlc_threads_error, ( vlc_object_t *) ); |
|---|
| | 38 | VLC_EXPORT( void, vlc_threads_error, ( vlc_object_t *) ); |
|---|
| 39 | 39 | VLC_EXPORT( int, __vlc_mutex_init, ( vlc_object_t *, vlc_mutex_t * ) ); |
|---|
| 40 | 40 | VLC_EXPORT( int, __vlc_mutex_init_recursive, ( vlc_object_t *, vlc_mutex_t * ) ); |
|---|
| … | … | |
| 51 | 51 | * vlc_threads_error: Signalize an error in the threading system |
|---|
| 52 | 52 | *****************************************************************************/ |
|---|
| 53 | | #define vlc_threads_error( P_THIS ) \ |
|---|
| 54 | | __vlc_threads_error( VLC_OBJECT(P_THIS) ) |
|---|
| | 53 | #ifdef NDEBUG |
|---|
| | 54 | # define vlc_threads_error( P_THIS ) (void)0 |
|---|
| | 55 | #endif |
|---|
| 55 | 56 | |
|---|
| 56 | 57 | /***************************************************************************** |
|---|
| r192a207 |
rd8cfcc7 |
|
| 84 | 84 | * on which you can break. |
|---|
| 85 | 85 | *****************************************************************************/ |
|---|
| 86 | | void |
|---|
| 87 | | __vlc_threads_error( vlc_object_t *p_this ) |
|---|
| | 86 | void vlc_threads_error( vlc_object_t *p_this ) |
|---|
| 88 | 87 | { |
|---|
| 89 | 88 | msg_Err( p_this, "Error detected. Put a breakpoint in '%s' to debug.", |
|---|