JWM Source Documentation
Macros | Functions
debug.h File Reference

Debug functions. More...

#include "../config.h"
#include <stdlib.h>

Go to the source code of this file.

Macros

#define AllocateStack(x)   Allocate( x )
 
#define ReleaseStack(x)   Release( x )
 
#define Assert(x)   ((void)0)
 
#define SetCheckpoint()   ((void)0)
 
#define ShowCheckpoint()   ((void)0)
 
#define StartDebug()   ((void)0)
 
#define StopDebug()   ((void)0)
 
#define Allocate(x)   malloc( (x) )
 
#define Reallocate(x, y)   realloc( (x), (y) )
 
#define Release(x)   free( (x) )
 

Functions

void Debug (const char *str,...)
 Emit a message (if compiled with -DDEBUG).
 

Detailed Description

Debug functions.

Header for the debug functions.

Author
Joe Wingbermuehle
Date
2003-2006

Definition in file debug.h.

Macro Definition Documentation

#define Allocate (   x)    malloc( (x) )
#define AllocateStack (   x)    Allocate( x )
#define Assert (   x)    ((void)0)

Definition at line 82 of file debug.h.

Referenced by AddClientWindow(), AddCommand(), AddGroupClass(), AddGroupName(), AddGroupOptionString(), AddGroupOptionUnsigned(), AddPattern(), ApplyGroup(), ApplyGroups(), CheckSwallowMap(), ComputeDimensions(), Create(), CreateScaledRenderIcon(), Debug(), DeleteClient(), Destroy(), DestroyConfirmDialog(), DrawBorder(), DrawBorderHelper(), DrawButton(), DrawButtons(), DrawDialog(), DrawMenuItem(), ExpandPath(), ExposeConfirmDialog(), FatalError(), FindValue(), FixHeight(), FixWidth(), FocusGroup(), FocusNextStacked(), GetBorderSize(), GetCardinalAtom(), GetDesktopName(), GetDockSize(), GetScreen(), GetStringHeight(), GetWindowAtom(), HandleDialogButtonPress(), HandleDialogButtonRelease(), HandleDialogExpose(), HandleDockConfigureRequest(), HandleDockEvent(), HandleDockReparentNotify(), HandleDockResizeRequest(), HandleMapRequest(), HandleNetMoveResize(), HandleUnmapNotify(), HideTray(), InsertIcon(), KillClient(), LoadNamedIcon(), LoadPNGImage(), LoadXPMImage(), MaximizeClientDefault(), MinimizeClient(), MinimizeTransients(), MoveClient(), MoveClientKeyboard(), ParseActiveWindowStyle(), ParseClock(), ParseDesktops(), ParseDock(), ParseGroup(), ParseKey(), ParseMenuItem(), ParsePager(), ParsePagerStyle(), ParseSpacer(), ParseSwallow(), ParseTaskList(), ParseTray(), ParseTrayButton(), PlaceClient(), ProcessDialogEvent(), PutIcon(), PutScaledRenderIcon(), RaiseClient(), ReadClientInfo(), ReadMotifHints(), ReadWindowState(), ReadWMClass(), ReadWMColormaps(), ReadWMHints(), ReadWMNormalHints(), ReadWMProtocols(), ReleaseCommands(), ReleaseNodes(), RemoveClient(), ReplaceSymbol(), ResetButton(), Resize(), ResizeClient(), ResizeClientKeyboard(), ResizeTray(), RestoreTransients(), SendConfigureEvent(), SetAtomAtom(), SetAutoHideTray(), SetCardinalAtom(), SetClientDesktop(), SetClientFullScreen(), SetClientLayer(), SetClientSticky(), SetClientWithdrawn(), SetDesktopName(), SetMaxTaskBarItemWidth(), SetPixmapAtom(), SetSize(), SetTrayX(), SetTrayY(), SetWindowAtom(), ShadeClient(), ShowConfirmDialog(), StartPagerMove(), StartupTray(), StartWindowStackWalk(), StopMove(), StopPagerMove(), Trim(), UngrabServer(), UnregisterCallback(), UnshadeClient(), UpdateClientColormap(), UpdateDock(), UpdateNetClientList(), UpdateState(), UpdateTime(), Warning(), WarningVA(), WriteNetAllowed(), and WriteNetState().

#define Reallocate (   x,
 
)    realloc( (x), (y) )

Definition at line 91 of file debug.h.

Referenced by ReadFile(), ReadValue(), and Tokenize().

#define Release (   x)    free( (x) )
#define ReleaseStack (   x)    Release( x )
#define SetCheckpoint ( )    ((void)0)

Definition at line 84 of file debug.h.

#define ShowCheckpoint ( )    ((void)0)

Definition at line 85 of file debug.h.

Referenced by ErrorHandler().

#define StartDebug ( )    ((void)0)

Definition at line 87 of file debug.h.

Referenced by main().

#define StopDebug ( )    ((void)0)

Definition at line 88 of file debug.h.

Referenced by DoExit().

Function Documentation

void Debug ( const char *  str,
  ... 
)

joewing.net / Projects / JWM