10#define SWIG_VERSION 0x040200
18#ifndef SWIGTEMPLATEDISAMBIGUATOR
19# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
20# define SWIGTEMPLATEDISAMBIGUATOR template
21# elif defined(__HP_aCC)
24# define SWIGTEMPLATEDISAMBIGUATOR template
26# define SWIGTEMPLATEDISAMBIGUATOR
32# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
33# define SWIGINLINE inline
42# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
43# define SWIGUNUSED __attribute__ ((__unused__))
48# define SWIGUNUSED __attribute__ ((__unused__))
54#ifndef SWIG_MSC_UNSUPPRESS_4505
56# pragma warning(disable : 4505)
62# define SWIGUNUSEDPARM(p)
64# define SWIGUNUSEDPARM(p) p SWIGUNUSED
70# define SWIGINTERN static SWIGUNUSED
74#ifndef SWIGINTERNINLINE
75# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
80# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
81# ifndef GCC_HASCLASSVISIBILITY
82# define GCC_HASCLASSVISIBILITY
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# if defined(STATIC_LINKED)
92# define SWIGEXPORT __declspec(dllexport)
95# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
96# define SWIGEXPORT __attribute__ ((visibility("default")))
105# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
106# define SWIGSTDCALL __stdcall
113#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
114# define _CRT_SECURE_NO_DEPRECATE
118#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
119# define _SCL_SECURE_NO_DEPRECATE
123#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
124# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
132#ifdef __INTEL_COMPILER
133# pragma warning disable 592
136#if __cplusplus >=201103L
137# define SWIG_NULLPTR nullptr
139# define SWIG_NULLPTR NULL
159#define SWIG_RUNTIME_VERSION "4"
162#ifdef SWIG_TYPE_TABLE
163# define SWIG_QUOTE_STRING(x) #x
164# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
165# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
167# define SWIG_TYPE_TABLE_NAME
180# define SWIGRUNTIME SWIGINTERN
183#ifndef SWIGRUNTIMEINLINE
184# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
188#ifndef SWIG_BUFFER_SIZE
189# define SWIG_BUFFER_SIZE 1024
193#define SWIG_POINTER_DISOWN 0x1
194#define SWIG_CAST_NEW_MEMORY 0x2
195#define SWIG_POINTER_NO_NULL 0x4
196#define SWIG_POINTER_CLEAR 0x8
197#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
200#define SWIG_POINTER_OWN 0x1
284#define SWIG_ERROR (-1)
288#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
290#define SWIG_IsOK(r) (r >= 0)
291#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
294#define SWIG_CASTRANKLIMIT (1 << 8)
296#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
298#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
300#define SWIG_BADOBJ (SWIG_ERROR)
301#define SWIG_OLDOBJ (SWIG_OK)
302#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
303#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
305#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
306#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
307#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
308#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
309#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
310#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
313#if defined(SWIG_CASTRANK_MODE)
314# ifndef SWIG_TypeRank
315# define SWIG_TypeRank unsigned long
317# ifndef SWIG_MAXCASTRANK
318# define SWIG_MAXCASTRANK (2)
320# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
321# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
329# define SWIG_AddCast(r) (r)
330# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
336#if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
337 (defined __cplusplus && __cplusplus >= 201103L) || \
338 defined SWIG_HAVE_SNPRINTF) && \
339 !defined SWIG_NO_SNPRINTF
340# define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
341# define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
347# define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
348# define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
357typedef void *(*swig_converter_func)(
void *,
int *);
399 const char *f2,
const char *l2) {
400 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
401 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
402 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
403 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
405 return (
int)((l1 - f1) - (l2 - f2));
415 const char* te = tb + strlen(tb);
417 while (equiv != 0 && *ne) {
418 for (nb = ne; *ne; ++ne) {
419 if (*ne ==
'|')
break;
444 if (strcmp(iter->
type->
name, c) == 0) {
445 if (iter == ty->
cast)
471 if (iter->
type == from) {
472 if (iter == ty->
cast)
504 if (!ty || !ty->
dcast)
return ty;
505 while (ty && (ty->
dcast)) {
506 ty = (*ty->
dcast)(ptr);
532 const char *last_name =
type->str;
535 if (*
s ==
'|') last_name =
s+1;
583 size_t r = iter->
size - 1;
586 size_t i = (l + r) >> 1;
587 const char *iname = iter->
types[i]->
name;
589 int compare = strcmp(name, iname);
591 return iter->
types[i];
607 }
while (iter != end);
634 for (; i < iter->
size; ++i) {
636 return iter->
types[i];
639 }
while (iter != end);
651 static const char hex[17] =
"0123456789abcdef";
652 const unsigned char *u = (
unsigned char *) ptr;
653 const unsigned char *eu = u + sz;
654 for (; u != eu; ++u) {
655 unsigned char uu = *u;
656 *(c++) = hex[(uu & 0xf0) >> 4];
657 *(c++) = hex[uu & 0xf];
667 unsigned char *u = (
unsigned char *) ptr;
668 const unsigned char *eu = u + sz;
669 for (; u != eu; ++u) {
672 if ((d >=
'0') && (d <=
'9'))
673 uu = (
unsigned char)((d -
'0') << 4);
674 else if ((d >=
'a') && (d <=
'f'))
675 uu = (
unsigned char)((d - (
'a'-10)) << 4);
679 if ((d >=
'0') && (d <=
'9'))
680 uu |= (
unsigned char)(d -
'0');
681 else if ((d >=
'a') && (d <=
'f'))
682 uu |= (
unsigned char)(d - (
'a'-10));
696 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
699 if (strlen(name) + 1 > (bsz - (r - buff)))
return 0;
707 if (strcmp(c,
"NULL") == 0) {
720 size_t lname = (name ? strlen(name) : 0);
721 if ((2*sz + 2 + lname) > bsz)
return 0;
725 strncpy(r,name,lname+1);
735 if (strcmp(c,
"NULL") == 0) {
750#define SWIG_UnknownError -1
751#define SWIG_IOError -2
752#define SWIG_RuntimeError -3
753#define SWIG_IndexError -4
754#define SWIG_TypeError -5
755#define SWIG_DivisionByZero -6
756#define SWIG_OverflowError -7
757#define SWIG_SyntaxError -8
758#define SWIG_ValueError -9
759#define SWIG_SystemError -10
760#define SWIG_AttributeError -11
761#define SWIG_MemoryError -12
762#define SWIG_NullReferenceError -13
771 const char*
type = 0;
774 type =
"MemoryError";
780 type =
"RuntimeError";
789 type =
"ZeroDivisionError";
792 type =
"OverflowError";
795 type =
"SyntaxError";
801 type =
"SystemError";
804 type =
"AttributeError";
807 type =
"RuntimeError";
816 Tcl_ResetResult(interp);
817 Tcl_SetObjResult(interp, obj);
818 Tcl_SetErrorCode(interp,
"SWIG", ctype, (
char *)
NULL);
824 Tcl_ResetResult(interp);
825 Tcl_SetErrorCode(interp,
"SWIG", ctype, (
char *)
NULL);
826 Tcl_AppendResult(interp, ctype,
" ", mesg, (
char *)
NULL);
837 Tcl_AddErrorInfo(interp, mesg);
854#define SWIG_TCL_POINTER 4
855#define SWIG_TCL_BINARY 5
867typedef int (*
swig_wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *
const []);
869typedef char *(*swig_variable_func)(ClientData, Tcl_Interp *,
char *,
char *, int);
907 int (*wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *
const []);
915 char * (*get)(ClientData, Tcl_Interp *,
char *,
char *, int);
916 char * (*set)(ClientData, Tcl_Interp *,
char *,
char *, int);
930 Tcl_ObjSetVar2(interp,Tcl_NewStringObj(name,-1),
NULL, obj, TCL_GLOBAL_ONLY);
931 Tcl_SetHashValue(Tcl_CreateHashEntry(&
swigconstTable, name, &newobj), (ClientData) obj);
936 Tcl_HashEntry *entryPtr;
940 return (Tcl_Obj *) Tcl_GetHashValue(entryPtr);
961#define SWIG_ConvertPtr(oc, ptr, ty, flags) SWIG_Tcl_ConvertPtr(interp, oc, ptr, ty, flags)
962#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Tcl_NewPointerObj(ptr, type, flags)
965#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Tcl_ConvertPacked(interp, obj, ptr, sz, ty)
966#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Tcl_NewPackedObj(ptr, sz, type)
969#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_Tcl_ConvertPtr(interp, obj, pptr, type, flags)
970#define SWIG_NewInstanceObj(thisvalue, type, flags) SWIG_Tcl_NewInstanceObj(interp, thisvalue, type, flags)
973#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Tcl_ConvertPtr(interp, obj, pptr, type, 0)
974#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Tcl_NewPointerObj(ptr, type, 0)
977#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Tcl_ConvertPacked(interp,obj, ptr, sz, ty)
978#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Tcl_NewPackedObj(ptr, sz, type)
983#define SWIG_GetModule(clientdata) SWIG_Tcl_GetModule((Tcl_Interp *) (clientdata))
984#define SWIG_SetModule(clientdata, pointer) SWIG_Tcl_SetModule((Tcl_Interp *) (clientdata), pointer)
989#define SWIG_ErrorType(code) SWIG_Tcl_ErrorType(code)
990#define SWIG_Error(code, msg) SWIG_Tcl_SetErrorMsg(interp, SWIG_Tcl_ErrorType(code), msg)
991#define SWIG_fail goto fail
996#define SWIG_Acquire(ptr) SWIG_Tcl_Acquire(ptr)
997#define SWIG_MethodCommand SWIG_Tcl_MethodCommand
998#define SWIG_Disown(ptr) SWIG_Tcl_Disown(ptr)
999#define SWIG_ConvertPtrFromString(c, ptr, ty, flags) SWIG_Tcl_ConvertPtrFromString(interp, c, ptr, ty, flags)
1000#define SWIG_MakePtr(c, ptr, ty, flags) SWIG_Tcl_MakePtr(c, ptr, ty, flags)
1001#define SWIG_PointerTypeFromString(c) SWIG_Tcl_PointerTypeFromString(c)
1002#define SWIG_GetArgs SWIG_Tcl_GetArgs
1003#define SWIG_GetConstantObj(key) SWIG_Tcl_GetConstantObj(key)
1004#define SWIG_ObjectConstructor SWIG_Tcl_ObjectConstructor
1005#define SWIG_Thisown(ptr) SWIG_Tcl_Thisown(ptr)
1006#define SWIG_ObjectDelete SWIG_Tcl_ObjectDelete
1009#define SWIG_TCL_DECL_ARGS_2(arg1, arg2) (Tcl_Interp *interp SWIGUNUSED, arg1, arg2)
1010#define SWIG_TCL_CALL_ARGS_2(arg1, arg2) (interp, arg1, arg2)
1016#define SWIG_POINTER_EXCEPTION 0
1017#define SWIG_GetConstant SWIG_GetConstantObj
1018#define SWIG_Tcl_GetConstant SWIG_Tcl_GetConstantObj
1020#if TCL_MAJOR_VERSION > 8 || (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION >= 5)
1021#define SWIG_TCL_HASHTABLE_INIT {0, {0, 0, 0, 0}, 0, 0, 0, 0, 0, 0, 0, 0, 0}
1023#define SWIG_TCL_HASHTABLE_INIT {0}
1036 static Tcl_HashTable swigobjectTable;
1037 static int swigobjectTableinit = 0;
1038 if (!swigobjectTableinit) {
1039 Tcl_InitHashTable(&swigobjectTable, TCL_ONE_WORD_KEYS);
1040 swigobjectTableinit = 1;
1042 return &swigobjectTable;
1065 Tcl_DeleteHashEntry(entryPtr);
1075 const char *cmd_name;
1079 if (strcmp(c,
"NULL") == 0)
1089 if (Tcl_VarEval(interp,
"info commands ", c, (
char *)
NULL) == TCL_OK) {
1090 Tcl_Obj *result = Tcl_GetObjResult(interp);
1091 if (*(Tcl_GetString(result)) == 0) {
1093 Tcl_ResetResult(interp);
1099 Tcl_ResetResult(interp);
1104 if (Tcl_VarEval(interp,c,
" cget -this", (
char *)
NULL) != TCL_OK) {
1105 Tcl_ResetResult(interp);
1109 c = Tcl_GetString(Tcl_GetObjResult(interp));
1120 if (Tcl_GetCommandInfo(interp, cmd_name, &
info)) {
1167 if (!(((d >=
'0') && (d <=
'9')) || ((d >=
'a') && (d <=
'f'))))
break;
1179 if (!obj)
goto type_error;
1180 c = Tcl_GetString(obj);
1182 if (*c !=
'_')
goto type_error;
1187 if (!tc)
goto type_error;
1215 robj = Tcl_NewStringObj(result,-1);
1223 if ((2*sz + 1 + strlen(
type->name)) > 1000)
return 0;
1226 strcpy(r,
type->name);
1227 return Tcl_NewStringObj(result,-1);
1273 Tcl_DecrRefCount(si->
thisptr);
1280 char *method, *attrname;
1289 int cls_stack_bi[64];
1290 int cls_stack_top = 0;
1294 objv = (Tcl_Obj **) _objv;
1296 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1299 method = Tcl_GetString(objv[1]);
1300 if (strcmp(method,
"-acquire") == 0) {
1305 if (strcmp(method,
"-disown") == 0) {
1312 if (strcmp(method,
"-delete") == 0) {
1313 Tcl_DeleteCommandFromToken(interp,inst->
cmdtok);
1316 cls_stack[cls_stack_top] = inst->
classptr;
1317 cls_stack_bi[cls_stack_top] = -1;
1319 Tcl_HashEntry* hashentry;
1320 bi = cls_stack_bi[cls_stack_top];
1321 cls = cls_stack[cls_stack_top];
1328 cls = cls->
bases[bi];
1330 cls_stack_bi[cls_stack_top]++;
1332 cls_stack[cls_stack_top] = cls;
1333 cls_stack_bi[cls_stack_top] = -1;
1339 if (cls_stack_top < 0)
break;
1342 cls_stack_bi[cls_stack_top]++;
1344 hashentry = Tcl_FindHashEntry(&(cls->
hashtable), method);
1346 ClientData cd = Tcl_GetHashValue(hashentry);
1350 Tcl_IncrRefCount(inst->
thisptr);
1351 rcode = (method_wrapper)(clientData,interp,objc,objv);
1353 Tcl_DecrRefCount(inst->
thisptr);
1357 if (strcmp(method,
"cget") == 0) {
1359 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1362 attrname = Tcl_GetString(objv[2]);
1364 while (attr && attr->
name) {
1365 if ((strcmp(attr->
name, attrname) == 0) && (attr->
getmethod)) {
1368 Tcl_IncrRefCount(inst->
thisptr);
1369 rcode = (*attr->
getmethod)(clientData,interp,2, objv);
1371 Tcl_DecrRefCount(inst->
thisptr);
1376 if (strcmp(attrname,
"-this") == 0) {
1377 Tcl_SetObjResult(interp, Tcl_DuplicateObj(inst->
thisptr));
1380 if (strcmp(attrname,
"-thisown") == 0) {
1382 Tcl_SetResult(interp,(
char*)
"1",TCL_STATIC);
1384 Tcl_SetResult(interp,(
char*)
"0",TCL_STATIC);
1388 }
else if (strcmp(method,
"configure") == 0) {
1391 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1396 attrname = Tcl_GetString(objv[i]);
1398 while (attr && attr->
name) {
1399 if ((strcmp(attr->
name, attrname) == 0) && (attr->
setmethod)) {
1402 Tcl_IncrRefCount(inst->
thisptr);
1403 rcode = (*attr->
setmethod)(clientData,interp,3, &objv[i-1]);
1405 Tcl_DecrRefCount(inst->
thisptr);
1406 if (rcode != TCL_OK)
return rcode;
1415 if (strcmp(method,
"configure") == 0) {
1416 if (numconf >= objc) {
1419 Tcl_SetResult(interp,(
char *)
"Invalid attribute name.", TCL_STATIC);
1423 if (strcmp(method,
"cget") == 0) {
1424 Tcl_SetResult(interp,(
char *)
"Invalid attribute name.", TCL_STATIC);
1427 Tcl_SetResult(interp, (
char *)
"Invalid method. Must be one of: configure cget -acquire -disown -delete", TCL_STATIC);
1432 while (meth && meth->
name) {
1434 size_t meth_len = strlen(meth->
name);
1435 char* where = strchr(cr,
':');
1437 where = strstr(where, meth->
name);
1439 if(where[-1] ==
' ' && (where[meth_len] ==
' ' || where[meth_len]==0)) {
1448 Tcl_AppendElement(interp, (
char *) meth->
name);
1461 if (thisvalue && (
type->clientdata) && (interp)) {
1465 name = Tcl_GetString(robj);
1466 has_command = Tcl_GetCommandInfo(interp, name, &ci);
1467 if (!has_command ||
flags) {
1469 newinst->
thisptr = Tcl_DuplicateObj(robj);
1470 Tcl_IncrRefCount(newinst->
thisptr);
1495 Tcl_Obj *newObj = 0;
1496 void *thisvalue = 0;
1506 Tcl_SetResult(interp, (
char *)
"swig: internal runtime error. No class object defined.", TCL_STATIC);
1511 char *
s = Tcl_GetString(objv[1]);
1512 if (strcmp(
s,
"-this") == 0) {
1515 }
else if (strcmp(
s,
"-args") == 0) {
1517 }
else if (objc == 2) {
1520 }
else if (objc >= 3) {
1523 s1 = Tcl_GetString(objv[2]);
1524 if (strcmp(
s1,
"-this") == 0) {
1534 result = (*cons)(0, interp, objc-firstarg, &objv[firstarg]);
1535 if (result != TCL_OK) {
1538 newObj = Tcl_DuplicateObj(Tcl_GetObjResult(interp));
1539 if (!name) name = Tcl_GetString(newObj);
1540 }
else if (thisarg > 0) {
1541 if (thisarg < objc) {
1543 newObj = Tcl_DuplicateObj(objv[thisarg]);
1544 if (!name) name = Tcl_GetString(newObj);
1546 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1550 Tcl_SetResult(interp, (
char *)
"No constructor available.", TCL_STATIC);
1554 Tcl_DecrRefCount(newObj);
1559 Tcl_IncrRefCount(newObj);
1575 int argno = 0, opt = 0;
1585 for (c = fmt; (*c && (*c !=
':') && (*c !=
';')); c++,argno++) {
1590 if (argno >= (objc-1)) {
1592 Tcl_SetResult(interp, (
char *)
"Wrong number of arguments ", TCL_STATIC);
1600 vptr = va_arg(ap,
void *);
1604 if (!obj) obj = objv[argno+1];
1606 obj = objv[argno+1];
1613 if (Tcl_GetLongFromObj(interp,obj,&tempi) != TCL_OK)
goto argerror;
1614 if ((*c ==
'i') || (*c ==
'I')) *((
int *)vptr) = (int)tempi;
1615 else if ((*c ==
'l') || (*c ==
'L')) *((
long *)vptr) = (long)tempi;
1616 else if ((*c ==
'h') || (*c ==
'H')) *((
short*)vptr) = (short)tempi;
1617 else if ((*c ==
'b') || (*c ==
'B')) *((
unsigned char *)vptr) = (
unsigned char)tempi;
1621 if (Tcl_GetDoubleFromObj(interp,obj,&tempd) != TCL_OK)
goto argerror;
1622 if ((*c ==
'f') || (*c ==
'F')) *((
float *) vptr) = (float)tempd;
1623 else if ((*c ==
'd') || (*c ==
'D')) *((
double*) vptr) = tempd;
1626 if (*(c+1) ==
'#') {
1627 int *vlptr = (
int *) va_arg(ap,
void *);
1628 *((
char **) vptr) = Tcl_GetStringFromObj(obj, vlptr);
1631 *((
char **)vptr) = Tcl_GetString(obj);
1635 *((
char *)vptr) = *(Tcl_GetString(obj));
1642 *((Tcl_Obj **)vptr) = objv[argno+1];
1650 if ((*c !=
';') && ((objc-1) > argno)) {
1651 Tcl_SetResult(interp, (
char *)
"Wrong # args.", TCL_STATIC);
1661 c = strchr(fmt,
':');
1662 if (!c) c = strchr(fmt,
';');
1663 if (!c) c = (
char *)
"";
1664 Tcl_AppendResult(interp,c,
" argument ", temp, (
char *)
NULL);
1676#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1678#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
1684#define SWIGTYPE_p_Agedge_t swig_types[0]
1685#define SWIGTYPE_p_Agnode_t swig_types[1]
1686#define SWIGTYPE_p_Agraph_t swig_types[2]
1687#define SWIGTYPE_p_Agsym_t swig_types[3]
1688#define SWIGTYPE_p_FILE swig_types[4]
1689#define SWIGTYPE_p_char swig_types[5]
1692#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1693#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1697#define SWIG_init Gv_Init
1698#define SWIG_name "gv"
1699#define SWIG_prefix "gv::"
1700#define SWIG_namespace "gv"
1702#define SWIG_version "0.0"
1707template<
typename T>
class SwigValueWrapper {
1708 struct SwigSmartPointer {
1710 SwigSmartPointer(
T *p) : ptr(p) { }
1711 ~SwigSmartPointer() {
delete ptr; }
1712 SwigSmartPointer& operator=(SwigSmartPointer& rhs) {
T* oldptr = ptr; ptr = 0;
delete oldptr; ptr = rhs.ptr; rhs.ptr = 0;
return *
this; }
1713 void reset(
T *p) {
T* oldptr = ptr; ptr = 0;
delete oldptr; ptr = p; }
1715 SwigValueWrapper& operator=(
const SwigValueWrapper<T>& rhs);
1716 SwigValueWrapper(
const SwigValueWrapper<T>& rhs);
1718 SwigValueWrapper() : pointer(0) { }
1719 SwigValueWrapper& operator=(
const T& t) { SwigSmartPointer tmp(
new T(t)); pointer = tmp;
return *
this; }
1720#if __cplusplus >=201103L
1721 SwigValueWrapper& operator=(
T&& t) { SwigSmartPointer tmp(
new T(std::move(t))); pointer = tmp;
return *
this; }
1722 operator T&&()
const {
return std::move(*pointer.ptr); }
1724 operator T&()
const {
return *pointer.ptr; }
1726 T *operator&()
const {
return pointer.ptr; }
1727 static void reset(SwigValueWrapper& t,
T *p) { t.pointer.reset(p); }
1739template <
typename T>
T SwigValueInit() {
1743#if __cplusplus >=201103L
1744# define SWIG_STD_MOVE(OBJ) std::move(OBJ)
1746# define SWIG_STD_MOVE(OBJ) OBJ
1752#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
1753#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
1775#ifndef SWIG_TCL_STUBS_VERSION
1776#define SWIG_TCL_STUBS_VERSION "8.4"
1970 char *cstr = Tcl_GetStringFromObj(obj, &
len);
1972 if (cptr) *cptr = cstr;
1973 if (psize) *psize =
len + 1;
1985#if !defined(SWIG_NO_LLONG_MAX)
1986# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1987# define LLONG_MAX __LONG_LONG_MAX__
1988# define LLONG_MIN (-LLONG_MAX - 1LL)
1989# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1997 return (size < INT_MAX) ? Tcl_NewStringObj(carray,
static_cast< int >(size)) :
NULL;
2008 #define SWIG_From_bool Tcl_NewBooleanObj
2015 char *arg1 = (
char *) 0 ;
2026 arg1 =
reinterpret_cast< char *
>(buf1);
2039 char *arg1 = (
char *) 0 ;
2050 arg1 =
reinterpret_cast< char *
>(buf1);
2063 char *arg1 = (
char *) 0 ;
2074 arg1 =
reinterpret_cast< char *
>(buf1);
2087 char *arg1 = (
char *) 0 ;
2098 arg1 =
reinterpret_cast< char *
>(buf1);
2111 char *arg1 = (
char *) 0 ;
2122 arg1 =
reinterpret_cast< char *
>(buf1);
2135 char *arg1 = (
char *) 0 ;
2146 arg1 =
reinterpret_cast< char *
>(buf1);
2159 FILE *arg1 = (FILE *) 0 ;
2169 arg1 =
reinterpret_cast< FILE *
>(argp1);
2180 Tcl_Obj *
const *argv = objv+1;
2200 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'read'.\n"
2201 " Possible C/C++ prototypes are:\n"
2202 " read(char const *)\n"
2203 " read(FILE *)\n", TCL_STATIC);
2211 char *arg2 = (
char *) 0 ;
2219 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::graph g name ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2224 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
2229 arg2 =
reinterpret_cast< char *
>(buf2);
2242 Tcl_Obj *
const *argv = objv+1;
2266 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'graph'.\n"
2267 " Possible C/C++ prototypes are:\n"
2269 " graph(Agraph_t *,char *)\n", TCL_STATIC);
2277 char *arg2 = (
char *) 0 ;
2285 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::node g name ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2290 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
2295 arg2 =
reinterpret_cast< char *
>(buf2);
2316 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::edge t h ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2321 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
2326 arg2 =
reinterpret_cast< Agnode_t *
>(argp2);
2338 char *arg2 = (
char *) 0 ;
2346 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::edge t hname ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2351 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
2356 arg2 =
reinterpret_cast< char *
>(buf2);
2369 char *arg1 = (
char *) 0 ;
2378 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::edge tname h ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2383 arg1 =
reinterpret_cast< char *
>(buf1);
2388 arg2 =
reinterpret_cast< Agnode_t *
>(argp2);
2402 char *arg2 = (
char *) 0 ;
2403 char *arg3 = (
char *) 0 ;
2414 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::edge g tname hname ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2419 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
2424 arg2 =
reinterpret_cast< char *
>(buf2);
2429 arg3 =
reinterpret_cast< char *
>(buf3);
2444 Tcl_Obj *
const *argv = objv+1;
2504 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'edge'.\n"
2505 " Possible C/C++ prototypes are:\n"
2506 " edge(Agnode_t *,Agnode_t *)\n"
2507 " edge(Agnode_t *,char *)\n"
2508 " edge(char *,Agnode_t *)\n"
2509 " edge(Agraph_t *,char *,char *)\n", TCL_STATIC);
2517 char *arg2 = (
char *) 0 ;
2518 char *arg3 = (
char *) 0 ;
2529 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::setv g attr val ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2534 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
2539 arg2 =
reinterpret_cast< char *
>(buf2);
2544 arg3 =
reinterpret_cast< char *
>(buf3);
2545 result = (
char *)
setv(arg1,arg2,arg3);
2560 char *arg2 = (
char *) 0 ;
2561 char *arg3 = (
char *) 0 ;
2572 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::setv n attr val ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2577 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
2582 arg2 =
reinterpret_cast< char *
>(buf2);
2587 arg3 =
reinterpret_cast< char *
>(buf3);
2588 result = (
char *)
setv(arg1,arg2,arg3);
2603 char *arg2 = (
char *) 0 ;
2604 char *arg3 = (
char *) 0 ;
2615 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::setv e attr val ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2620 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
2625 arg2 =
reinterpret_cast< char *
>(buf2);
2630 arg3 =
reinterpret_cast< char *
>(buf3);
2631 result = (
char *)
setv(arg1,arg2,arg3);
2647 char *arg3 = (
char *) 0 ;
2657 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::setv g a val ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2662 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
2667 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
2672 arg3 =
reinterpret_cast< char *
>(buf3);
2673 result = (
char *)
setv(arg1,arg2,arg3);
2687 char *arg3 = (
char *) 0 ;
2697 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::setv n a val ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2702 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
2707 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
2712 arg3 =
reinterpret_cast< char *
>(buf3);
2713 result = (
char *)
setv(arg1,arg2,arg3);
2727 char *arg3 = (
char *) 0 ;
2737 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::setv e a val ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2742 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
2747 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
2752 arg3 =
reinterpret_cast< char *
>(buf3);
2753 result = (
char *)
setv(arg1,arg2,arg3);
2765 Tcl_Obj *
const *argv = objv+1;
2873 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'setv'.\n"
2874 " Possible C/C++ prototypes are:\n"
2875 " setv(Agraph_t *,char *,char *)\n"
2876 " setv(Agnode_t *,char *,char *)\n"
2877 " setv(Agedge_t *,char *,char *)\n"
2878 " setv(Agraph_t *,Agsym_t *,char *)\n"
2879 " setv(Agnode_t *,Agsym_t *,char *)\n"
2880 " setv(Agedge_t *,Agsym_t *,char *)\n", TCL_STATIC);
2888 char *arg2 = (
char *) 0 ;
2896 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::getv g attr ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2901 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
2906 arg2 =
reinterpret_cast< char *
>(buf2);
2907 result = (
char *)
getv(arg1,arg2);
2920 char *arg2 = (
char *) 0 ;
2928 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::getv n attr ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2933 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
2938 arg2 =
reinterpret_cast< char *
>(buf2);
2939 result = (
char *)
getv(arg1,arg2);
2952 char *arg2 = (
char *) 0 ;
2960 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::getv e attr ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2965 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
2970 arg2 =
reinterpret_cast< char *
>(buf2);
2971 result = (
char *)
getv(arg1,arg2);
2991 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::getv g a ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2996 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3001 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
3002 result = (
char *)
getv(arg1,arg2);
3020 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::getv n a ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3025 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
3030 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
3031 result = (
char *)
getv(arg1,arg2);
3049 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::getv e a ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3054 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
3059 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
3060 result = (
char *)
getv(arg1,arg2);
3070 Tcl_Obj *
const *argv = objv+1;
3154 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'getv'.\n"
3155 " Possible C/C++ prototypes are:\n"
3156 " getv(Agraph_t *,char *)\n"
3157 " getv(Agnode_t *,char *)\n"
3158 " getv(Agedge_t *,char *)\n"
3159 " getv(Agraph_t *,Agsym_t *)\n"
3160 " getv(Agnode_t *,Agsym_t *)\n"
3161 " getv(Agedge_t *,Agsym_t *)\n", TCL_STATIC);
3178 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3179 result = (
char *)
nameof(arg1);
3199 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
3200 result = (
char *)
nameof(arg1);
3220 arg1 =
reinterpret_cast< Agsym_t *
>(argp1);
3221 result = (
char *)
nameof(arg1);
3231 Tcl_Obj *
const *argv = objv+1;
3261 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'nameof'.\n"
3262 " Possible C/C++ prototypes are:\n"
3263 " nameof(Agraph_t *)\n"
3264 " nameof(Agnode_t *)\n"
3265 " nameof(Agsym_t *)\n", TCL_STATIC);
3273 char *arg2 = (
char *) 0 ;
3281 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::findsubg g name ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3286 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3291 arg2 =
reinterpret_cast< char *
>(buf2);
3305 char *arg2 = (
char *) 0 ;
3313 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::findnode g name ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3318 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3323 arg2 =
reinterpret_cast< char *
>(buf2);
3344 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::findedge t h ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3349 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
3354 arg2 =
reinterpret_cast< Agnode_t *
>(argp2);
3366 char *arg2 = (
char *) 0 ;
3374 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::findattr g name ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3379 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3384 arg2 =
reinterpret_cast< char *
>(buf2);
3398 char *arg2 = (
char *) 0 ;
3406 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::findattr n name ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3411 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
3416 arg2 =
reinterpret_cast< char *
>(buf2);
3430 char *arg2 = (
char *) 0 ;
3438 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::findattr e name ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3443 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
3448 arg2 =
reinterpret_cast< char *
>(buf2);
3461 Tcl_Obj *
const *argv = objv+1;
3503 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'findattr'.\n"
3504 " Possible C/C++ prototypes are:\n"
3505 " findattr(Agraph_t *,char *)\n"
3506 " findattr(Agnode_t *,char *)\n"
3507 " findattr(Agedge_t *,char *)\n", TCL_STATIC);
3524 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
3545 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
3566 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3587 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
3608 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
3619 Tcl_Obj *
const *argv = objv+1;
3649 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'graphof'.\n"
3650 " Possible C/C++ prototypes are:\n"
3651 " graphof(Agraph_t *)\n"
3652 " graphof(Agedge_t *)\n"
3653 " graphof(Agnode_t *)\n", TCL_STATIC);
3670 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3691 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3712 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3733 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3734 result = (bool)
ok(arg1);
3735 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
3754 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
3755 result = (bool)
ok(arg1);
3756 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
3775 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
3776 result = (bool)
ok(arg1);
3777 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
3796 arg1 =
reinterpret_cast< Agsym_t *
>(argp1);
3797 result = (bool)
ok(arg1);
3798 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
3807 Tcl_Obj *
const *argv = objv+1;
3846 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'ok'.\n"
3847 " Possible C/C++ prototypes are:\n"
3851 " ok(Agsym_t *)\n", TCL_STATIC);
3868 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3887 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextsubg g sg ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3892 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3897 arg2 =
reinterpret_cast< Agraph_t *
>(argp2);
3918 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3937 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextsupg g sg ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3942 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3947 arg2 =
reinterpret_cast< Agraph_t *
>(argp2);
3968 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3987 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextedge g e ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3992 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
3997 arg2 =
reinterpret_cast< Agedge_t *
>(argp2);
4018 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4037 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextout g e ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4042 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4047 arg2 =
reinterpret_cast< Agedge_t *
>(argp2);
4068 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4079 Tcl_Obj *
const *argv = objv+1;
4100 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'firstedge'.\n"
4101 " Possible C/C++ prototypes are:\n"
4102 " firstedge(Agraph_t *)\n"
4103 " firstedge(Agnode_t *)\n", TCL_STATIC);
4118 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextedge n e ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4123 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4128 arg2 =
reinterpret_cast< Agedge_t *
>(argp2);
4139 Tcl_Obj *
const *argv = objv+1;
4170 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'nextedge'.\n"
4171 " Possible C/C++ prototypes are:\n"
4172 " nextedge(Agraph_t *,Agedge_t *)\n"
4173 " nextedge(Agnode_t *,Agedge_t *)\n", TCL_STATIC);
4190 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4201 Tcl_Obj *
const *argv = objv+1;
4222 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'firstout'.\n"
4223 " Possible C/C++ prototypes are:\n"
4224 " firstout(Agraph_t *)\n"
4225 " firstout(Agnode_t *)\n", TCL_STATIC);
4240 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextout n e ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4245 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4250 arg2 =
reinterpret_cast< Agedge_t *
>(argp2);
4261 Tcl_Obj *
const *argv = objv+1;
4292 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'nextout'.\n"
4293 " Possible C/C++ prototypes are:\n"
4294 " nextout(Agraph_t *,Agedge_t *)\n"
4295 " nextout(Agnode_t *,Agedge_t *)\n", TCL_STATIC);
4312 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4331 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nexthead n h ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4336 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4341 arg2 =
reinterpret_cast< Agnode_t *
>(argp2);
4362 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4381 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextin n e ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4386 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4391 arg2 =
reinterpret_cast< Agedge_t *
>(argp2);
4412 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4423 Tcl_Obj *
const *argv = objv+1;
4444 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'firstin'.\n"
4445 " Possible C/C++ prototypes are:\n"
4446 " firstin(Agraph_t *)\n"
4447 " firstin(Agnode_t *)\n", TCL_STATIC);
4462 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextin g e ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4467 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4472 arg2 =
reinterpret_cast< Agedge_t *
>(argp2);
4483 Tcl_Obj *
const *argv = objv+1;
4514 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'nextin'.\n"
4515 " Possible C/C++ prototypes are:\n"
4516 " nextin(Agnode_t *,Agedge_t *)\n"
4517 " nextin(Agraph_t *,Agedge_t *)\n", TCL_STATIC);
4534 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4553 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nexttail n t ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4558 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4563 arg2 =
reinterpret_cast< Agnode_t *
>(argp2);
4584 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4603 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextnode g n ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4608 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4613 arg2 =
reinterpret_cast< Agnode_t *
>(argp2);
4634 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
4645 Tcl_Obj *
const *argv = objv+1;
4666 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'firstnode'.\n"
4667 " Possible C/C++ prototypes are:\n"
4668 " firstnode(Agraph_t *)\n"
4669 " firstnode(Agedge_t *)\n", TCL_STATIC);
4684 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextnode e n ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4689 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
4694 arg2 =
reinterpret_cast< Agnode_t *
>(argp2);
4705 Tcl_Obj *
const *argv = objv+1;
4736 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'nextnode'.\n"
4737 " Possible C/C++ prototypes are:\n"
4738 " nextnode(Agraph_t *,Agnode_t *)\n"
4739 " nextnode(Agedge_t *,Agnode_t *)\n", TCL_STATIC);
4756 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4775 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextattr g a ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4780 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
4785 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
4806 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
4825 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextattr e a ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4830 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
4835 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
4856 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4867 Tcl_Obj *
const *argv = objv+1;
4897 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'firstattr'.\n"
4898 " Possible C/C++ prototypes are:\n"
4899 " firstattr(Agraph_t *)\n"
4900 " firstattr(Agedge_t *)\n"
4901 " firstattr(Agnode_t *)\n", TCL_STATIC);
4916 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::nextattr n a ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4921 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
4926 arg2 =
reinterpret_cast< Agsym_t *
>(argp2);
4937 Tcl_Obj *
const *argv = objv+1;
4982 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'nextattr'.\n"
4983 " Possible C/C++ prototypes are:\n"
4984 " nextattr(Agraph_t *,Agsym_t *)\n"
4985 " nextattr(Agedge_t *,Agsym_t *)\n"
4986 " nextattr(Agnode_t *,Agsym_t *)\n", TCL_STATIC);
5003 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5004 result = (bool)
rm(arg1);
5005 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5024 arg1 =
reinterpret_cast< Agnode_t *
>(argp1);
5025 result = (bool)
rm(arg1);
5026 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5045 arg1 =
reinterpret_cast< Agedge_t *
>(argp1);
5046 result = (bool)
rm(arg1);
5047 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5056 Tcl_Obj *
const *argv = objv+1;
5086 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'rm'.\n"
5087 " Possible C/C++ prototypes are:\n"
5090 " rm(Agedge_t *)\n", TCL_STATIC);
5098 char *arg2 = (
char *) 0 ;
5106 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::layout g engine ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5111 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5116 arg2 =
reinterpret_cast< char *
>(buf2);
5117 result = (bool)
layout(arg1,(
char const *)arg2);
5118 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5139 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5140 result = (bool)
render(arg1);
5141 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5151 char *arg2 = (
char *) 0 ;
5159 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::render g format ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5164 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5169 arg2 =
reinterpret_cast< char *
>(buf2);
5170 result = (bool)
render(arg1,(
char const *)arg2);
5171 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5183 char *arg2 = (
char *) 0 ;
5184 FILE *arg3 = (FILE *) 0 ;
5194 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::render g format fout ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5199 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5204 arg2 =
reinterpret_cast< char *
>(buf2);
5209 arg3 =
reinterpret_cast< FILE *
>(argp3);
5210 result = (bool)
render(arg1,(
char const *)arg2,arg3);
5211 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5223 char *arg2 = (
char *) 0 ;
5224 char *arg3 = (
char *) 0 ;
5235 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::render g format filename ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5240 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5245 arg2 =
reinterpret_cast< char *
>(buf2);
5250 arg3 =
reinterpret_cast< char *
>(buf3);
5251 result = (bool)
render(arg1,(
char const *)arg2,(
char const *)arg3);
5252 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5265 Tcl_Obj *
const *argv = objv+1;
5325 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'render'.\n"
5326 " Possible C/C++ prototypes are:\n"
5327 " render(Agraph_t *)\n"
5328 " render(Agraph_t *,char const *)\n"
5329 " render(Agraph_t *,char const *,FILE *)\n"
5330 " render(Agraph_t *,char const *,char const *)\n", TCL_STATIC);
5338 char *arg2 = (
char *) 0 ;
5339 char *arg3 = (
char *) 0 ;
5348 o3 = Tcl_NewStringObj(
NULL, -1);
5351 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::renderresult g format ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5356 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5361 arg2 =
reinterpret_cast< char *
>(buf2);
5365 Tcl_ListObjAppendElement(interp,(Tcl_GetObjResult(interp)),(Tcl_Obj*)arg3);
5378 char *arg2 = (
char *) 0 ;
5379 char *arg3 = (
char *) 0 ;
5388 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:gv::renderchannel g format channelname ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5393 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5398 arg2 =
reinterpret_cast< char *
>(buf2);
5400 arg3 = (
char*)Tcl_GetChannel(interp, Tcl_GetString(objv[3]), &mode3);
5403 result = (bool)
renderchannel(arg1,(
char const *)arg2,(
char const *)arg3);
5404 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5416 char *arg2 = (
char *) 0 ;
5424 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::renderdata g format ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5429 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5434 arg2 =
reinterpret_cast< char *
>(buf2);
5435 result = (
char *)
renderdata(arg1,(
char const *)arg2);
5448 char *arg2 = (
char *) 0 ;
5456 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::write g filename ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5461 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5466 arg2 =
reinterpret_cast< char *
>(buf2);
5467 result = (bool)
write(arg1,(
char const *)arg2);
5468 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5480 FILE *arg2 = (FILE *) 0 ;
5487 if (
SWIG_GetArgs(interp, objc, objv,
"oo:gv::write g f ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5492 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5497 arg2 =
reinterpret_cast< FILE *
>(argp2);
5498 result = (bool)
write(arg1,arg2);
5499 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5508 Tcl_Obj *
const *argv = objv+1;
5538 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'write'.\n"
5539 " Possible C/C++ prototypes are:\n"
5540 " write(Agraph_t *,char const *)\n"
5541 " write(Agraph_t *,FILE *)\n", TCL_STATIC);
5558 arg1 =
reinterpret_cast< Agraph_t *
>(argp1);
5559 result = (bool)
tred(arg1);
5560 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5717#define SWIGRUNTIME_DEBUG
5720#ifndef SWIG_INIT_CLIENT_DATA_TYPE
5721#define SWIG_INIT_CLIENT_DATA_TYPE void *
5756 }
while (iter!= module_head);
5767 if (
init == 0)
return;
5770#ifdef SWIGRUNTIME_DEBUG
5771 printf(
"SWIG_InitializeModule: size %lu\n", (
unsigned long)
swig_module.
size);
5778#ifdef SWIGRUNTIME_DEBUG
5788#ifdef SWIGRUNTIME_DEBUG
5789 printf(
"SWIG_InitializeModule: found type %s\n",
type->name);
5793#ifdef SWIGRUNTIME_DEBUG
5794 printf(
"SWIG_InitializeModule: found and overwrite type %s \n",
type->name);
5803 while (cast->
type) {
5806#ifdef SWIGRUNTIME_DEBUG
5807 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
5811#ifdef SWIGRUNTIME_DEBUG
5812 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
5817#ifdef SWIGRUNTIME_DEBUG
5818 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
5825#ifdef SWIGRUNTIME_DEBUG
5826 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
5828 if (!ocast) ret = 0;
5833#ifdef SWIGRUNTIME_DEBUG
5834 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
5837 type->cast->prev = cast;
5849#ifdef SWIGRUNTIME_DEBUG
5850 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
5855 while (cast->
type) {
5856 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
5860 printf(
"---- Total casts: %d\n",j);
5862 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
5875 static int init_run = 0;
5877 if (init_run)
return;
5888 equiv = equiv->
next;
5922 for (i = 0; constants[i].
type; i++) {
5923 switch(constants[i].
type) {
5928 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
5948 if (
type->clientdata) {
5951 Tcl_InitHashTable(&(klass->
hashtable), TCL_STRING_KEYS);
5952 for (meth = klass->
methods; meth && meth->
name; ++meth) {
5954 Tcl_HashEntry* hashentry = Tcl_CreateHashEntry(&(klass->
hashtable), meth->
name, &newEntry);
5955 Tcl_SetHashValue(hashentry, (ClientData)meth->
method);
5971 if (interp == 0)
return TCL_ERROR;
5986#ifdef SWIG_namespace
5998 Tcl_SetVar(interp, (
char *)
swig_variables[i].name, (
char *)
"", TCL_GLOBAL_ONLY);
5999 Tcl_TraceVar(interp, (
char *)
swig_variables[i].name, TCL_TRACE_READS | TCL_GLOBAL_ONLY,
6001 Tcl_TraceVar(interp, (
char *)
swig_variables[i].name, TCL_TRACE_WRITES | TCL_GLOBAL_ONLY,
int compare(Agobj_t *l, Agobj_t *r)
static void init(int argc, char *argv[], double *angle, double *accuracy, int *check_edges_with_same_endpoint, int *seed, const char **color_scheme, int *lightness)
static double len(glCompPoint p)
SWIGRUNTIME int SWIG_Tcl_ObjectConstructor(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME void SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata)
static swig_type_info _swigt__p_Agsym_t
static swig_var_info swig_variables[]
static swig_cast_info _swigc__p_Agraph_t[]
SWIGINTERN int _wrap_read__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_cast_info * swig_cast_initial[]
SWIGINTERN int _wrap_firstout__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firstattr__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agraph_t * firstsubg(Agraph_t *g)
SWIGINTERN int _wrap_node(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agraph_t * read(const char *filename)
SWIGINTERN int _wrap_findsubg(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_graph__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_graph(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agraph_t * nextsubg(Agraph_t *g, Agraph_t *sg)
Agraph_t * readstring(char *string)
#define SWIG_MakePtr(c, ptr, ty, flags)
SWIGINTERN int _wrap_edge__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firstin(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
char * getv(Agraph_t *g, char *attr)
SWIGINTERN void SWIG_Tcl_InstallConstants(Tcl_Interp *interp, swig_const_info constants[])
SWIGINTERN int _wrap_nextin(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agraph_t * findsubg(Agraph_t *g, char *name)
SWIGINTERN int _wrap_getv__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_const_info swig_constants[]
SWIGINTERN int _wrap_render__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
void renderresult(Agraph_t *g, const char *format, char *outdata)
#define SWIG_ConvertPtr(oc, ptr, ty, flags)
#define SWIG_CheckState(r)
SWIGINTERN int _wrap_firstsubg(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME void SWIG_Tcl_Acquire(void *ptr)
static swig_cast_info _swigc__p_FILE[]
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
SWIGINTERN int _wrap_firstattr__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_tailof(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIGTYPE_p_Agnode_t
SWIGINTERNINLINE void SWIG_Tcl_AddErrorMsg(Tcl_Interp *interp, const char *mesg)
SWIGINTERN int _wrap_graph__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN void SWIG_Tcl_SetErrorMsg(Tcl_Interp *interp, const char *ctype, const char *mesg)
struct swig_cast_info swig_cast_info
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
Agraph_t * strictgraph(char *name)
SWIGINTERN int _wrap_edge__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_renderresult(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
char * setv(Agraph_t *g, char *attr, char *val)
#define SWIG_RuntimeError
Agedge_t * nextout(Agraph_t *g, Agedge_t *e)
SWIGINTERN int _wrap_firsttail(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME Tcl_Obj * SWIG_Tcl_NewInstanceObj(Tcl_Interp *interp, void *thisvalue, swig_type_info *type, int flags)
SWIGINTERN int _wrap_getv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_command_info swig_commands[]
SWIGINTERN int _wrap_nextin__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nextnode__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_getv__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agraph_t * rootof(Agraph_t *g)
static swig_cast_info _swigc__p_Agnode_t[]
Agnode_t * headof(Agedge_t *e)
SWIGINTERN int _wrap_firstedge__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIGTYPE_p_Agraph_t
SWIGRUNTIME Tcl_Obj * SWIG_Tcl_NewPackedObj(void *ptr, int sz, swig_type_info *type)
SWIGINTERN int _wrap_nameof__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agnode_t * firsttail(Agnode_t *n)
SWIGINTERN int SWIG_AsCharPtrAndSize(Tcl_Obj *obj, char **cptr, size_t *psize, int *alloc)
#define SWIG_RUNTIME_VERSION
#define SWIGTYPE_p_Agsym_t
SWIGINTERN void SWIG_Tcl_SetErrorObj(Tcl_Interp *interp, const char *ctype, Tcl_Obj *obj)
Agraph_t * strictdigraph(char *name)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
static Tcl_HashTable swigconstTable
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
#define SWIG_MethodCommand
bool renderchannel(Agraph_t *g, const char *format, const char *channelname)
SWIGINTERN int _wrap_nextsupg(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nextattr__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agraph_t * nextsupg(Agraph_t *g, Agraph_t *sg)
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
SWIGRUNTIME swig_module_info * SWIG_Tcl_GetModule(Tcl_Interp *interp)
SWIGINTERN int _wrap_firstnode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_edge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firsthead(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nextsubg(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_exception_fail(code, msg)
SWIGINTERN int _wrap_nextnode__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agedge_t * firstedge(Agraph_t *g)
SWIGINTERN int _wrap_render__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_AttributeError
Agraph_t * graphof(Agraph_t *g)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
SWIGINTERN int _wrap_setv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_module_info swig_module
SWIGINTERN int _wrap_findedge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nameof__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
char * nameof(Agraph_t *g)
#define SWIG_SetModule(clientdata, pointer)
Agnode_t * firstnode(Agraph_t *g)
SWIGRUNTIME char * SWIG_Tcl_PointerTypeFromString(char *c)
#define SWIG_INIT_CLIENT_DATA_TYPE
SWIGINTERN int _wrap_ok__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIGUNUSEDPARM(p)
SWIGINTERN int _wrap_layout(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agedge_t * firstout(Agraph_t *g)
#define SWIG_POINTER_RELEASE
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
#define SWIG_as_voidptr(a)
int(* swig_wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *const [])
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN int _wrap_render__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nextout(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_POINTER_CLEAR
SWIGINTERN int _wrap_graphof__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME void SWIG_Tcl_SetModule(Tcl_Interp *interp, swig_module_info *module)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGINTERN int _wrap_nextout__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIMEINLINE int SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, swig_type_info *ty, int flags)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
SWIGRUNTIME int SWIG_Tcl_Thisown(void *ptr)
SWIGINTERN int _wrap_render__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_rootof(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_type_info * swig_types[7]
SWIGINTERN void SWIG_Tcl_SetConstantObj(Tcl_Interp *interp, const char *name, Tcl_Obj *obj)
SWIGINTERN int _wrap_readstring(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_protoedge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_cast_info _swigc__p_char[]
SWIGINTERN int _wrap_nextnode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_setv__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_edge__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firstsupg(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
bool layout(Agraph_t *g, const char *engine)
SWIGINTERN int _wrap_graphof__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_type_info _swigt__p_Agraph_t
SWIGINTERN int _wrap_renderchannel(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN int _wrap_headof(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nameof__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_ok__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firstnode__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERNINLINE Tcl_Obj * SWIG_FromCharPtr(const char *cptr)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
#define SWIG_NewPointerObj(ptr, type, flags)
#define SWIG_Thisown(ptr)
SWIGINTERN int _wrap_write__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agsym_t * nextattr(Agraph_t *g, Agsym_t *a)
#define SWIG_POINTER_NO_NULL
SWIGRUNTIME int SWIG_Tcl_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], const char *fmt,...)
Agnode_t * tailof(Agedge_t *e)
bool write(Agraph_t *g, const char *filename)
SWIGINTERN int _wrap_rm__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
char * renderdata(Agraph_t *g, const char *format)
SWIGINTERN int _wrap_write(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firstattr__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_NullReferenceError
SWIGINTERN int _wrap_firstin__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN int _wrap_tred(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_write__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_POINTER_DISOWN
SWIGINTERN int _wrap_rm__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
struct swig_type_info swig_type_info
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
SWIGINTERN int _wrap_getv__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agnode_t * protonode(Agraph_t *g)
static swig_cast_info _swigc__p_Agedge_t[]
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
SWIGINTERN int _wrap_setv__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agnode_t * findnode(Agraph_t *g, char *name)
#define SWIGTYPE_p_Agedge_t
Agnode_t * nexttail(Agnode_t *n, Agnode_t *t)
SWIGINTERN int _wrap_firstin__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME int SWIG_Tcl_MethodCommand(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const _objv[])
SWIGRUNTIME int SWIG_Tcl_Disown(void *ptr)
Agraph_t * firstsupg(Agraph_t *g)
#define SWIG_ObjectDelete
SWIGINTERN int _wrap_nexthead(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_setv__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_NewPackedObj(ptr, sz, type)
SWIGINTERN int _wrap_firstattr(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_setv__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firstout(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_GetModule(clientdata)
Agsym_t * findattr(Agraph_t *g, char *name)
SWIGINTERN int _wrap_setv__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_ok__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty)
SWIGRUNTIME void SWIG_PropagateClientData(void)
SWIGINTERN int _wrap_nextin__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_findattr__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_getv__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_rm(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agraph_t * digraph(char *name)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
Agedge_t * firstin(Agraph_t *g)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
SWIGINTERN int _wrap_findattr(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_edge__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_ERROR_RELEASE_NOT_OWNED
Agnode_t * nextnode(Agraph_t *g, Agnode_t *n)
SWIGINTERN int _wrap_nextout__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_graphof(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_TYPE_TABLE_NAME
SWIGINTERN int _wrap_firstnode__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_findattr__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_type_info _swigt__p_FILE
SWIGINTERN int _wrap_nextattr__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
int(* swig_wrapper_func)(ClientData, Tcl_Interp *, int, Tcl_Obj *const [])
Agedge_t * nextin(Agnode_t *n, Agedge_t *e)
Agraph_t * graph(char *name)
SWIGINTERN const char * SWIG_Tcl_ErrorType(int code)
SWIGINTERN int _wrap_findattr__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
struct swig_module_info swig_module_info
#define SWIG_Acquire(ptr)
SWIGRUNTIME void SWIG_Tcl_ObjectDelete(ClientData clientData)
SWIGRUNTIME int SWIG_Tcl_ConvertPacked(Tcl_Interp *SWIGUNUSEDPARM(interp), Tcl_Obj *obj, void *ptr, int sz, swig_type_info *ty)
SWIGEXPORT int Gv_SafeInit(Tcl_Interp *interp)
Agsym_t * firstattr(Agraph_t *g)
#define SWIG_NewInstanceObj(thisvalue, type, flags)
SWIGINTERN int _wrap_graphof__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_digraph(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_type_info * swig_type_initial[]
SWIGRUNTIME Tcl_HashTable * SWIG_Tcl_ObjectTable(void)
SWIGINTERN int _wrap_firstedge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static int swigconstTableinit
void(* swig_delete_func)(ClientData)
SWIGINTERN int _wrap_strictgraph(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME int SWIG_Tcl_ConvertPtrFromString(Tcl_Interp *interp, const char *c, void **ptr, swig_type_info *ty, int flags)
SWIGINTERN int _wrap_renderdata(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_render(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nextedge__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nameof(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
static swig_cast_info _swigc__p_Agsym_t[]
SWIGINTERN int _wrap_strictdigraph(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agedge_t * nextedge(Agraph_t *g, Agedge_t *e)
SWIGINTERNINLINE Tcl_Obj * SWIG_FromCharPtrAndSize(const char *carray, size_t size)
SWIGINTERN int _wrap_setv__SWIG_5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agedge_t * findedge(Agnode_t *t, Agnode_t *h)
#define SWIG_DivisionByZero
static swig_type_info _swigt__p_char
SWIGINTERN int _wrap_getv__SWIG_5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_OverflowError
SWIGINTERN int _wrap_nextedge__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_firstout__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIMEINLINE Tcl_Obj * SWIG_Tcl_NewPointerObj(void *ptr, swig_type_info *type, int flags)
SWIGINTERN int _wrap_protonode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGRUNTIME void SWIG_Tcl_MakePtr(char *c, void *ptr, swig_type_info *ty, int SWIGUNUSEDPARM(flags))
Agnode_t * firsthead(Agnode_t *n)
static swig_type_info _swigt__p_Agnode_t
SWIGINTERN int _wrap_firstedge__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_read(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN void SWIG_Tcl_InstallMethodLookupTables(void)
#define SWIG_TCL_STUBS_VERSION
SWIGINTERN int _wrap_findnode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nextedge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN Tcl_Obj * SWIG_Tcl_GetConstantObj(const char *key)
static swig_type_info _swigt__p_Agedge_t
SWIGINTERN int _wrap_read__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nexttail(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIG_snprintf(O, S, F, A)
SWIGINTERN int _wrap_getv__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_nextattr(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agnode_t * nexthead(Agnode_t *n, Agnode_t *h)
SWIGINTERN int _wrap_rm__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Agedge_t * protoedge(Agraph_t *g)
SWIGINTERN int _wrap_nextattr__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
SWIGINTERN int _wrap_ok__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
#define SWIGRUNTIMEINLINE
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
Graphviz context library.
GVIO_API const char * format
static gvloadimage_engine_t engine
NEATOPROCS_API void s1(graph_t *, node_t *)
void *(* swig_converter_func)(void *, int *)
struct swig_type_info *(* swig_dycast_func)(void **)
struct swig_cast_info * prev
struct swig_cast_info * next
swig_converter_func converter
swig_attribute * attributes
swig_module_info *Tcl_HashTable hashtable
void(* destructor)(void *)
struct swig_class ** bases
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
struct swig_cast_info * cast
#define Tcl_GetStringResult(interp)