Mercurial > mplayer.hg
view loader/debug.h @ 34679:6378e3a2ffb8
Revise listMgr() command URLLIST_ITEM_ADD.
Remove unnecessary variable is_added, replace gstrcmp() by strcmp(),
fix memory leakage by freeing list item that won't be added and change
return value to pointer to added item.
Additionally, insert some blank lines.
author | ib |
---|---|
date | Thu, 23 Feb 2012 13:07:49 +0000 |
parents | a8ea87c71d18 |
children |
line wrap: on
line source
#ifndef MPLAYER_DEBUG_H #define MPLAYER_DEBUG_H #ifdef DEBUG #define TRACE printf #define dbg_printf printf #else #define TRACE(...) #define dbg_printf(...) #endif #endif /* MPLAYER_DEBUG_H */