John,

> Judy code has some debugging calls to check functions.  Inside
> DBGCODE().
>
> Unfortunately, the code for these functions aren't in the tarball or
> repository.  Any available?

I'm surprised at that.  I have nearly zero recollection of this, but I
do have some libJudy sources on my home tree, where a find/grep
revealed in tool/jhton.c (not in any release?) the following:

-------------
// Shorthand notation to avoid #ifdefs for single-line conditional statement:
//
// Warning:  This cannot be used around compiler directives, such as
// "#include", nor in the case where Code contains a comma other than nested
// within parentheses or quotes.

#ifndef DEBUG
#define DBGCODE(Code) // null.
#else
#define DBGCODE(Code) Code
#endif
-------------

This is probably a clone of, but identical to, something that appeared
in a released header file -- but I don't know why you have DBGCODE()
macros in the source without a definition anywhere.

Cheers,
Alan Silverstein

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel

Reply via email to