Vuo  0.8.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros

Description

Macros to help with debugging.

Macros

#define VL()
 Prints the name of the file and function to the system log and to stderr (and implicitly flushes the output buffer).
 
#define VLog(format,...)
 Prints the name of the file and function, and printf()-style format/arguments, to the system log and to stderr (and implicitly flushes the output buffer).
 
#define VLogHeap(heapPointer)
 Prints the name of the current file and function, and the address and description of the specified heapPointer, to the system log and to stderr (and implicitly flushes the output buffer).
 
#define VLogCF(coreFoundationRef)
 Prints the specified Core Foundation object to the system log and to stderr (and implicitly flushes the output buffer).
 

Macro Definition Documentation

#define VL ( )

Prints the name of the file and function to the system log and to stderr (and implicitly flushes the output buffer).

Example:
void nodeEvent()
{
VL();
}
#define VLog (   format,
  ... 
)

Prints the name of the file and function, and printf()-style format/arguments, to the system log and to stderr (and implicitly flushes the output buffer).

Example:
void nodeEvent(VuoInputData(VuoInteger, "42") number)
{
VLog("%d", number);
}
#define VLogCF (   coreFoundationRef)

Prints the specified Core Foundation object to the system log and to stderr (and implicitly flushes the output buffer).

#define VLogHeap (   heapPointer)

Prints the name of the current file and function, and the address and description of the specified heapPointer, to the system log and to stderr (and implicitly flushes the output buffer).

Example:
{
VLogHeap(shader);
}