* AT&T Research, Florham Park NJ *
**********************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-
#ifndef _POINTSET_H
#define _POINTSET_H 1
-#include "render.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef Dict_t PointSet;
typedef Dict_t PointMap;
extern void clearPM(PointMap *);
extern void freePM(PointMap *);
extern int insertPM(PointMap *, int, int, int);
-#endif
#ifdef __cplusplus
}
#endif
+
+#endif /* _POINTSET_H */
# define extern __EXPORT__
#endif
- extern void gv_nodesize(Agnode_t * n, boolean flip);
- extern void start_timer(void);
- extern double elapsed_sec(void);
- extern void cat_libfile(GVJ_t * job, const char **arglib, const char **stdlib);
-
#ifdef WITH_CODEGENS
extern codegen_info_t *first_codegen(void);
extern codegen_info_t *next_codegen(codegen_info_t * p);
* AT&T Research, Florham Park NJ *
**********************************************************/
+#ifndef _UTILS_H
+#define _UTILS_H 1
+
#ifdef __cplusplus
extern "C" {
#endif
+#ifdef GVDLL
+# ifdef _BLD_gvc
+# define extern __declspec(dllimport)
+# else
+# define extern __declspec(dllexport)
+# endif
+#else
+# define extern
+#endif
+
#ifndef HAVE_STRCASECMP
extern int strcasecmp(const char *s1, const char *s2);
#endif
extern void free_queue(nodequeue *);
extern void enqueue(nodequeue *, Agnode_t *);
extern Agnode_t *dequeue(nodequeue *);
-
-#if defined(_BLD_dot) && defined(_DLL)
-# define extern __EXPORT__
-#endif
-
extern pointf Bezier(pointf *, int, double, pointf *, pointf *);
extern void attach_attrs(graph_t * g);
extern void attach_attrs_and_arrows(graph_t*, int*, int*);
extern Agsym_t *setAttr(graph_t*, void*, char*name, char *value, Agsym_t*);
extern void setEdgeType (graph_t* g, int dflt);
extern int edgeType (char* s, int dflt);
+
+ /* from postproc.c */
+ extern void gv_nodesize(Agnode_t * n, boolean flip);
+
+ /* from timing.c */
+ extern void start_timer(void);
+ extern double elapsed_sec(void);
+
+ /* from psusershape.c */
+ extern void cat_libfile(GVJ_t * job, const char **arglib, const char **stdlib);
+
+
+#undef extern
+
#ifdef __cplusplus
}
#endif
+
+#endif /* _UTILS_H */