Re: diag/debug prints library



nrvale0@pop.uky.edu writes:
>   Anyway...does such a beast exist? Would anyone be interested in
> using and/or helping develop a library to do such things? I'm 
> thinking of writing at least a quick hack with this functionality
> over the holiday break from Uni. I don't want to reimplement 
> functionality that may already exist in some other package tho so
> that's why I'm asking.
> 

Well, you should look at what glib has. It doesn't have exactly this,
but it has g_log(), g_return_if_fail() (disabled with
-DG_DISABLE_CHECKS), and g_assert() (disabled with
-DG_DISABLE_ASSERT). These are used all over GNOME.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]