Macros
debug_print.h File Reference
#include <string.h>
#include <stdio.h>
Include dependency graph for debug_print.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG   1
 
#define debug_print(fmt, ...)
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG   1

Definition at line 33 of file debug_print.h.

◆ debug_print

#define debug_print (   fmt,
  ... 
)
Value:
do { if (DEBUG) fprintf(stderr, "%s:%d:%s(): " fmt, strrchr("/"__FILE__,'/')+1, \
__LINE__, __func__, ##__VA_ARGS__); fflush(stderr);} while (0)
#define DEBUG
Definition: debug_print.h:33

Definition at line 39 of file debug_print.h.



apriltag
Author(s): Edwin Olson , Max Krogius
autogenerated on Mon Jun 26 2023 02:26:35