Greetings!
Being incredibly rusty in the little C which I ever knew, and, not knowing where else to turn but the best programming community on the web ( ), I submit the following snippet for a quick question:
#if PERL_VERSION > 7
if (DEBUG_D_TEST) {
SV* sva;
PerlIO_printf(Perl_debug_log, "\n");
for (sva = PL_sv_arenaroot; sva; sva = (SV*)SvANY(sva)) {
PerlIO_printf(Perl_debug_log, "sv_arena: 0x%p - 0x%p (%u)\n",
sva, sva+SvREFCNT(sva), SvREFCNT(sva));
}
}
return perl_destruct( my_perl );
#else
perl_destruct( my_perl );
return 0;
#endif
Here's what has me a bit curious about this sample to start: What's with the #if
, #else
, and #endif
? Surely we're not looking at line commenting here ( :o ).
That being so, what else is going on with the #
s in the foregoing context
Thanks a bunch!