diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-06-07 22:15:47 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-06-07 22:15:47 +0000 |
commit | be64e1d8491032c3074cd8e60481afd402bbec68 (patch) | |
tree | 29eefa15badd0a9626b8a7e0edfe2ce74e98daee /src/xine-utils/xineutils.h | |
parent | 80aeefe1dced1969987f604773793b753fdd877a (diff) | |
download | xine-lib-be64e1d8491032c3074cd8e60481afd402bbec68.tar.gz xine-lib-be64e1d8491032c3074cd8e60481afd402bbec68.tar.bz2 |
Ability to xine-lib clients to use non debug xine-lib with UI compiled with
DEBUG and using profiler.
CVS patchset: 2037
CVS date: 2002/06/07 22:15:47
Diffstat (limited to 'src/xine-utils/xineutils.h')
-rw-r--r-- | src/xine-utils/xineutils.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 5db895a64..214331940 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.14 2002/05/01 19:41:55 guenter Exp $ + * $Id: xineutils.h,v 1.15 2002/06/07 22:15:47 f1rmb Exp $ * */ #ifndef XINEUTILS_H @@ -580,13 +580,11 @@ void xine_probe_fast_memcpy(config_values_t *config); #endif -#ifdef DEBUG /* * Debug stuff */ - /* - * profiling + * profiling (unworkable in non DEBUG isn't defined) */ void xine_profiler_init (void); int xine_profiler_allocate_slot (char *label); @@ -594,16 +592,6 @@ void xine_profiler_start_count (int id); void xine_profiler_stop_count (int id); void xine_profiler_print_results (void); -#else /* no DEBUG, release version */ - -#define xine_profiler_init() -#define xine_profiler_allocate_slot(label) (-1) -#define xine_profiler_start_count(id) -#define xine_profiler_stop_count(id) -#define xine_profiler_print_results() - -#endif /* DEBUG*/ - /* * Allocate and clean memory size_t 'size', then return the pointer * to the allocated memory. |