Category : Files from Magazines
Archive   : WDJUL92.ZIP
Filename : 3N07056A

 
Output of file : 3N07056A contained in archive : WDJUL92.ZIP
//=================================
// w_assert() by Matt Pietrek, 1992
// File: W_ASSERT.H
//=================================

// prototype the __w_assertfail() function, and apply if
// doing a C++ compile

#ifdef __cplusplus
extern "C" {
#endif
void __w_assertfail( char *msg, char *cond, char *file, int line);
#ifdef __cplusplus
}
#endif

// Just a variation on the 'C' assert() macro with changed names

#ifdef NDEBUG
#define w_assert(p) ((void)0)
#else
#define w_assert(p) ((p) ? (void)0 : (void) __w_assertfail( \
"Assertion failed: %s, file %s, line %d", \
#p, __FILE__, __LINE__ ) )
#endif


  3 Responses to “Category : Files from Magazines
Archive   : WDJUL92.ZIP
Filename : 3N07056A

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/