Browse code

Second version bump after creating 2.14 release branch.

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Rgraphviz@88840 bc3139a8-67e5-0310-9ffc-ced21a209358

d.tenenbaum authored on 11/04/2014 21:21:21
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,139 @@
1
+/* $Id: globals.h,v 1.47 2011/02/01 22:29:03 erg Exp $ $Revision: 1.47 $ */
2
+/* vim:set shiftwidth=4 ts=8: */
3
+
4
+/*************************************************************************
5
+ * Copyright (c) 2011 AT&T Intellectual Property 
6
+ * All rights reserved. This program and the accompanying materials
7
+ * are made available under the terms of the Eclipse Public License v1.0
8
+ * which accompanies this distribution, and is available at
9
+ * http://www.eclipse.org/legal/epl-v10.html
10
+ *
11
+ * Contributors: See CVS logs. Details at http://www.graphviz.org/
12
+ *************************************************************************/
13
+
14
+/* this is to get the following win32 DLL junk to work.
15
+ * if ever tempted to remove this, first please read:
16
+ * http://joel.editthispage.com/stories/storyReader$47
17
+ */
18
+#ifndef GLOBALS_H
19
+#define GLOBALS_H
20
+
21
+#ifdef _UWIN
22
+#ifndef _POSIX_			/* ncc doesn't define _POSIX_ */
23
+/* i.e. if this is the win32 build using nmake with CC=ncc (native C) */
24
+/* this was the easiest way to get some simple libc interfaces. */
25
+#include "C:\Program Files\UWIN\usr\include\astwin32.h"
26
+#undef _UWIN			/* don't assume ANY _UWIN features in the execution environment */
27
+#endif				/* _POSIX_ */
28
+#endif				/* _UWIN */
29
+
30
+#ifndef __CYGWIN__
31
+#if defined(_BLD_dotneato) && defined(_DLL)
32
+#   define external __EXPORT__
33
+#endif
34
+#if !defined(_BLD_dotneato) && defined(__IMPORT__)
35
+#   define external __IMPORT__
36
+#endif
37
+#if defined(GVDLL)
38
+#if !defined(_BLD_gvc)
39
+#define extern	__declspec(dllimport)
40
+#else
41
+#define extern __declspec(dllexport)
42
+#endif
43
+#endif
44
+#endif
45
+/*visual studio*/
46
+#ifdef WIN32_DLL
47
+#ifndef GVC_EXPORTS
48
+#define extern __declspec(dllimport)
49
+#endif
50
+#endif
51
+/*end visual studio*/
52
+
53
+#ifndef external
54
+#   define external   extern
55
+#endif
56
+#ifndef EXTERN
57
+#define EXTERN extern
58
+#endif
59
+
60
+#ifdef __cplusplus
61
+extern "C" {
62
+#endif
63
+
64
+    EXTERN char *Version;
65
+    EXTERN char **Files;	/* from command line */
66
+    EXTERN const char **Lib;		/* from command line */
67
+    EXTERN char *CmdName;
68
+    EXTERN char *specificFlags;
69
+    EXTERN char *specificItems;
70
+    EXTERN char *Gvfilepath;	/* Path of files allowed in 'shapefile' attrib  (also ps libs) */
71
+
72
+    EXTERN unsigned char Verbose;
73
+    EXTERN boolean Reduce, MemTest;
74
+    EXTERN char *HTTPServerEnVar;
75
+    EXTERN char *Output_file_name;
76
+    EXTERN int graphviz_errors;
77
+    EXTERN int Nop;
78
+    EXTERN double PSinputscale;
79
+    EXTERN int Syntax_errors;
80
+    EXTERN int Show_cnt;
81
+    EXTERN char** Show_boxes;	/* emit code for correct box coordinates */
82
+    EXTERN int CL_type;		/* NONE, LOCAL, GLOBAL */
83
+    EXTERN boolean Concentrate;	/* if parallel edges should be merged */
84
+    EXTERN double Epsilon;	/* defined in input_graph */
85
+    EXTERN int MaxIter;
86
+    EXTERN int Ndim;
87
+    EXTERN int State;		/* last finished phase */
88
+    EXTERN double Initial_dist;
89
+    EXTERN double Damping;
90
+    EXTERN int Y_invert;	/* invert y in dot & plain output */
91
+
92
+    EXTERN attrsym_t
93
+	*G_activepencolor, *G_activefillcolor,
94
+	*G_selectedpencolor, *G_selectedfillcolor,
95
+	*G_visitedpencolor, *G_visitedfillcolor,
96
+	*G_deletedpencolor, *G_deletedfillcolor,
97
+	*G_ordering, *G_peripheries, *G_penwidth;
98
+    EXTERN attrsym_t
99
+	*N_height, *N_width, *N_shape, *N_color, *N_fillcolor,
100
+	*N_activepencolor, *N_activefillcolor,
101
+	*N_selectedpencolor, *N_selectedfillcolor,
102
+	*N_visitedpencolor, *N_visitedfillcolor,
103
+	*N_deletedpencolor, *N_deletedfillcolor,
104
+	*N_fontsize, *N_fontname, *N_fontcolor,
105
+	*N_label, *N_xlabel, *N_nojustify, *N_style, *N_showboxes,
106
+	*N_sides, *N_peripheries, *N_ordering, *N_orientation,
107
+	*N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer,
108
+	*N_group, *N_comment, *N_vertices, *N_z,
109
+	*N_penwidth;
110
+    EXTERN attrsym_t
111
+	*E_weight, *E_minlen, *E_color,
112
+	*E_activepencolor, *E_activefillcolor,
113
+	*E_selectedpencolor, *E_selectedfillcolor,
114
+	*E_visitedpencolor, *E_visitedfillcolor,
115
+	*E_deletedpencolor, *E_deletedfillcolor,
116
+	*E_fontsize, *E_fontname, *E_fontcolor,
117
+	*E_label, *E_xlabel, *E_dir, *E_style, *E_decorate,
118
+	*E_showboxes, *E_arrowsz, *E_constr, *E_layer,
119
+	*E_comment, *E_label_float,
120
+	*E_samehead, *E_sametail,
121
+	*E_arrowhead, *E_arrowtail,
122
+	*E_headlabel, *E_taillabel,
123
+	*E_labelfontsize, *E_labelfontname, *E_labelfontcolor,
124
+	*E_labeldistance, *E_labelangle,
125
+	*E_tailclip, *E_headclip,
126
+	*E_penwidth;
127
+
128
+    extern fdpParms_t fdp_parms;
129
+
130
+#undef external
131
+#undef EXTERN
132
+#ifdef extern
133
+#undef extern
134
+#endif
135
+
136
+#ifdef __cplusplus
137
+}
138
+#endif
139
+#endif