cLinkedList
A simple C library for doubly linked list creation and management
Loading...
Searching...
No Matches
macrodef.h File Reference
#include <math.h>
#include <stdio.h>

Go to the source code of this file.

Macros

#define MACRODEF_H
 
#define NULL   0L
 
#define FALSE   0
 
#define TRUE   1
 
#define DIR_SEP   '/'
 
#define round(X)   (((X) >= 0) ? (int)((X)+0.5) : (int)((X)-0.5))
 
#define floor(X)   ((long)X)
 
#define MAXPATHLENGTH   256
 
#define ERRSTREAM   stdout
 
#define LOGSTREAM   stdout
 

Macro Definition Documentation

◆ DIR_SEP

#define DIR_SEP   '/'

Definition at line 36 of file macrodef.h.

◆ ERRSTREAM

#define ERRSTREAM   stdout

Definition at line 82 of file macrodef.h.

◆ FALSE

#define FALSE   0

Definition at line 23 of file macrodef.h.

◆ floor

#define floor (   X)    ((long)X)

Definition at line 47 of file macrodef.h.

◆ LOGSTREAM

#define LOGSTREAM   stdout

Definition at line 86 of file macrodef.h.

◆ MACRODEF_H

#define MACRODEF_H

Definition at line 6 of file macrodef.h.

◆ MAXPATHLENGTH

#define MAXPATHLENGTH   256

Definition at line 75 of file macrodef.h.

◆ NULL

#define NULL   0L

Definition at line 19 of file macrodef.h.

◆ round

#define round (   X)    (((X) >= 0) ? (int)((X)+0.5) : (int)((X)-0.5))

Definition at line 43 of file macrodef.h.

◆ TRUE

#define TRUE   1

Definition at line 24 of file macrodef.h.