GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TRACE(3) Allegro manual TRACE(3)

TRACE - Debugging helper macro to trace messages. Allegro game programming library.

#include <allegro.h>

void TRACE(char *msg, ...);

Debugging helper macro. Normally compiles away to nothing, but if you defined the preprocessor symbol DEBUGMODE before including Allegro headers, it passes the supplied message given in ASCII format to al_trace(). Example:

   #define DEBUGMODE
   #include 
   ...
   void my_blitter(BITMAP *source, int flags)
   {
      static int count_call = 0;
      TRACE("my_blitter() called %d times.\n", count_call++);
      ...
   }

al_trace(3), ASSERT(3), register_trace_handler(3)
version 4.4.3 Allegro

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.