Debian Codegraph @

src/gen/lib/gvc/gvcontext__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.lib.gvc;
47 import static smetana.core.JUtils.function;
48 import static smetana.core.JUtilsDebug.ENTERING;
49 import static smetana.core.JUtilsDebug.LEAVING;
50 import static smetana.core.Macro.UNSUPPORTED;
51 import h.ST_GVC_s;
52 import h.lt_symlist_t;
53 import smetana.core.__ptr__;
54
55 public class gvcontext__c {
56 //1 2digov3edok6d5srhgtlmrycs
57 // extern lt_symlist_t lt_preloaded_symbols[]
58
59
60 //1 baedz5i9est5csw3epz3cv7z
61 // typedef Ppoly_t Ppolyline_t
62
63
64 //1 9k44uhd5foylaeoekf3llonjq
65 // extern Dtmethod_t* Dtset
66
67
68 //1 1ahfywsmzcpcig2oxm7pt9ihj
69 // extern Dtmethod_t* Dtbag
70
71
72 //1 anhghfj3k7dmkudy2n7rvt31v
73 // extern Dtmethod_t* Dtoset
74
75
76 //1 5l6oj1ux946zjwvir94ykejbc
77 // extern Dtmethod_t* Dtobag
78
79
80 //1 2wtf222ak6cui8cfjnw6w377z
81 // extern Dtmethod_t* Dtlist
82
83
84 //1 d1s1s6ibtcsmst88e3057u9r7
85 // extern Dtmethod_t* Dtstack
86
87
88 //1 axa7mflo824p6fspjn1rdk0mt
89 // extern Dtmethod_t* Dtqueue
90
91
92 //1 ega812utobm4xx9oa9w9ayij6
93 // extern Dtmethod_t* Dtdeque
94
95
96 //1 cyfr996ur43045jv1tjbelzmj
97 // extern Dtmethod_t* Dtorder
98
99
100 //1 wlofoiftbjgrrabzb2brkycg
101 // extern Dtmethod_t* Dttree
102
103
104 //1 12bds94t7voj7ulwpcvgf6agr
105 // extern Dtmethod_t* Dthash
106
107
108 //1 9lqknzty480cy7zsubmabkk8h
109 // extern Dtmethod_t _Dttree
110
111
112 //1 bvn6zkbcp8vjdhkccqo1xrkrb
113 // extern Dtmethod_t _Dthash
114
115
116 //1 9lidhtd6nsmmv3e7vjv9e10gw
117 // extern Dtmethod_t _Dtlist
118
119
120 //1 34ujfamjxo7xn89u90oh2k6f8
121 // extern Dtmethod_t _Dtqueue
122
123
124 //1 3jy4aceckzkdv950h89p4wjc8
125 // extern Dtmethod_t _Dtstack
126
127
128 //1 8dfqgf3u1v830qzcjqh9o8ha7
129 // extern Agmemdisc_t AgMemDisc
130
131
132 //1 18k2oh2t6llfsdc5x0wlcnby8
133 // extern Agiddisc_t AgIdDisc
134
135
136 //1 a4r7hi80gdxtsv4hdoqpyiivn
137 // extern Agiodisc_t AgIoDisc
138
139
140 //1 bnzt5syjb7mgeru19114vd6xx
141 // extern Agdisc_t AgDefaultDisc
142
143
144 //1 35y2gbegsdjilegaribes00mg
145 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
146
147
148 //1 c2rygslq6bcuka3awmvy2b3ow
149 // typedef Agsubnode_t Agnoderef_t
150
151
152 //1 xam6yv0dcsx57dtg44igpbzn
153 // typedef Dtlink_t Agedgeref_t
154
155
156 //1 a3rqagofsgraie6mx0krzkgsy
157 // extern int graphviz_errors
158
159
160 //1 9xccaaawyqf5atj8e59ems07n
161 // static char *LibInfo[] =
162 //public static java.util.List<CString> LibInfo = java.util.Arrays.asList(new CString("graphviz"),new CString("PACKAGE_VERSION"),new CString("BUILDDATE"));
163 public static __ptr__ LibInfo = null;
164
165
166
167 //3 8jwauh4lo3kcvxhomy40s94b
168 // GVC_t *gvNEWcontext(const lt_symlist_t *builtins, int demand_loading)
169 public static ST_GVC_s gvNEWcontext(lt_symlist_t builtins, boolean demand_loading) {
170 ENTERING("8jwauh4lo3kcvxhomy40s94b","gvNEWcontext");
171 try {
172 ST_GVC_s gvc = new ST_GVC_s();
173 if (gvc!=null) {
174 gvc.common.setPtr("info", LibInfo);
175 gvc.common.setPtr("errorfn", function(gen.lib.cgraph.agerror__c.class, "agerrorf"));
176 gvc.common.setPtr("builtins", builtins);
177 gvc.common.demand_loading = demand_loading;
178 }
179 return gvc;
180 } finally {
181 LEAVING("8jwauh4lo3kcvxhomy40s94b","gvNEWcontext");
182 }
183 }
184
185
186
187
188 //3 7i8lj0jlmprrj5kmbegtkh46n
189 // void gvFinalize(GVC_t * gvc)
190 public static Object gvFinalize(Object... arg) {
191 UNSUPPORTED("1dio7yofln4lzxco3d0eucybt"); // void gvFinalize(GVC_t * gvc)
192 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
193 UNSUPPORTED("72t0pmaautwuw3vb1xwa2grxz"); // if (gvc->active_jobs)
194 UNSUPPORTED("dtzx65g0vmdvgplajdnqct44o"); // gvrender_end_job(gvc->active_jobs);
195 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
196
197 throw new UnsupportedOperationException();
198 }
199
200
201
202
203 //3 ctg42qeu1yvs2g9r5wcv4zzrl
204 // int gvFreeContext(GVC_t * gvc)
205 public static Object gvFreeContext(Object... arg) {
206 UNSUPPORTED("cdc5p7gur1o2qu1rfaiwrhdyj"); // int gvFreeContext(GVC_t * gvc)
207 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
208 UNSUPPORTED("5hwchhks73n6p0p7iu2dhstho"); // GVG_t *gvg, *gvg_next;
209 UNSUPPORTED("adwgvl59jz4qsr1d7xxq5rsng"); // gvplugin_package_t *package, *package_next;
210 UNSUPPORTED("arvwlcmlxzvpwvk7s223e2w8"); // emit_once_reset();
211 UNSUPPORTED("eutrfc45t7pr7snzd0yrns61e"); // gvg_next = gvc->gvgs;
212 UNSUPPORTED("egtqgis45r50r0vpmklawt86c"); // while ((gvg = gvg_next)) {
213 UNSUPPORTED("een7xpunmqq9r51mgh694gxvi"); // gvg_next = gvg->next;
214 UNSUPPORTED("4iv5fzitlc63rdpf954w6dbax"); // free(gvg);
215 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
216 UNSUPPORTED("aemtpukkty8b8p02pq9n1pe12"); // package_next = gvc->packages;
217 UNSUPPORTED("6bhwk4v49u06ll2918aiuelsp"); // while ((package = package_next)) {
218 UNSUPPORTED("17d6nsylkka56jdgieafhw3cl"); // package_next = package->next;
219 UNSUPPORTED("37qv8a4u1yiip7ecavr8qkzkm"); // free(package->path);
220 UNSUPPORTED("7pxw8ghhb5xxlpdd1jv7osfhz"); // free(package->name);
221 UNSUPPORTED("aimh83a3k7a6ayfix3ppi8nqx"); // free(package);
222 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
223 UNSUPPORTED("a9p7yonln7g91ge7xab3xf9dr"); // gvjobs_delete(gvc);
224 UNSUPPORTED("7rlh9wuy2qrh0ehtb3gdalado"); // if (gvc->config_path)
225 UNSUPPORTED("757mqdb4lingk1bymuktrnevh"); // free(gvc->config_path);
226 UNSUPPORTED("85h1etabgqi4o3qi83c7cprtf"); // if (gvc->input_filenames)
227 UNSUPPORTED("58u4di4bdc3xnuj9x373q03z"); // free(gvc->input_filenames);
228 UNSUPPORTED("2wnuuoxkpo409qiqqaihby1z9"); // textfont_dict_close(gvc);
229 UNSUPPORTED("beuj2gz4oz0esqo5psm1l653c"); // free(gvc);
230 UNSUPPORTED("41ok9shf9o21b8omrjo4s42gl"); // return (graphviz_errors + agerrors());
231 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
232
233 throw new UnsupportedOperationException();
234 }
235
236
237 }