* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _CODE_H
-#define _CODE_H
#define C_NULL -1
#define C_ISSTMT(ct) (ct >= C_STMT && ct <= C_RETURN)
int Cinteger (long);
int Creal (double);
int Cstring (char *);
-#endif /* _CODE_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-
-#ifndef _C2L_H
-#define _C2L_H
int C2Lopen(char *, char *, FILE **, FILE **);
-#endif /* _C2L_H */
#ifdef __cplusplus
}
*
* Contributors: Details at https://graphviz.org
*************************************************************************/
-
+
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _DISPLAY_H
-#define _DISPLAY_H
void Dinit (void);
void Dterm (void);
void Dtrace (Tobj, int);
-#endif /* _DISPLAY_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-
-#ifndef _DOT2L_H
-#define _DOT2L_H
#define SMALLBUF 128
int yyparse(void);
void D2Lmidedge (int, Tobj, char *);
void D2Lendedge (void);
void D2Lsetattr (char *, char *);
-#endif /* _DOT2L_H */
#ifdef __cplusplus
}
*
* Contributors: Details at https://graphviz.org
*************************************************************************/
-
+
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _EXEC_H
-#define _EXEC_H
typedef struct Tonm_t lvar_t;
extern Tobj root, null;
void Eterm (void);
Tobj Eunit (Tobj);
Tobj Efunction (Tobj, char *);
-#endif /* _EXEC_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _G_H
-#define _G_H
#ifdef FEATURE_X11
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#define G_ERRNOBITMAP 21
#define G_ERRCANNOTREADBITMAP 22
-#endif /* _G_H */
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _GFXVIEW_H
-#define _GFXVIEW_H
void GFXinit (void);
void GFXterm (void);
void GFXprune (void);
int GFXsetpick (int, lvar_t *);
int GFXdisplaymenu (int, lvar_t *);
int GFXcolormap (int, lvar_t *);
-#endif /* _GFXVIEW_H */
#ifdef __cplusplus
}
*
* Contributors: Details at https://graphviz.org
*************************************************************************/
-
+
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _INTERNAL_H
-#define _INTERNAL_H
typedef struct Ifunc_t {
char *name;
int (*func) (int, Tonm_t *);
extern Ifunc_t Ifuncs[];
extern int Ifuncn;
-#endif /* _INTERNAL_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _IO_H
-#define _IO_H
-
#define IO_FILE 0
#define IO_PTY 1
#define IO_PIPE 2
int IOread (int, char *, int);
int IOwriteline (int, char *);
-#endif /* _IO_H */
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _LEX_H
-#define _LEX_H
-
#define L_SEMI 0
#define L_ASSIGN 1
#define L_OR 2
void Lgetsrc (int *, char **, FILE **, int *, int *);
void Lprintpos (void);
void Lgtok (void);
-#endif /* _LEX_H */
#ifdef __cplusplus
}
*
* Contributors: Details at https://graphviz.org
*************************************************************************/
-
+
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _MEM_H
-#define _MEM_H
-
#ifdef FEATURE_MINTSIZE
typedef int Msize_t;
#define M_SIZEMAX INT_MAX
void Mmkcurr (void *);
void Mdogc (int);
void Mreport (void);
-#endif /* _MEM_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _PARSE_H
-#define _PARSE_H
typedef struct Psrc_t {
int flag;
char *s;
Tobj Punit (Psrc_t *);
Tobj Pfcall (Tobj, Tobj);
Tobj Pfunction (char *, int);
-#endif /* _PARSE_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _STR_H
-#define _STR_H
void Sinit (void);
void Sterm (void);
char *Spath (char *, Tobj);
char *Stfull (Tobj);
char *Ssfull (Tobj, Tobj);
char *Scfull (Tobj, int, int);
-#endif /* _STR_H */
#ifdef __cplusplus
}
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _TBL_H
-#define _TBL_H
+#pragma once
+
#ifdef _WIN32
#include "mem.h"
#endif
Tobj Tcopy (Tobj);
void Tgetfirst (Tobj, Tkvindex_t *);
void Tgetnext (Tkvindex_t *);
-#endif /* _TBL_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _TXTVIEW_H
-#define _TXTVIEW_H
void TXTinit (Grect_t);
void TXTterm (void);
int TXTmode (int argc, lvar_t *argv);
void TXTprocess (int, char *);
void TXTupdate (void);
void TXTtoggle (int, void *);
-#endif /* _TXTVIEW_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _GCOMMON_H
-#define _GCOMMON_H
extern HANDLE hinstance, hprevinstance;
/* point and rect structures */
void Gadjustwrect (Gwidget_t *, PIXsize_t *);
void Gadjustclip (Gwidget_t *);
Gpoint_t ppixtodraw (Gwidget_t *, PIXpoint_t);
-#endif /* _GCOMMON_H */
#ifdef __cplusplus
}
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _GCOMMON_H
-#define _GCOMMON_H
-
typedef struct {
int x, y;
} XPoint;
void Gawdefcoordscb (int, Gawdata_t *);
-#endif /* _GCOMMON_H */
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
/* Lefteris Koutsofios - AT&T Labs Research */
-#ifndef _GCOMMON_H
-#define _GCOMMON_H
#if XlibSpecificationRelease < 5
typedef char *XPointer;
#endif
extern Atom Gqwdelatom, Gwmdelatom;
-#endif /* _GCOMMON_H */
-
#ifdef __cplusplus
}
#endif