Re: Request for Comment: Callable CRM114 Classifiers (libcrm114) --> OOBC
Eugene Crosser <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
So, define macros like
#define CRM_TRACE(ctx,pparms) \
{ if (ctx->internal_trace) printf pparms; }
use like:
CRM_TRACE(myctx,("entering xxx with yyy=%d\n", yyy));
[crippled simplification, that cannot use fprintf(stderr, ...) but just
to make the point], and use them throughout the code. That will make
happy Bill (and every other old-schooler), and keep open the opportunity
to redefine macros to something fancy needed for GUI/embedded use, and
therefore make happy Ger (and every other person who wants control over
the diagnostic output, including myself).
How does it sound?
Eugene
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI6lgUfrw/cIw6UWkRAv17AJwKZxd6sLWVif4ACjEJWOzKCyTOQQCgwddU ACD7sNuqDs8sYdWiAZ9C9uk= =kvGa -----END PGP SIGNATURE-----