- Timestamp:
- 01/15/10 14:50:17 (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGES
r205 r208 1 =========== 3.6.0 2 * pbs, new generated pbs_wrap.c, pbs.py fixes a bug in pbs_runjob() 3 Reported by: Dennis Stam 4 Fixed by: Bas van der Vlies 5 1 6 =========== 3.5.0 2 7 * PBSQuery -
trunk/debian/changelog
r205 r208 1 pbs-python (3.6.0-1) lenny; urgency=low 2 3 * New generated files pbs_wrap.c and pbs.py fixes an error in pbs_runjob() 4 5 -- root <root@gb-r31vn6.irc.sara.nl.irc.sara.nl> Fri, 15 Jan 2010 04:40:35 +0100 6 1 7 pbs-python (3.5.0-1) lenny; urgency=low 2 8 … … 5 11 structure. 6 12 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 For more info see examples/new_interface.py13 Changed the behaviour of the new data stucture, We can use it as 14 dictionary and as class attribute, this is equivalent, eg: 15 - print node['np'] and print node.np 16 17 for a node we parse the 'status' line and split on '=' char, You now can 18 use these statements, eg 19 - print node.status.arch (node['status'].arch or node['status']['arch']) 20 - print node.status.nsession 21 22 for a job we parse the 'Variable_List' line and split on '=' char, You now can 23 use the statements, eg: 24 - print job.Variable_List.PBS_O_WORKDIR 25 - print job.Variable_List.PBS_O_HOME 26 27 for more info see examples/new_interface.py 22 28 23 29 Author: Bas van der Vlies 24 30 25 * new_rack_pbsmon.py26 27 28 29 30 Author: Bas van der Vlies31 32 -- Bas van der Vlies <bas@ rc.sara.nl> Mon, 12 Nov 2009 15:03:16 +020031 * new_rack_pbsmon.py 32 Rewrite to new data structure and automatically determine how many nodes 33 and racks cluster has and skip printing of empty racks (default), use -w/--wide 34 for old behaviour. 35 36 Author: Bas van der Vlies 37 38 -- Bas van der Vlies <bas@sara.nl> Mon, 12 Nov 2009 15:03:16 +0200 33 39 34 40 pbs-python (3.2.0-1) intrepid; urgency=low 35 41 36 42 * PBSQuery: 37 38 39 40 41 42 43 44 45 46 47 48 43 New data structure. In the old structure it is a dictionary 44 with a value and the value is a string. This is changed that 45 dictionary values are now of type list or dictionary depends 46 on the value of keyword, eg for a node: 47 - np = 2: 48 - node['np'] = [ '2' ] 49 - properties = cores2, mem4gb, parallel 50 - node['properties'] = [ 'cores2', 'mem4gb', 'parallel' ] 51 - status = arch=x86_64,sessions=22599,,size=70627864kb, ... 52 - node['status']['arch'] = [ 'x86_64' ] 53 - node['status']['sessions'] = [ '222599' ] 54 - ... 49 55 50 56 The data structure is activated by the function: … … 53 59 In a future release it will be come the default. 54 60 example: 55 56 p.new_data_structure() 57 58 59 61 p = PBSQuery() 62 p.new_data_structure() 63 64 nodes = p.getnodes() 65 print nodes.np, nodes['np'] 60 66 61 67 Author: Bas van der Vlies … … 63 69 * PBSQuery: 64 70 For old and new data structure we now can use another syntax: 65 71 - node['np'] and node.np are equivalent 66 72 67 73 This new syntax works for all keywords. … … 70 76 * PBSQuery: 71 77 Added iter object for job, node, queue and server objects, eg: 72 73 74 75 78 node = p.getnode('gb-r1n1') 79 print node.name 80 for attrib in node: 81 print '%\t%s = %s' %(attrib, node[attrib]) 76 82 Author: Bas van der Vlies 77 83 -
trunk/src/pbs.py
r205 r208 1 # This file was created automatically by SWIG 1.3.29. 1 # This file was automatically generated by SWIG (http://www.swig.org). 2 # Version 1.3.36 3 # 2 4 # Don't modify this file, modify the SWIG interface instead. 3 5 # This file is compatible with both classic and new-style classes. … … 6 8 import new 7 9 new_instancemethod = new.instancemethod 10 try: 11 _swig_property = property 12 except NameError: 13 pass # Python < 2.2 doesn't have 'property'. 8 14 def _swig_setattr_nondynamic(self,class_type,name,value,static=1): 9 15 if (name == "thisown"): return self.this.own(value) … … 268 274 __swig_getmethods__ = {} 269 275 __getattr__ = lambda self, name: _swig_getattr(self, attrl, name) 270 def __init__(self ): raise AttributeError, "No constructor defined"276 def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" 271 277 __repr__ = _swig_repr 272 278 __swig_setmethods__["name"] = _pbs.attrl_name_set 273 279 __swig_getmethods__["name"] = _pbs.attrl_name_get 274 if _newclass:name = property(_pbs.attrl_name_get, _pbs.attrl_name_set)280 if _newclass:name = _swig_property(_pbs.attrl_name_get, _pbs.attrl_name_set) 275 281 __swig_setmethods__["resource"] = _pbs.attrl_resource_set 276 282 __swig_getmethods__["resource"] = _pbs.attrl_resource_get 277 if _newclass:resource = property(_pbs.attrl_resource_get, _pbs.attrl_resource_set)283 if _newclass:resource = _swig_property(_pbs.attrl_resource_get, _pbs.attrl_resource_set) 278 284 __swig_setmethods__["value"] = _pbs.attrl_value_set 279 285 __swig_getmethods__["value"] = _pbs.attrl_value_get 280 if _newclass:value = property(_pbs.attrl_value_get, _pbs.attrl_value_set)286 if _newclass:value = _swig_property(_pbs.attrl_value_get, _pbs.attrl_value_set) 281 287 __swig_setmethods__["op"] = _pbs.attrl_op_set 282 288 __swig_getmethods__["op"] = _pbs.attrl_op_get 283 if _newclass:op = property(_pbs.attrl_op_get, _pbs.attrl_op_set)289 if _newclass:op = _swig_property(_pbs.attrl_op_get, _pbs.attrl_op_set) 284 290 def __str__(*args): return _pbs.attrl___str__(*args) 285 291 __swig_destroy__ = _pbs.delete_attrl … … 293 299 __swig_getmethods__ = {} 294 300 __getattr__ = lambda self, name: _swig_getattr(self, attropl, name) 295 def __init__(self ): raise AttributeError, "No constructor defined"301 def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" 296 302 __repr__ = _swig_repr 297 303 __swig_setmethods__["name"] = _pbs.attropl_name_set 298 304 __swig_getmethods__["name"] = _pbs.attropl_name_get 299 if _newclass:name = property(_pbs.attropl_name_get, _pbs.attropl_name_set)305 if _newclass:name = _swig_property(_pbs.attropl_name_get, _pbs.attropl_name_set) 300 306 __swig_setmethods__["resource"] = _pbs.attropl_resource_set 301 307 __swig_getmethods__["resource"] = _pbs.attropl_resource_get 302 if _newclass:resource = property(_pbs.attropl_resource_get, _pbs.attropl_resource_set)308 if _newclass:resource = _swig_property(_pbs.attropl_resource_get, _pbs.attropl_resource_set) 303 309 __swig_setmethods__["value"] = _pbs.attropl_value_set 304 310 __swig_getmethods__["value"] = _pbs.attropl_value_get 305 if _newclass:value = property(_pbs.attropl_value_get, _pbs.attropl_value_set)311 if _newclass:value = _swig_property(_pbs.attropl_value_get, _pbs.attropl_value_set) 306 312 __swig_setmethods__["op"] = _pbs.attropl_op_set 307 313 __swig_getmethods__["op"] = _pbs.attropl_op_get 308 if _newclass:op = property(_pbs.attropl_op_get, _pbs.attropl_op_set)314 if _newclass:op = _swig_property(_pbs.attropl_op_get, _pbs.attropl_op_set) 309 315 def __str__(*args): return _pbs.attropl___str__(*args) 310 316 __swig_destroy__ = _pbs.delete_attropl … … 318 324 __swig_getmethods__ = {} 319 325 __getattr__ = lambda self, name: _swig_getattr(self, batch_status, name) 320 def __init__(self ): raise AttributeError, "No constructor defined"326 def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined" 321 327 __repr__ = _swig_repr 322 328 __swig_setmethods__["name"] = _pbs.batch_status_name_set 323 329 __swig_getmethods__["name"] = _pbs.batch_status_name_get 324 if _newclass:name = property(_pbs.batch_status_name_get, _pbs.batch_status_name_set)330 if _newclass:name = _swig_property(_pbs.batch_status_name_get, _pbs.batch_status_name_set) 325 331 __swig_setmethods__["attribs"] = _pbs.batch_status_attribs_set 326 332 __swig_getmethods__["attribs"] = _pbs.batch_status_attribs_get 327 if _newclass:attribs = property(_pbs.batch_status_attribs_get, _pbs.batch_status_attribs_set)333 if _newclass:attribs = _swig_property(_pbs.batch_status_attribs_get, _pbs.batch_status_attribs_set) 328 334 __swig_setmethods__["text"] = _pbs.batch_status_text_set 329 335 __swig_getmethods__["text"] = _pbs.batch_status_text_get 330 if _newclass:text = property(_pbs.batch_status_text_get, _pbs.batch_status_text_set)336 if _newclass:text = _swig_property(_pbs.batch_status_text_get, _pbs.batch_status_text_set) 331 337 batch_status_swigregister = _pbs.batch_status_swigregister 332 338 batch_status_swigregister(batch_status) … … 534 540 Returns the pbs python interface version as a string. 535 541 """ 536 return '3. 5.0'542 return '3.6.0' 537 543 538 544 # A useful dict with error codes to text -
trunk/src/pbs_wrap.c
r179 r208 1 1 /* ---------------------------------------------------------------------------- 2 2 * This file was automatically generated by SWIG (http://www.swig.org). 3 * Version 1.3. 293 * Version 1.3.36 4 4 * 5 5 * This file is not intended to be easily readable and contains a number of … … 18 18 /* template workaround for compilers that cannot correctly implement the C++ standard */ 19 19 #ifndef SWIGTEMPLATEDISAMBIGUATOR 20 # if defined(__SUNPRO_CC) 21 # if (__SUNPRO_CC <= 0x560)22 # define SWIGTEMPLATEDISAMBIGUATOR template23 # else 24 # define SWIGTEMPLATEDISAMBIGUATOR 25 # endif20 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) 21 # define SWIGTEMPLATEDISAMBIGUATOR template 22 # elif defined(__HP_aCC) 23 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ 24 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ 25 # define SWIGTEMPLATEDISAMBIGUATOR template 26 26 # else 27 # define SWIGTEMPLATEDISAMBIGUATOR27 # define SWIGTEMPLATEDISAMBIGUATOR 28 28 # endif 29 29 #endif … … 51 51 # define SWIGUNUSED 52 52 # endif 53 #endif 54 55 #ifndef SWIG_MSC_UNSUPPRESS_4505 56 # if defined(_MSC_VER) 57 # pragma warning(disable : 4505) /* unreferenced local function has been removed */ 58 # endif 53 59 #endif 54 60 … … 104 110 105 111 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ 106 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) 112 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) 107 113 # define _CRT_SECURE_NO_DEPRECATE 108 114 #endif 115 116 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ 117 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) 118 # define _SCL_SECURE_NO_DEPRECATE 119 #endif 120 109 121 110 122 … … 121 133 /* This should only be incremented when either the layout of swig_type_info changes, 122 134 or for whatever reason, the runtime changes incompatibly */ 123 #define SWIG_RUNTIME_VERSION " 2"135 #define SWIG_RUNTIME_VERSION "4" 124 136 125 137 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ … … 156 168 /* Flags for pointer conversions */ 157 169 #define SWIG_POINTER_DISOWN 0x1 170 #define SWIG_CAST_NEW_MEMORY 0x2 158 171 159 172 /* Flags for new pointer objects */ … … 296 309 #endif 297 310 298 typedef void *(*swig_converter_func)(void * );311 typedef void *(*swig_converter_func)(void *, int *); 299 312 typedef struct swig_type_info *(*swig_dycast_func)(void **); 300 313 301 /* Structure to store infor omation on one type */314 /* Structure to store information on one type */ 302 315 typedef struct swig_type_info { 303 316 const char *name; /* mangled name of this type */ … … 344 357 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; 345 358 } 346 return ( l1 - f1) - (l2 - f2);359 return (int)((l1 - f1) - (l2 - f2)); 347 360 } 348 361 … … 426 439 */ 427 440 SWIGRUNTIMEINLINE void * 428 SWIG_TypeCast(swig_cast_info *ty, void *ptr ) {429 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr );441 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { 442 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); 430 443 } 431 444 … … 698 711 699 712 700 /* Python.h has to appear first */701 #include <Python.h>702 713 703 714 /* Add PyOS_snprintf for old Pythons */ … … 780 791 #endif 781 792 793 /* Py_ssize_t for old Pythons */ 794 /* This code is as recommended by: */ 795 /* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */ 796 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) 797 typedef int Py_ssize_t; 798 # define PY_SSIZE_T_MAX INT_MAX 799 # define PY_SSIZE_T_MIN INT_MIN 800 #endif 782 801 783 802 /* ----------------------------------------------------------------------------- … … 845 864 Py_DECREF(value); 846 865 } else { 847 PyErr_ Format(PyExc_RuntimeError, mesg);866 PyErr_SetString(PyExc_RuntimeError, mesg); 848 867 } 849 868 } … … 1085 1104 1086 1105 SWIGINTERN int 1087 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)1106 SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) 1088 1107 { 1089 1108 if (!args) { … … 1092 1111 } else { 1093 1112 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", 1094 name, (min == max ? "" : "at least "), min);1113 name, (min == max ? "" : "at least "), (int)min); 1095 1114 return 0; 1096 1115 } … … 1100 1119 return 0; 1101 1120 } else { 1102 register int l = PyTuple_GET_SIZE(args);1121 register Py_ssize_t l = PyTuple_GET_SIZE(args); 1103 1122 if (l < min) { 1104 1123 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 1105 name, (min == max ? "" : "at least "), min,l);1124 name, (min == max ? "" : "at least "), (int)min, (int)l); 1106 1125 return 0; 1107 1126 } else if (l > max) { 1108 1127 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 1109 name, (min == max ? "" : "at most "), max,l);1128 name, (min == max ? "" : "at most "), (int)max, (int)l); 1110 1129 return 0; 1111 1130 } else { … … 1173 1192 _SWIG_Py_None(void) 1174 1193 { 1175 PyObject *none = Py_BuildValue( "");1194 PyObject *none = Py_BuildValue((char*)""); 1176 1195 Py_DECREF(none); 1177 1196 return none; … … 1405 1424 PySwigObject *sobj = (PySwigObject *) v; 1406 1425 PyObject *next = sobj->next; 1407 if (sobj->own ) {1426 if (sobj->own == SWIG_POINTER_OWN) { 1408 1427 swig_type_info *ty = sobj->ty; 1409 1428 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; … … 1423 1442 } 1424 1443 Py_XDECREF(res); 1425 } else { 1444 } 1445 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 1446 else { 1426 1447 const char *name = SWIG_TypePrettyName(ty); 1427 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 1428 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); 1429 #endif 1430 } 1448 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); 1449 } 1450 #endif 1431 1451 } 1432 1452 Py_XDECREF(next); … … 1586 1606 (unaryfunc)PySwigObject_oct, /*nb_oct*/ 1587 1607 (unaryfunc)PySwigObject_hex, /*nb_hex*/ 1588 #if PY_VERSION_HEX >= 0x02020000 1589 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ 1590 #elif PY_VERSION_HEX >= 0x02000000 1608 #if PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ 1609 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ 1610 #elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */ 1611 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ 1612 #elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */ 1591 1613 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 1592 1614 #endif … … 1931 1953 SWIGRUNTIME int 1932 1954 SWIG_Python_AcquirePtr(PyObject *obj, int own) { 1933 if (own ) {1955 if (own == SWIG_POINTER_OWN) { 1934 1956 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); 1935 1957 if (sobj) { … … 1952 1974 } else { 1953 1975 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); 1976 if (own) 1977 *own = 0; 1954 1978 while (sobj) { 1955 1979 void *vptr = sobj->ptr; … … 1965 1989 sobj = (PySwigObject *)sobj->next; 1966 1990 } else { 1967 if (ptr) *ptr = SWIG_TypeCast(tc,vptr); 1991 if (ptr) { 1992 int newmemory = 0; 1993 *ptr = SWIG_TypeCast(tc,vptr,&newmemory); 1994 if (newmemory == SWIG_CAST_NEW_MEMORY) { 1995 assert(own); 1996 if (own) 1997 *own = *own | SWIG_CAST_NEW_MEMORY; 1998 } 1999 } 1968 2000 break; 1969 2001 } … … 1975 2007 } 1976 2008 if (sobj) { 1977 if (own) *own = sobj->own; 2009 if (own) 2010 *own = *own | sobj->own; 1978 2011 if (flags & SWIG_POINTER_DISOWN) { 1979 2012 sobj->own = 0; … … 2032 2065 2033 2066 /* here we get the method pointer for callbacks */ 2034 c har *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);2067 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); 2035 2068 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; 2036 2069 if (desc) { … … 2040 2073 if (ty) { 2041 2074 swig_cast_info *tc = SWIG_TypeCheck(desc,ty); 2042 if (!tc) return SWIG_ERROR; 2043 *ptr = SWIG_TypeCast(tc,vptr); 2075 if (tc) { 2076 int newmemory = 0; 2077 *ptr = SWIG_TypeCast(tc,vptr,&newmemory); 2078 assert(!newmemory); /* newmemory handling not yet implemented */ 2079 } else { 2080 return SWIG_ERROR; 2081 } 2044 2082 } else { 2045 2083 *ptr = vptr; … … 2153 2191 } 2154 2192 #endif 2155 dict = PyObject_GetAttrString(inst, "__dict__");2193 dict = PyObject_GetAttrString(inst, (char*)"__dict__"); 2156 2194 PyDict_SetItem(dict, SWIG_This(), swig_this); 2157 2195 Py_DECREF(dict); … … 2294 2332 /* The python cached type query */ 2295 2333 SWIGRUNTIME PyObject * 2296 SWIG_Python_TypeCache( ) {2334 SWIG_Python_TypeCache(void) { 2297 2335 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); 2298 2336 return cache; … … 2459 2497 #if (PY_VERSION_HEX <= 0x02000000) 2460 2498 # if !defined(SWIG_PYTHON_CLASSIC) 2461 # error "This python version requires to use swigwith the '-classic' option"2499 # error "This python version requires swig to be run with the '-classic' option" 2462 2500 # endif 2463 2501 #endif … … 2470 2508 #define SWIG_name "_pbs" 2471 2509 2472 #define SWIGVERSION 0x010329 2510 #define SWIGVERSION 0x010336 2511 #define SWIG_VERSION SWIGVERSION 2473 2512 2474 2513 … … 2605 2644 2606 2645 #include <limits.h> 2607 #ifndef LLONG_MIN 2608 # define LLONG_MIN LONG_LONG_MIN 2609 #endif 2610 #ifndef LLONG_MAX 2611 # define LLONG_MAX LONG_LONG_MAX 2612 #endif 2613 #ifndef ULLONG_MAX 2614 # define ULLONG_MAX ULONG_LONG_MAX 2646 #if !defined(SWIG_NO_LLONG_MAX) 2647 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) 2648 # define LLONG_MAX __LONG_LONG_MAX__ 2649 # define LLONG_MIN (-LLONG_MAX - 1LL) 2650 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) 2651 # endif 2615 2652 #endif 2616 2653 … … 2762 2799 2763 2800 SWIGINTERN swig_type_info* 2764 SWIG_pchar_descriptor( )2801 SWIG_pchar_descriptor(void) 2765 2802 { 2766 2803 static int init = 0; … … 2802 2839 { 2803 2840 if (PyString_Check(obj)) { 2804 char *cstr; int len;2841 char *cstr; Py_ssize_t len; 2805 2842 PyString_AsStringAndSize(obj, &cstr, &len); 2806 2843 if (cptr) { … … 2972 3009 PyObject *resultobj = 0; 2973 3010 int arg1 ; 2974 struct attrl *result = 0 ;2975 3011 int val1 ; 2976 3012 int ecode1 = 0 ; 2977 3013 PyObject * obj0 = 0 ; 3014 struct attrl *result = 0 ; 2978 3015 2979 3016 if (!PyArg_ParseTuple(args,(char *)"O:new_attrl",&obj0)) SWIG_fail; … … 3019 3056 PyObject *resultobj = 0; 3020 3057 int arg1 ; 3021 struct attropl *result = 0 ;3022 3058 int val1 ; 3023 3059 int ecode1 = 0 ; 3024 3060 PyObject * obj0 = 0 ; 3061 struct attropl *result = 0 ; 3025 3062 3026 3063 if (!PyArg_ParseTuple(args,(char *)"O:new_attropl",&obj0)) SWIG_fail; … … 3142 3179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attrl_name_set" "', argument " "2"" of type '" "char *""'"); 3143 3180 } 3144 arg2 = buf2;3181 arg2 = (char *)(buf2); 3145 3182 if (arg1->name) free((char*)arg1->name); 3146 3183 if (arg2) { 3147 size_t size = strlen( arg2) + 1;3148 arg1->name = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3184 size_t size = strlen((const char *)(arg2)) + 1; 3185 arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3149 3186 } else { 3150 3187 arg1->name = 0; … … 3162 3199 PyObject *resultobj = 0; 3163 3200 struct attrl *arg1 = (struct attrl *) 0 ; 3164 char *result = 0 ;3165 3201 void *argp1 = 0 ; 3166 3202 int res1 = 0 ; 3167 3203 PyObject * obj0 = 0 ; 3204 char *result = 0 ; 3168 3205 3169 3206 if (!PyArg_ParseTuple(args,(char *)"O:attrl_name_get",&obj0)) SWIG_fail; … … 3174 3211 arg1 = (struct attrl *)(argp1); 3175 3212 result = (char *) ((arg1)->name); 3176 resultobj = SWIG_FromCharPtr( result);3213 resultobj = SWIG_FromCharPtr((const char *)result); 3177 3214 return resultobj; 3178 3215 fail: … … 3203 3240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attrl_resource_set" "', argument " "2"" of type '" "char *""'"); 3204 3241 } 3205 arg2 = buf2;3242 arg2 = (char *)(buf2); 3206 3243 if (arg1->resource) free((char*)arg1->resource); 3207 3244 if (arg2) { 3208 size_t size = strlen( arg2) + 1;3209 arg1->resource = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3245 size_t size = strlen((const char *)(arg2)) + 1; 3246 arg1->resource = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3210 3247 } else { 3211 3248 arg1->resource = 0; … … 3223 3260 PyObject *resultobj = 0; 3224 3261 struct attrl *arg1 = (struct attrl *) 0 ; 3225 char *result = 0 ;3226 3262 void *argp1 = 0 ; 3227 3263 int res1 = 0 ; 3228 3264 PyObject * obj0 = 0 ; 3265 char *result = 0 ; 3229 3266 3230 3267 if (!PyArg_ParseTuple(args,(char *)"O:attrl_resource_get",&obj0)) SWIG_fail; … … 3235 3272 arg1 = (struct attrl *)(argp1); 3236 3273 result = (char *) ((arg1)->resource); 3237 resultobj = SWIG_FromCharPtr( result);3274 resultobj = SWIG_FromCharPtr((const char *)result); 3238 3275 return resultobj; 3239 3276 fail: … … 3264 3301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attrl_value_set" "', argument " "2"" of type '" "char *""'"); 3265 3302 } 3266 arg2 = buf2;3303 arg2 = (char *)(buf2); 3267 3304 if (arg1->value) free((char*)arg1->value); 3268 3305 if (arg2) { 3269 size_t size = strlen( arg2) + 1;3270 arg1->value = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3306 size_t size = strlen((const char *)(arg2)) + 1; 3307 arg1->value = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3271 3308 } else { 3272 3309 arg1->value = 0; … … 3284 3321 PyObject *resultobj = 0; 3285 3322 struct attrl *arg1 = (struct attrl *) 0 ; 3286 char *result = 0 ;3287 3323 void *argp1 = 0 ; 3288 3324 int res1 = 0 ; 3289 3325 PyObject * obj0 = 0 ; 3326 char *result = 0 ; 3290 3327 3291 3328 if (!PyArg_ParseTuple(args,(char *)"O:attrl_value_get",&obj0)) SWIG_fail; … … 3296 3333 arg1 = (struct attrl *)(argp1); 3297 3334 result = (char *) ((arg1)->value); 3298 resultobj = SWIG_FromCharPtr( result);3335 resultobj = SWIG_FromCharPtr((const char *)result); 3299 3336 return resultobj; 3300 3337 fail: … … 3326 3363 arg2 = (enum batch_op)(val2); 3327 3364 if (arg1) (arg1)->op = arg2; 3328 3329 3365 resultobj = SWIG_Py_Void(); 3330 3366 return resultobj; … … 3337 3373 PyObject *resultobj = 0; 3338 3374 struct attrl *arg1 = (struct attrl *) 0 ; 3339 enum batch_op result;3340 3375 void *argp1 = 0 ; 3341 3376 int res1 = 0 ; 3342 3377 PyObject * obj0 = 0 ; 3378 enum batch_op result; 3343 3379 3344 3380 if (!PyArg_ParseTuple(args,(char *)"O:attrl_op_get",&obj0)) SWIG_fail; … … 3359 3395 PyObject *resultobj = 0; 3360 3396 struct attrl *arg1 = (struct attrl *) 0 ; 3361 char *result = 0 ;3362 3397 void *argp1 = 0 ; 3363 3398 int res1 = 0 ; 3364 3399 PyObject * obj0 = 0 ; 3400 char *result = 0 ; 3365 3401 3366 3402 if (!PyArg_ParseTuple(args,(char *)"O:attrl___str__",&obj0)) SWIG_fail; … … 3371 3407 arg1 = (struct attrl *)(argp1); 3372 3408 result = (char *)attrl___str__(arg1); 3373 resultobj = SWIG_FromCharPtr( result);3409 resultobj = SWIG_FromCharPtr((const char *)result); 3374 3410 return resultobj; 3375 3411 fail: … … 3392 3428 arg1 = (struct attrl *)(argp1); 3393 3429 delete_attrl(arg1); 3394 3395 3430 resultobj = SWIG_Py_Void(); 3396 3431 return resultobj; … … 3402 3437 SWIGINTERN PyObject *attrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { 3403 3438 PyObject *obj; 3404 if (!PyArg_ParseTuple(args,(char*)"O |swigregister", &obj)) return NULL;3439 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; 3405 3440 SWIG_TypeNewClientData(SWIGTYPE_p_attrl, SWIG_NewClientData(obj)); 3406 3441 return SWIG_Py_Void(); … … 3429 3464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attropl_name_set" "', argument " "2"" of type '" "char *""'"); 3430 3465 } 3431 arg2 = buf2;3466 arg2 = (char *)(buf2); 3432 3467 if (arg1->name) free((char*)arg1->name); 3433 3468 if (arg2) { 3434 size_t size = strlen( arg2) + 1;3435 arg1->name = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3469 size_t size = strlen((const char *)(arg2)) + 1; 3470 arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3436 3471 } else { 3437 3472 arg1->name = 0; … … 3449 3484 PyObject *resultobj = 0; 3450 3485 struct attropl *arg1 = (struct attropl *) 0 ; 3451 char *result = 0 ;3452 3486 void *argp1 = 0 ; 3453 3487 int res1 = 0 ; 3454 3488 PyObject * obj0 = 0 ; 3489 char *result = 0 ; 3455 3490 3456 3491 if (!PyArg_ParseTuple(args,(char *)"O:attropl_name_get",&obj0)) SWIG_fail; … … 3461 3496 arg1 = (struct attropl *)(argp1); 3462 3497 result = (char *) ((arg1)->name); 3463 resultobj = SWIG_FromCharPtr( result);3498 resultobj = SWIG_FromCharPtr((const char *)result); 3464 3499 return resultobj; 3465 3500 fail: … … 3490 3525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attropl_resource_set" "', argument " "2"" of type '" "char *""'"); 3491 3526 } 3492 arg2 = buf2;3527 arg2 = (char *)(buf2); 3493 3528 if (arg1->resource) free((char*)arg1->resource); 3494 3529 if (arg2) { 3495 size_t size = strlen( arg2) + 1;3496 arg1->resource = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3530 size_t size = strlen((const char *)(arg2)) + 1; 3531 arg1->resource = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3497 3532 } else { 3498 3533 arg1->resource = 0; … … 3510 3545 PyObject *resultobj = 0; 3511 3546 struct attropl *arg1 = (struct attropl *) 0 ; 3512 char *result = 0 ;3513 3547 void *argp1 = 0 ; 3514 3548 int res1 = 0 ; 3515 3549 PyObject * obj0 = 0 ; 3550 char *result = 0 ; 3516 3551 3517 3552 if (!PyArg_ParseTuple(args,(char *)"O:attropl_resource_get",&obj0)) SWIG_fail; … … 3522 3557 arg1 = (struct attropl *)(argp1); 3523 3558 result = (char *) ((arg1)->resource); 3524 resultobj = SWIG_FromCharPtr( result);3559 resultobj = SWIG_FromCharPtr((const char *)result); 3525 3560 return resultobj; 3526 3561 fail: … … 3551 3586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attropl_value_set" "', argument " "2"" of type '" "char *""'"); 3552 3587 } 3553 arg2 = buf2;3588 arg2 = (char *)(buf2); 3554 3589 if (arg1->value) free((char*)arg1->value); 3555 3590 if (arg2) { 3556 size_t size = strlen( arg2) + 1;3557 arg1->value = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3591 size_t size = strlen((const char *)(arg2)) + 1; 3592 arg1->value = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3558 3593 } else { 3559 3594 arg1->value = 0; … … 3571 3606 PyObject *resultobj = 0; 3572 3607 struct attropl *arg1 = (struct attropl *) 0 ; 3573 char *result = 0 ;3574 3608 void *argp1 = 0 ; 3575 3609 int res1 = 0 ; 3576 3610 PyObject * obj0 = 0 ; 3611 char *result = 0 ; 3577 3612 3578 3613 if (!PyArg_ParseTuple(args,(char *)"O:attropl_value_get",&obj0)) SWIG_fail; … … 3583 3618 arg1 = (struct attropl *)(argp1); 3584 3619 result = (char *) ((arg1)->value); 3585 resultobj = SWIG_FromCharPtr( result);3620 resultobj = SWIG_FromCharPtr((const char *)result); 3586 3621 return resultobj; 3587 3622 fail: … … 3613 3648 arg2 = (enum batch_op)(val2); 3614 3649 if (arg1) (arg1)->op = arg2; 3615 3616 3650 resultobj = SWIG_Py_Void(); 3617 3651 return resultobj; … … 3624 3658 PyObject *resultobj = 0; 3625 3659 struct attropl *arg1 = (struct attropl *) 0 ; 3626 enum batch_op result;3627 3660 void *argp1 = 0 ; 3628 3661 int res1 = 0 ; 3629 3662 PyObject * obj0 = 0 ; 3663 enum batch_op result; 3630 3664 3631 3665 if (!PyArg_ParseTuple(args,(char *)"O:attropl_op_get",&obj0)) SWIG_fail; … … 3646 3680 PyObject *resultobj = 0; 3647 3681 struct attropl *arg1 = (struct attropl *) 0 ; 3648 char *result = 0 ;3649 3682 void *argp1 = 0 ; 3650 3683 int res1 = 0 ; 3651 3684 PyObject * obj0 = 0 ; 3685 char *result = 0 ; 3652 3686 3653 3687 if (!PyArg_ParseTuple(args,(char *)"O:attropl___str__",&obj0)) SWIG_fail; … … 3658 3692 arg1 = (struct attropl *)(argp1); 3659 3693 result = (char *)attropl___str__(arg1); 3660 resultobj = SWIG_FromCharPtr( result);3694 resultobj = SWIG_FromCharPtr((const char *)result); 3661 3695 return resultobj; 3662 3696 fail: … … 3679 3713 arg1 = (struct attropl *)(argp1); 3680 3714 delete_attropl(arg1); 3681 3682 3715 resultobj = SWIG_Py_Void(); 3683 3716 return resultobj; … … 3689 3722 SWIGINTERN PyObject *attropl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { 3690 3723 PyObject *obj; 3691 if (!PyArg_ParseTuple(args,(char*)"O |swigregister", &obj)) return NULL;3724 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; 3692 3725 SWIG_TypeNewClientData(SWIGTYPE_p_attropl, SWIG_NewClientData(obj)); 3693 3726 return SWIG_Py_Void(); … … 3716 3749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "batch_status_name_set" "', argument " "2"" of type '" "char *""'"); 3717 3750 } 3718 arg2 = buf2;3751 arg2 = (char *)(buf2); 3719 3752 if (arg1->name) free((char*)arg1->name); 3720 3753 if (arg2) { 3721 size_t size = strlen( arg2) + 1;3722 arg1->name = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3754 size_t size = strlen((const char *)(arg2)) + 1; 3755 arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3723 3756 } else { 3724 3757 arg1->name = 0; … … 3736 3769 PyObject *resultobj = 0; 3737 3770 struct batch_status *arg1 = (struct batch_status *) 0 ; 3738 char *result = 0 ;3739 3771 void *argp1 = 0 ; 3740 3772 int res1 = 0 ; 3741 3773 PyObject * obj0 = 0 ; 3774 char *result = 0 ; 3742 3775 3743 3776 if (!PyArg_ParseTuple(args,(char *)"O:batch_status_name_get",&obj0)) SWIG_fail; … … 3748 3781 arg1 = (struct batch_status *)(argp1); 3749 3782 result = (char *) ((arg1)->name); 3750 resultobj = SWIG_FromCharPtr( result);3783 resultobj = SWIG_FromCharPtr((const char *)result); 3751 3784 return resultobj; 3752 3785 fail: … … 3778 3811 arg2 = (struct attrl *)(argp2); 3779 3812 if (arg1) (arg1)->attribs = arg2; 3780 3781 3813 resultobj = SWIG_Py_Void(); 3782 3814 return resultobj; … … 3789 3821 PyObject *resultobj = 0; 3790 3822 struct batch_status *arg1 = (struct batch_status *) 0 ; 3791 struct attrl *result = 0 ;3792 3823 void *argp1 = 0 ; 3793 3824 int res1 = 0 ; 3794 3825 PyObject * obj0 = 0 ; 3826 struct attrl *result = 0 ; 3795 3827 3796 3828 if (!PyArg_ParseTuple(args,(char *)"O:batch_status_attribs_get",&obj0)) SWIG_fail; … … 3855 3887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "batch_status_text_set" "', argument " "2"" of type '" "char *""'"); 3856 3888 } 3857 arg2 = buf2;3889 arg2 = (char *)(buf2); 3858 3890 if (arg1->text) free((char*)arg1->text); 3859 3891 if (arg2) { 3860 size_t size = strlen( arg2) + 1;3861 arg1->text = (char *) memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));3892 size_t size = strlen((const char *)(arg2)) + 1; 3893 arg1->text = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); 3862 3894 } else { 3863 3895 arg1->text = 0; … … 3875 3907 PyObject *resultobj = 0; 3876 3908 struct batch_status *arg1 = (struct batch_status *) 0 ; 3877 char *result = 0 ;3878 3909 void *argp1 = 0 ; 3879 3910 int res1 = 0 ; 3880 3911 PyObject * obj0 = 0 ; 3912 char *result = 0 ; 3881 3913 3882 3914 if (!PyArg_ParseTuple(args,(char *)"O:batch_status_text_get",&obj0)) SWIG_fail; … … 3887 3919 arg1 = (struct batch_status *)(argp1); 3888 3920 result = (char *) ((arg1)->text); 3889 resultobj = SWIG_FromCharPtr( result);3921 resultobj = SWIG_FromCharPtr((const char *)result); 3890 3922 return resultobj; 3891 3923 fail: … … 3896 3928 SWIGINTERN PyObject *batch_status_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { 3897 3929 PyObject *obj; 3898 if (!PyArg_ParseTuple(args,(char*)"O |swigregister", &obj)) return NULL;3930 if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; 3899 3931 SWIG_TypeNewClientData(SWIGTYPE_p_batch_status, SWIG_NewClientData(obj)); 3900 3932 return SWIG_Py_Void(); 3901 3933 } 3902 3934 3903 SWIGINTERN int pbs_errno_set(PyObject *_val) {3935 SWIGINTERN int Swig_var_pbs_errno_set(PyObject *_val) { 3904 3936 { 3905 3937 int val; … … 3916 3948 3917 3949 3918 SWIGINTERN PyObject * pbs_errno_get(void) {3950 SWIGINTERN PyObject *Swig_var_pbs_errno_get(void) { 3919 3951 PyObject *pyobj = 0; 3920 3952 … … 3924 3956 3925 3957 3926 SWIGINTERN int pbs_server_set(PyObject *_val) {3958 SWIGINTERN int Swig_var_pbs_server_set(PyObject *_val) { 3927 3959 { 3928 3960 char *cptr = 0; size_t csize = 0; int alloc = SWIG_NEWOBJ; … … 3935 3967 pbs_server = cptr; 3936 3968 } else { 3937 pbs_server = csize ? (char *) memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0;3969 pbs_server = csize ? (char *)(char *)memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0; 3938 3970 } 3939 3971 } … … 3944 3976 3945 3977 3946 SWIGINTERN PyObject * pbs_server_get(void) {3978 SWIGINTERN PyObject *Swig_var_pbs_server_get(void) { 3947 3979 PyObject *pyobj = 0; 3948 3980 … … 3956 3988 int arg1 ; 3957 3989 char *arg2 = (char *) 0 ; 3958 char *result = 0 ;3959 3990 int val1 ; 3960 3991 int ecode1 = 0 ; … … 3964 3995 PyObject * obj0 = 0 ; 3965 3996 PyObject * obj1 = 0 ; 3997 char *result = 0 ; 3966 3998 3967 3999 if (!PyArg_ParseTuple(args,(char *)"OO:avail",&obj0,&obj1)) SWIG_fail; … … 3975 4007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "avail" "', argument " "2"" of type '" "char *""'"); 3976 4008 } 3977 arg2 = buf2;4009 arg2 = (char *)(buf2); 3978 4010 result = (char *)avail(arg1,arg2); 3979 resultobj = SWIG_FromCharPtr( result);4011 resultobj = SWIG_FromCharPtr((const char *)result); 3980 4012 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 3981 4013 return resultobj; … … 3992 4024 char *arg3 = (char *) 0 ; 3993 4025 char *arg4 = (char *) 0 ; 3994 int result;3995 4026 int val1 ; 3996 4027 int ecode1 = 0 ; … … 4008 4039 PyObject * obj2 = 0 ; 4009 4040 PyObject * obj3 = 0 ; 4041 int result; 4010 4042 4011 4043 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_asyrunjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 4019 4051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_asyrunjob" "', argument " "2"" of type '" "char *""'"); 4020 4052 } 4021 arg2 = buf2;4053 arg2 = (char *)(buf2); 4022 4054 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4023 4055 if (!SWIG_IsOK(res3)) { 4024 4056 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_asyrunjob" "', argument " "3"" of type '" "char *""'"); 4025 4057 } 4026 arg3 = buf3;4058 arg3 = (char *)(buf3); 4027 4059 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 4028 4060 if (!SWIG_IsOK(res4)) { 4029 4061 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_asyrunjob" "', argument " "4"" of type '" "char *""'"); 4030 4062 } 4031 arg4 = buf4;4063 arg4 = (char *)(buf4); 4032 4064 result = (int)pbs_asyrunjob(arg1,arg2,arg3,arg4); 4033 4065 resultobj = SWIG_From_int((int)(result)); … … 4050 4082 struct attrl *arg3 = (struct attrl *) 0 ; 4051 4083 char *arg4 = (char *) 0 ; 4052 int result;4053 4084 int val1 ; 4054 4085 int ecode1 = 0 ; … … 4063 4094 PyObject * obj2 = 0 ; 4064 4095 PyObject * obj3 = 0 ; 4096 int result; 4065 4097 4066 4098 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_alterjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 4074 4106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_alterjob" "', argument " "2"" of type '" "char *""'"); 4075 4107 } 4076 arg2 = buf2;4108 arg2 = (char *)(buf2); 4077 4109 { 4078 4110 PyObject *py_obj; … … 4129 4161 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_alterjob" "', argument " "4"" of type '" "char *""'"); 4130 4162 } 4131 arg4 = buf4;4163 arg4 = (char *)(buf4); 4132 4164 result = (int)pbs_alterjob(arg1,arg2,arg3,arg4); 4133 4165 resultobj = SWIG_From_int((int)(result)); … … 4145 4177 PyObject *resultobj = 0; 4146 4178 char *arg1 = (char *) 0 ; 4147 int result;4148 4179 int res1 ; 4149 4180 char *buf1 = 0 ; 4150 4181 int alloc1 = 0 ; 4151 4182 PyObject * obj0 = 0 ; 4183 int result; 4152 4184 4153 4185 if (!PyArg_ParseTuple(args,(char *)"O:pbs_connect",&obj0)) SWIG_fail; … … 4156 4188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pbs_connect" "', argument " "1"" of type '" "char *""'"); 4157 4189 } 4158 arg1 = buf1;4190 arg1 = (char *)(buf1); 4159 4191 result = (int)pbs_connect(arg1); 4160 4192 resultobj = SWIG_From_int((int)(result)); … … 4186 4218 if (!PyArg_ParseTuple(args,(char *)":pbs_default")) SWIG_fail; 4187 4219 result = (char *)pbs_default(); 4188 resultobj = SWIG_FromCharPtr( result);4220 resultobj = SWIG_FromCharPtr((const char *)result); 4189 4221 return resultobj; 4190 4222 fail: … … 4198 4230 char *arg2 = (char *) 0 ; 4199 4231 char *arg3 = (char *) 0 ; 4200 int result;4201 4232 int val1 ; 4202 4233 int ecode1 = 0 ; … … 4210 4241 PyObject * obj1 = 0 ; 4211 4242 PyObject * obj2 = 0 ; 4243 int result; 4212 4244 4213 4245 if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_deljob",&obj0,&obj1,&obj2)) SWIG_fail; … … 4221 4253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_deljob" "', argument " "2"" of type '" "char *""'"); 4222 4254 } 4223 arg2 = buf2;4255 arg2 = (char *)(buf2); 4224 4256 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4225 4257 if (!SWIG_IsOK(res3)) { 4226 4258 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_deljob" "', argument " "3"" of type '" "char *""'"); 4227 4259 } 4228 arg3 = buf3;4260 arg3 = (char *)(buf3); 4229 4261 result = (int)pbs_deljob(arg1,arg2,arg3); 4230 4262 resultobj = SWIG_From_int((int)(result)); … … 4242 4274 PyObject *resultobj = 0; 4243 4275 int arg1 ; 4244 int result;4245 4276 int val1 ; 4246 4277 int ecode1 = 0 ; 4247 4278 PyObject * obj0 = 0 ; 4279 int result; 4248 4280 4249 4281 if (!PyArg_ParseTuple(args,(char *)"O:pbs_disconnect",&obj0)) SWIG_fail; … … 4267 4299 char *arg3 = (char *) 0 ; 4268 4300 char *arg4 = (char *) 0 ; 4269 int result;4270 4301 int val1 ; 4271 4302 int ecode1 = 0 ; … … 4283 4314 PyObject * obj2 = 0 ; 4284 4315 PyObject * obj3 = 0 ; 4316 int result; 4285 4317 4286 4318 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_holdjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 4294 4326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_holdjob" "', argument " "2"" of type '" "char *""'"); 4295 4327 } 4296 arg2 = buf2;4328 arg2 = (char *)(buf2); 4297 4329 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4298 4330 if (!SWIG_IsOK(res3)) { 4299 4331 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_holdjob" "', argument " "3"" of type '" "char *""'"); 4300 4332 } 4301 arg3 = buf3;4333 arg3 = (char *)(buf3); 4302 4334 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 4303 4335 if (!SWIG_IsOK(res4)) { 4304 4336 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_holdjob" "', argument " "4"" of type '" "char *""'"); 4305 4337 } 4306 arg4 = buf4;4338 arg4 = (char *)(buf4); 4307 4339 result = (int)pbs_holdjob(arg1,arg2,arg3,arg4); 4308 4340 resultobj = SWIG_From_int((int)(result)); … … 4324 4356 char *arg2 = (char *) 0 ; 4325 4357 char *arg3 = (char *) 0 ; 4326 char *result = 0 ;4327 4358 int val1 ; 4328 4359 int ecode1 = 0 ; … … 4336 4367 PyObject * obj1 = 0 ; 4337 4368 PyObject * obj2 = 0 ; 4369 char *result = 0 ; 4338 4370 4339 4371 if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_locjob",&obj0,&obj1,&obj2)) SWIG_fail; … … 4347 4379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_locjob" "', argument " "2"" of type '" "char *""'"); 4348 4380 } 4349 arg2 = buf2;4381 arg2 = (char *)(buf2); 4350 4382 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4351 4383 if (!SWIG_IsOK(res3)) { 4352 4384 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_locjob" "', argument " "3"" of type '" "char *""'"); 4353 4385 } 4354 arg3 = buf3;4386 arg3 = (char *)(buf3); 4355 4387 result = (char *)pbs_locjob(arg1,arg2,arg3); 4356 resultobj = SWIG_FromCharPtr( result);4388 resultobj = SWIG_FromCharPtr((const char *)result); 4357 4389 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 4358 4390 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); … … 4373 4405 struct attropl *arg5 = (struct attropl *) 0 ; 4374 4406 char *arg6 = (char *) 0 ; 4375 int result;4376 4407 int val1 ; 4377 4408 int ecode1 = 0 ; … … 4392 4423 PyObject * obj4 = 0 ; 4393 4424 PyObject * obj5 = 0 ; 4425 int result; 4394 4426 4395 4427 if (!PyArg_ParseTuple(args,(char *)"OOOOOO:pbs_manager",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; … … 4413 4445 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_manager" "', argument " "4"" of type '" "char *""'"); 4414 4446 } 4415 arg4 = buf4;4447 arg4 = (char *)(buf4); 4416 4448 { 4417 4449 PyObject *py_obj; … … 4468 4500 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "pbs_manager" "', argument " "6"" of type '" "char *""'"); 4469 4501 } 4470 arg6 = buf6;4502 arg6 = (char *)(buf6); 4471 4503 result = (int)pbs_manager(arg1,arg2,arg3,arg4,arg5,arg6); 4472 4504 resultobj = SWIG_From_int((int)(result)); … … 4487 4519 char *arg3 = (char *) 0 ; 4488 4520 char *arg4 = (char *) 0 ; 4489 int result;4490 4521 int val1 ; 4491 4522 int ecode1 = 0 ; … … 4503 4534 PyObject * obj2 = 0 ; 4504 4535 PyObject * obj3 = 0 ; 4536 int result; 4505 4537 4506 4538 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_movejob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 4514 4546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_movejob" "', argument " "2"" of type '" "char *""'"); 4515 4547 } 4516 arg2 = buf2;4548 arg2 = (char *)(buf2); 4517 4549 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4518 4550 if (!SWIG_IsOK(res3)) { 4519 4551 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_movejob" "', argument " "3"" of type '" "char *""'"); 4520 4552 } 4521 arg3 = buf3;4553 arg3 = (char *)(buf3); 4522 4554 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 4523 4555 if (!SWIG_IsOK(res4)) { 4524 4556 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_movejob" "', argument " "4"" of type '" "char *""'"); 4525 4557 } 4526 arg4 = buf4;4558 arg4 = (char *)(buf4); 4527 4559 result = (int)pbs_movejob(arg1,arg2,arg3,arg4); 4528 4560 resultobj = SWIG_From_int((int)(result)); … … 4546 4578 char *arg4 = (char *) 0 ; 4547 4579 char *arg5 = (char *) 0 ; 4548 int result;4549 4580 int val1 ; 4550 4581 int ecode1 = 0 ; … … 4565 4596 PyObject * obj3 = 0 ; 4566 4597 PyObject * obj4 = 0 ; 4598 int result; 4567 4599 4568 4600 if (!PyArg_ParseTuple(args,(char *)"OOOOO:pbs_msgjob",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; … … 4576 4608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_msgjob" "', argument " "2"" of type '" "char *""'"); 4577 4609 } 4578 arg2 = buf2;4610 arg2 = (char *)(buf2); 4579 4611 ecode3 = SWIG_AsVal_int(obj2, &val3); 4580 4612 if (!SWIG_IsOK(ecode3)) { … … 4586 4618 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_msgjob" "', argument " "4"" of type '" "char *""'"); 4587 4619 } 4588 arg4 = buf4;4620 arg4 = (char *)(buf4); 4589 4621 res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5); 4590 4622 if (!SWIG_IsOK(res5)) { 4591 4623 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "pbs_msgjob" "', argument " "5"" of type '" "char *""'"); 4592 4624 } 4593 arg5 = buf5;4625 arg5 = (char *)(buf5); 4594 4626 result = (int)pbs_msgjob(arg1,arg2,arg3,arg4,arg5); 4595 4627 resultobj = SWIG_From_int((int)(result)); … … 4612 4644 char *arg3 = (char *) 0 ; 4613 4645 char *arg4 = (char *) 0 ; 4614 int result;4615 4646 int val1 ; 4616 4647 int ecode1 = 0 ; … … 4628 4659 PyObject * obj2 = 0 ; 4629 4660 PyObject * obj3 = 0 ; 4661 int result; 4630 4662 4631 4663 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_orderjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 4639 4671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_orderjob" "', argument " "2"" of type '" "char *""'"); 4640 4672 } 4641 arg2 = buf2;4673 arg2 = (char *)(buf2); 4642 4674 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4643 4675 if (!SWIG_IsOK(res3)) { 4644 4676 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_orderjob" "', argument " "3"" of type '" "char *""'"); 4645 4677 } 4646 arg3 = buf3;4678 arg3 = (char *)(buf3); 4647 4679 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 4648 4680 if (!SWIG_IsOK(res4)) { 4649 4681 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_orderjob" "', argument " "4"" of type '" "char *""'"); 4650 4682 } 4651 arg4 = buf4;4683 arg4 = (char *)(buf4); 4652 4684 result = (int)pbs_orderjob(arg1,arg2,arg3,arg4); 4653 4685 resultobj = SWIG_From_int((int)(result)); … … 4673 4705 int *arg6 = (int *) 0 ; 4674 4706 int *arg7 = (int *) 0 ; 4675 int result;4676 4707 int val1 ; 4677 4708 int ecode1 = 0 ; … … 4689 4720 PyObject * obj1 = 0 ; 4690 4721 PyObject * obj2 = 0 ; 4722 int result; 4691 4723 4692 4724 arg4 = &temp4; … … 4783 4815 int arg3 ; 4784 4816 int *arg4 = (int *) 0 ; 4785 int result;4786 4817 int val1 ; 4787 4818 int ecode1 = 0 ; … … 4793 4824 PyObject * obj1 = 0 ; 4794 4825 PyObject * obj2 = 0 ; 4826 int result; 4795 4827 4796 4828 arg4 = &temp4; … … 4864 4896 int arg1 ; 4865 4897 int arg2 ; 4866 int result;4867 4898 int val1 ; 4868 4899 int ecode1 = 0 ; … … 4871 4902 PyObject * obj0 = 0 ; 4872 4903 PyObject * obj1 = 0 ; 4904 int result; 4873 4905 4874 4906 if (!PyArg_ParseTuple(args,(char *)"OO:pbs_rescrelease",&obj0,&obj1)) SWIG_fail; … … 4896 4928 char *arg2 = (char *) 0 ; 4897 4929 char *arg3 = (char *) 0 ; 4898 int result;4899 4930 int val1 ; 4900 4931 int ecode1 = 0 ; … … 4908 4939 PyObject * obj1 = 0 ; 4909 4940 PyObject * obj2 = 0 ; 4941 int result; 4910 4942 4911 4943 if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_rerunjob",&obj0,&obj1,&obj2)) SWIG_fail; … … 4919 4951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_rerunjob" "', argument " "2"" of type '" "char *""'"); 4920 4952 } 4921 arg2 = buf2;4953 arg2 = (char *)(buf2); 4922 4954 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4923 4955 if (!SWIG_IsOK(res3)) { 4924 4956 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_rerunjob" "', argument " "3"" of type '" "char *""'"); 4925 4957 } 4926 arg3 = buf3;4958 arg3 = (char *)(buf3); 4927 4959 result = (int)pbs_rerunjob(arg1,arg2,arg3); 4928 4960 resultobj = SWIG_From_int((int)(result)); … … 4943 4975 char *arg3 = (char *) 0 ; 4944 4976 char *arg4 = (char *) 0 ; 4945 int result;4946 4977 int val1 ; 4947 4978 int ecode1 = 0 ; … … 4959 4990 PyObject * obj2 = 0 ; 4960 4991 PyObject * obj3 = 0 ; 4992 int result; 4961 4993 4962 4994 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_rlsjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 4970 5002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_rlsjob" "', argument " "2"" of type '" "char *""'"); 4971 5003 } 4972 arg2 = buf2;5004 arg2 = (char *)(buf2); 4973 5005 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 4974 5006 if (!SWIG_IsOK(res3)) { 4975 5007 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_rlsjob" "', argument " "3"" of type '" "char *""'"); 4976 5008 } 4977 arg3 = buf3;5009 arg3 = (char *)(buf3); 4978 5010 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 4979 5011 if (!SWIG_IsOK(res4)) { 4980 5012 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_rlsjob" "', argument " "4"" of type '" "char *""'"); 4981 5013 } 4982 arg4 = buf4;5014 arg4 = (char *)(buf4); 4983 5015 result = (int)pbs_rlsjob(arg1,arg2,arg3,arg4); 4984 5016 resultobj = SWIG_From_int((int)(result)); … … 5001 5033 char *arg3 = (char *) 0 ; 5002 5034 char *arg4 = (char *) 0 ; 5003 int result;5004 5035 int val1 ; 5005 5036 int ecode1 = 0 ; … … 5017 5048 PyObject * obj2 = 0 ; 5018 5049 PyObject * obj3 = 0 ; 5050 int result; 5019 5051 5020 5052 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_runjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 5028 5060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_runjob" "', argument " "2"" of type '" "char *""'"); 5029 5061 } 5030 arg2 = buf2;5062 arg2 = (char *)(buf2); 5031 5063 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 5032 5064 if (!SWIG_IsOK(res3)) { 5033 5065 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_runjob" "', argument " "3"" of type '" "char *""'"); 5034 5066 } 5035 arg3 = buf3;5067 arg3 = (char *)(buf3); 5036 5068 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 5037 5069 if (!SWIG_IsOK(res4)) { 5038 5070 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_runjob" "', argument " "4"" of type '" "char *""'"); 5039 5071 } 5040 arg4 = buf4;5072 arg4 = (char *)(buf4); 5041 5073 result = (int)pbs_runjob(arg1,arg2,arg3,arg4); 5042 5074 resultobj = SWIG_From_int((int)(result)); … … 5058 5090 struct attropl *arg2 = (struct attropl *) 0 ; 5059 5091 char *arg3 = (char *) 0 ; 5060 char **result = 0 ;5061 5092 int val1 ; 5062 5093 int ecode1 = 0 ; … … 5067 5098 PyObject * obj1 = 0 ; 5068 5099 PyObject * obj2 = 0 ; 5100 char **result = 0 ; 5069 5101 5070 5102 if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_selectjob",&obj0,&obj1,&obj2)) SWIG_fail; … … 5128 5160 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_selectjob" "', argument " "3"" of type '" "char *""'"); 5129 5161 } 5130 arg3 = buf3;5162 arg3 = (char *)(buf3); 5131 5163 result = (char **)pbs_selectjob(arg1,arg2,arg3); 5132 5164 { … … 5172 5204 char *arg3 = (char *) 0 ; 5173 5205 char *arg4 = (char *) 0 ; 5174 int result;5175 5206 int val1 ; 5176 5207 int ecode1 = 0 ; … … 5188 5219 PyObject * obj2 = 0 ; 5189 5220 PyObject * obj3 = 0 ; 5221 int result; 5190 5222 5191 5223 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_sigjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 5199 5231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_sigjob" "', argument " "2"" of type '" "char *""'"); 5200 5232 } 5201 arg2 = buf2;5233 arg2 = (char *)(buf2); 5202 5234 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 5203 5235 if (!SWIG_IsOK(res3)) { 5204 5236 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_sigjob" "', argument " "3"" of type '" "char *""'"); 5205 5237 } 5206 arg3 = buf3;5238 arg3 = (char *)(buf3); 5207 5239 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 5208 5240 if (!SWIG_IsOK(res4)) { 5209 5241 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_sigjob" "', argument " "4"" of type '" "char *""'"); 5210 5242 } 5211 arg4 = buf4;5243 arg4 = (char *)(buf4); 5212 5244 result = (int)pbs_sigjob(arg1,arg2,arg3,arg4); 5213 5245 resultobj = SWIG_From_int((int)(result)); … … 5296 5328 struct attrl *arg3 = (struct attrl *) 0 ; 5297 5329 char *arg4 = (char *) 0 ; 5298 struct batch_status *result = 0 ;5299 5330 int val1 ; 5300 5331 int ecode1 = 0 ; … … 5309 5340 PyObject * obj2 = 0 ; 5310 5341 PyObject * obj3 = 0 ; 5342 struct batch_status *result = 0 ; 5311 5343 5312 5344 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_statjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 5320 5352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_statjob" "', argument " "2"" of type '" "char *""'"); 5321 5353 } 5322 arg2 = buf2;5354 arg2 = (char *)(buf2); 5323 5355 { 5324 5356 PyObject *py_obj; … … 5375 5407 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_statjob" "', argument " "4"" of type '" "char *""'"); 5376 5408 } 5377 arg4 = buf4;5409 arg4 = (char *)(buf4); 5378 5410 result = (struct batch_status *)pbs_statjob(arg1,arg2,arg3,arg4); 5379 5411 { … … 5426 5458 struct attropl *arg2 = (struct attropl *) 0 ; 5427 5459 char *arg3 = (char *) 0 ; 5428 struct batch_status *result = 0 ;5429 5460 int val1 ; 5430 5461 int ecode1 = 0 ; … … 5435 5466 PyObject * obj1 = 0 ; 5436 5467 PyObject * obj2 = 0 ; 5468 struct batch_status *result = 0 ; 5437 5469 5438 5470 if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_selstat",&obj0,&obj1,&obj2)) SWIG_fail; … … 5496 5528 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_selstat" "', argument " "3"" of type '" "char *""'"); 5497 5529 } 5498 arg3 = buf3;5530 arg3 = (char *)(buf3); 5499 5531 result = (struct batch_status *)pbs_selstat(arg1,arg2,arg3); 5500 5532 { … … 5546 5578 struct attrl *arg3 = (struct attrl *) 0 ; 5547 5579 char *arg4 = (char *) 0 ; 5548 struct batch_status *result = 0 ;5549 5580 int val1 ; 5550 5581 int ecode1 = 0 ; … … 5559 5590 PyObject * obj2 = 0 ; 5560 5591 PyObject * obj3 = 0 ; 5592 struct batch_status *result = 0 ; 5561 5593 5562 5594 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_statque",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 5570 5602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_statque" "', argument " "2"" of type '" "char *""'"); 5571 5603 } 5572 arg2 = buf2;5604 arg2 = (char *)(buf2); 5573 5605 { 5574 5606 PyObject *py_obj; … … 5625 5657 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_statque" "', argument " "4"" of type '" "char *""'"); 5626 5658 } 5627 arg4 = buf4;5659 arg4 = (char *)(buf4); 5628 5660 result = (struct batch_status *)pbs_statque(arg1,arg2,arg3,arg4); 5629 5661 { … … 5676 5708 struct attrl *arg2 = (struct attrl *) 0 ; 5677 5709 char *arg3 = (char *) 0 ; 5678 struct batch_status *result = 0 ;5679 5710 int val1 ; 5680 5711 int ecode1 = 0 ; … … 5685 5716 PyObject * obj1 = 0 ; 5686 5717 PyObject * obj2 = 0 ; 5718 struct batch_status *result = 0 ; 5687 5719 5688 5720 if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_statserver",&obj0,&obj1,&obj2)) SWIG_fail; … … 5746 5778 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_statserver" "', argument " "3"" of type '" "char *""'"); 5747 5779 } 5748 arg3 = buf3;5780 arg3 = (char *)(buf3); 5749 5781 result = (struct batch_status *)pbs_statserver(arg1,arg2,arg3); 5750 5782 { … … 5796 5828 struct attrl *arg3 = (struct attrl *) 0 ; 5797 5829 char *arg4 = (char *) 0 ; 5798 struct batch_status *result = 0 ;5799 5830 int val1 ; 5800 5831 int ecode1 = 0 ; … … 5809 5840 PyObject * obj2 = 0 ; 5810 5841 PyObject * obj3 = 0 ; 5842 struct batch_status *result = 0 ; 5811 5843 5812 5844 if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_statnode",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; … … 5820 5852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_statnode" "', argument " "2"" of type '" "char *""'"); 5821 5853 } 5822 arg2 = buf2;5854 arg2 = (char *)(buf2); 5823 5855 { 5824 5856 PyObject *py_obj; … … 5875 5907 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_statnode" "', argument " "4"" of type '" "char *""'"); 5876 5908 } 5877 arg4 = buf4;5909 arg4 = (char *)(buf4); 5878 5910 result = (struct batch_status *)pbs_statnode(arg1,arg2,arg3,arg4); 5879 5911 { … … 5928 5960 char *arg4 = (char *) 0 ; 5929 5961 char *arg5 = (char *) 0 ; 5930 char *result = 0 ;5931 5962 int val1 ; 5932 5963 int ecode1 = 0 ; … … 5945 5976 PyObject * obj3 = 0 ; 5946 5977 PyObject * obj4 = 0 ; 5978 char *result = 0 ; 5947 5979 5948 5980 if (!PyArg_ParseTuple(args,(char *)"OOOOO:pbs_submit",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; … … 6006 6038 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_submit" "', argument " "3"" of type '" "char *""'"); 6007 6039 } 6008 arg3 = buf3;6040 arg3 = (char *)(buf3); 6009 6041 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 6010 6042 if (!SWIG_IsOK(res4)) { 6011 6043 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_submit" "', argument " "4"" of type '" "char *""'"); 6012 6044 } 6013 arg4 = buf4;6045 arg4 = (char *)(buf4); 6014 6046 res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5); 6015 6047 if (!SWIG_IsOK(res5)) { 6016 6048 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "pbs_submit" "', argument " "5"" of type '" "char *""'"); 6017 6049 } 6018 arg5 = buf5;6050 arg5 = (char *)(buf5); 6019 6051 result = (char *)pbs_submit(arg1,arg2,arg3,arg4,arg5); 6020 resultobj = SWIG_FromCharPtr( result);6052 resultobj = SWIG_FromCharPtr((const char *)result); 6021 6053 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 6022 6054 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); … … 6036 6068 int arg2 ; 6037 6069 char *arg3 = (char *) 0 ; 6038 int result;6039 6070 int val1 ; 6040 6071 int ecode1 = 0 ; … … 6047 6078 PyObject * obj1 = 0 ; 6048 6079 PyObject * obj2 = 0 ; 6080 int result; 6049 6081 6050 6082 if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_terminate",&obj0,&obj1,&obj2)) SWIG_fail; … … 6063 6095 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_terminate" "', argument " "3"" of type '" "char *""'"); 6064 6096 } 6065 arg3 = buf3;6097 arg3 = (char *)(buf3); 6066 6098 result = (int)pbs_terminate(arg1,arg2,arg3); 6067 6099 resultobj = SWIG_From_int((int)(result)); … … 6078 6110 int arg1 ; 6079 6111 int arg2 ; 6080 int result;6081 6112 int val1 ; 6082 6113 int ecode1 = 0 ; … … 6085 6116 PyObject * obj0 = 0 ; 6086 6117 PyObject * obj1 = 0 ; 6118 int result; 6087 6119 6088 6120 if (!PyArg_ParseTuple(args,(char *)"OO:totpool",&obj0,&obj1)) SWIG_fail; … … 6109 6141 int arg1 ; 6110 6142 int arg2 ; 6111 int result;6112 6143 int val1 ; 6113 6144 int ecode1 = 0 ; … … 6116 6147 PyObject * obj0 = 0 ; 6117 6148 PyObject * obj1 = 0 ; 6149 int result; 6118 6150 6119 6151 if (!PyArg_ParseTuple(args,(char *)"OO:usepool",&obj0,&obj1)) SWIG_fail; … … 6140 6172 char *arg1 = (char *) 0 ; 6141 6173 unsigned int arg2 ; 6142 int result;6143 6174 int res1 ; 6144 6175 char *buf1 = 0 ; … … 6148 6179 PyObject * obj0 = 0 ; 6149 6180 PyObject * obj1 = 0 ; 6181 int result; 6150 6182 6151 6183 if (!PyArg_ParseTuple(args,(char *)"OO:openrm",&obj0,&obj1)) SWIG_fail; … … 6154 6186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "openrm" "', argument " "1"" of type '" "char *""'"); 6155 6187 } 6156 arg1 = buf1;6188 arg1 = (char *)(buf1); 6157 6189 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); 6158 6190 if (!SWIG_IsOK(ecode2)) { … … 6173 6205 PyObject *resultobj = 0; 6174 6206 int arg1 ; 6175 int result;6176 6207 int val1 ; 6177 6208 int ecode1 = 0 ; 6178 6209 PyObject * obj0 = 0 ; 6210 int result; 6179 6211 6180 6212 if (!PyArg_ParseTuple(args,(char *)"O:closerm",&obj0)) SWIG_fail; … … 6195 6227 PyObject *resultobj = 0; 6196 6228 int arg1 ; 6197 int result;6198 6229 int val1 ; 6199 6230 int ecode1 = 0 ; 6200 6231 PyObject * obj0 = 0 ; 6232 int result; 6201 6233 6202 6234 if (!PyArg_ParseTuple(args,(char *)"O:downrm",&obj0)) SWIG_fail; … … 6218 6250 int arg1 ; 6219 6251 char *arg2 = (char *) 0 ; 6220 int result;6221 6252 int val1 ; 6222 6253 int ecode1 = 0 ; … … 6226 6257 PyObject * obj0 = 0 ; 6227 6258 PyObject * obj1 = 0 ; 6259 int result; 6228 6260 6229 6261 if (!PyArg_ParseTuple(args,(char *)"OO:configrm",&obj0,&obj1)) SWIG_fail; … … 6237 6269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "configrm" "', argument " "2"" of type '" "char *""'"); 6238 6270 } 6239 arg2 = buf2;6271 arg2 = (char *)(buf2); 6240 6272 result = (int)configrm(arg1,arg2); 6241 6273 resultobj = SWIG_From_int((int)(result)); … … 6252 6284 int arg1 ; 6253 6285 char *arg2 = (char *) 0 ; 6254 int result;6255 6286 int val1 ; 6256 6287 int ecode1 = 0 ; … … 6260 6291 PyObject * obj0 = 0 ; 6261 6292 PyObject * obj1 = 0 ; 6293 int result; 6262 6294 6263 6295 if (!PyArg_ParseTuple(args,(char *)"OO:addreq",&obj0,&obj1)) SWIG_fail; … … 6271 6303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "addreq" "', argument " "2"" of type '" "char *""'"); 6272 6304 } 6273 arg2 = buf2;6305 arg2 = (char *)(buf2); 6274 6306 result = (int)addreq(arg1,arg2); 6275 6307 resultobj = SWIG_From_int((int)(result)); … … 6285 6317 PyObject *resultobj = 0; 6286 6318 char *arg1 = (char *) 0 ; 6287 int result;6288 6319 int res1 ; 6289 6320 char *buf1 = 0 ; 6290 6321 int alloc1 = 0 ; 6291 6322 PyObject * obj0 = 0 ; 6323 int result; 6292 6324 6293 6325 if (!PyArg_ParseTuple(args,(char *)"O:allreq",&obj0)) SWIG_fail; … … 6296 6328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "allreq" "', argument " "1"" of type '" "char *""'"); 6297 6329 } 6298 arg1 = buf1;6330 arg1 = (char *)(buf1); 6299 6331 result = (int)allreq(arg1); 6300 6332 resultobj = SWIG_From_int((int)(result)); … … 6357 6389 PyObject *resultobj = 0; 6358 6390 int arg1 ; 6359 char *result = 0 ;6360 6391 int val1 ; 6361 6392 int ecode1 = 0 ; 6362 6393 PyObject * obj0 = 0 ; 6394 char *result = 0 ; 6363 6395 6364 6396 if (!PyArg_ParseTuple(args,(char *)"O:getreq",&obj0)) SWIG_fail; … … 6369 6401 arg1 = (int)(val1); 6370 6402 result = (char *)getreq(arg1); 6371 resultobj = SWIG_FromCharPtr( result);6372 return resultobj; 6373 fail: 6374 return NULL; 6375 } 6376 6377 6378 SWIGINTERN int log_event_mask_set(PyObject *_val) {6403 resultobj = SWIG_FromCharPtr((const char *)result); 6404 return resultobj; 6405 fail: 6406 return NULL; 6407 } 6408 6409 6410 SWIGINTERN int Swig_var_log_event_mask_set(PyObject *_val) { 6379 6411 { 6380 6412 void *argp = 0; … … 6391 6423 6392 6424 6393 SWIGINTERN PyObject * log_event_mask_get(void) {6425 SWIGINTERN PyObject *Swig_var_log_event_mask_get(void) { 6394 6426 PyObject *pyobj = 0; 6395 6427 … … 6447 6479 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "log_err" "', argument " "2"" of type '" "char *""'"); 6448 6480 } 6449 arg2 = buf2;6481 arg2 = (char *)(buf2); 6450 6482 res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); 6451 6483 if (!SWIG_IsOK(res3)) { 6452 6484 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "log_err" "', argument " "3"" of type '" "char *""'"); 6453 6485 } 6454 arg3 = buf3;6486 arg3 = (char *)(buf3); 6455 6487 log_err(arg1,arg2,arg3); 6456 6488 resultobj = SWIG_Py_Void(); … … 6501 6533 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "log_event" "', argument " "3"" of type '" "char *""'"); 6502 6534 } 6503 arg3 = buf3;6535 arg3 = (char *)(buf3); 6504 6536 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 6505 6537 if (!SWIG_IsOK(res4)) { 6506 6538 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "log_event" "', argument " "4"" of type '" "char *""'"); 6507 6539 } 6508 arg4 = buf4;6540 arg4 = (char *)(buf4); 6509 6541 log_event(arg1,arg2,arg3,arg4); 6510 6542 resultobj = SWIG_Py_Void(); … … 6523 6555 char *arg1 = (char *) 0 ; 6524 6556 char *arg2 = (char *) 0 ; 6525 int result;6526 6557 int res1 ; 6527 6558 char *buf1 = 0 ; … … 6532 6563 PyObject * obj0 = 0 ; 6533 6564 PyObject * obj1 = 0 ; 6565 int result; 6534 6566 6535 6567 if (!PyArg_ParseTuple(args,(char *)"OO:log_open",&obj0,&obj1)) SWIG_fail; … … 6538 6570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_open" "', argument " "1"" of type '" "char *""'"); 6539 6571 } 6540 arg1 = buf1;6572 arg1 = (char *)(buf1); 6541 6573 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); 6542 6574 if (!SWIG_IsOK(res2)) { 6543 6575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "log_open" "', argument " "2"" of type '" "char *""'"); 6544 6576 } 6545 arg2 = buf2;6577 arg2 = (char *)(buf2); 6546 6578 result = (int)log_open(arg1,arg2); 6547 6579 resultobj = SWIG_From_int((int)(result)); … … 6592 6624 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "log_record" "', argument " "3"" of type '" "char *""'"); 6593 6625 } 6594 arg3 = buf3;6626 arg3 = (char *)(buf3); 6595 6627 res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); 6596 6628 if (!SWIG_IsOK(res4)) { 6597 6629 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "log_record" "', argument " "4"" of type '" "char *""'"); 6598 6630 } 6599 arg4 = buf4;6631 arg4 = (char *)(buf4); 6600 6632 log_record(arg1,arg2,arg3,arg4); 6601 6633 resultobj = SWIG_Py_Void(); … … 6644 6676 6645 6677 6646 SWIGINTERN int log_buffer_set(PyObject *_val) {6678 SWIGINTERN int Swig_var_log_buffer_set(PyObject *_val) { 6647 6679 { 6648 6680 int res = SWIG_AsCharArray(_val, log_buffer, 4096); … … 6657 6689 6658 6690 6659 SWIGINTERN PyObject * log_buffer_get(void) {6691 SWIGINTERN PyObject *Swig_var_log_buffer_get(void) { 6660 6692 PyObject *pyobj = 0; 6661 6693 … … 6672 6704 PyObject *resultobj = 0; 6673 6705 char *arg1 = (char *) 0 ; 6674 int result;6675 6706 int res1 ; 6676 6707 char *buf1 = 0 ; 6677 6708 int alloc1 = 0 ; 6678 6709 PyObject * obj0 = 0 ; 6710 int result; 6679 6711 6680 6712 if (!PyArg_ParseTuple(args,(char *)"O:setup_env",&obj0)) SWIG_fail; … … 6683 6715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "setup_env" "', argument " "1"" of type '" "char *""'"); 6684 6716 } 6685 arg1 = buf1;6717 arg1 = (char *)(buf1); 6686 6718 result = (int)setup_env(arg1); 6687 6719 resultobj = SWIG_From_int((int)(result)); … … 6701 6733 int arg4 ; 6702 6734 int arg5 ; 6703 int result;6704 6735 int res1 ; 6705 6736 char *buf1 = 0 ; … … 6718 6749 PyObject * obj3 = 0 ; 6719 6750 PyObject * obj4 = 0 ; 6751 int result; 6720 6752 6721 6753 if (!PyArg_ParseTuple(args,(char *)"OOOOO:chk_file_sec",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; … … 6724 6756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "chk_file_sec" "', argument " "1"" of type '" "char *""'"); 6725 6757 } 6726 arg1 = buf1;6758 arg1 = (char *)(buf1); 6727 6759 ecode2 = SWIG_AsVal_int(obj1, &val2); 6728 6760 if (!SWIG_IsOK(ecode2)) { … … 6755 6787 6756 6788 6757 SWIGINTERN int msg_daemonname_set(PyObject *_val) {6789 SWIGINTERN int Swig_var_msg_daemonname_set(PyObject *_val) { 6758 6790 { 6759 6791 char *cptr = 0; size_t csize = 0; int alloc = SWIG_NEWOBJ; … … 6766 6798 msg_daemonname = cptr; 6767 6799 } else { 6768 msg_daemonname = csize ? (char *) memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0;6800 msg_daemonname = csize ? (char *)(char *)memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0; 6769 6801 } 6770 6802 } … … 6775 6807 6776 6808 6777 SWIGINTERN PyObject * msg_daemonname_get(void) {6809 SWIGINTERN PyObject *Swig_var_msg_daemonname_get(void) { 6778 6810 PyObject *pyobj = 0; 6779 6811 … … 6874 6906 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 6875 6907 6876 static swig_type_info _swigt__p_attrl = {"_p_attrl", "struct attrl * ", 0, 0, (void*)0, 0};6877 static swig_type_info _swigt__p_attropl = {"_p_attropl", "struct attropl * ", 0, 0, (void*)0, 0};6878 static swig_type_info _swigt__p_batch_status = {"_p_batch_status", "struct batch_status * ", 0, 0, (void*)0, 0};6908 static swig_type_info _swigt__p_attrl = {"_p_attrl", "struct attrl *|attrl *", 0, 0, (void*)0, 0}; 6909 static swig_type_info _swigt__p_attropl = {"_p_attropl", "struct attropl *|attropl *", 0, 0, (void*)0, 0}; 6910 static swig_type_info _swigt__p_batch_status = {"_p_batch_status", "struct batch_status *|batch_status *", 0, 0, (void*)0, 0}; 6879 6911 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; 6880 6912 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; … … 6933 6965 * 6934 6966 * The generated swig_type_info structures are assigned staticly to an initial 6935 * array. We just loop th ough that array, and handle each type individually.6967 * array. We just loop through that array, and handle each type individually. 6936 6968 * First we lookup if this type has been already loaded, and if so, use the 6937 6969 * loaded structure instead of the generated one. Then we have to fill in the … … 6971 7003 #endif 6972 7004 7005 6973 7006 SWIGRUNTIME void 6974 7007 SWIG_InitializeModule(void *clientdata) { 6975 7008 size_t i; 6976 swig_module_info *module_head ;6977 static int init_run = 0;7009 swig_module_info *module_head, *iter; 7010 int found, init; 6978 7011 6979 7012 clientdata = clientdata; 6980 7013 6981 if (init_run) return; 6982 init_run = 1; 6983 6984 /* Initialize the swig_module */ 6985 swig_module.type_initial = swig_type_initial; 6986 swig_module.cast_initial = swig_cast_initial; 7014 /* check to see if the circular list has been setup, if not, set it up */ 7015 if (swig_module.next==0) { 7016 /* Initialize the swig_module */ 7017 swig_module.type_initial = swig_type_initial; 7018 swig_module.cast_initial = swig_cast_initial; 7019 swig_module.next = &swig_module; 7020 init = 1; 7021 } else { 7022 init = 0; 7023 } 6987 7024 6988 7025 /* Try and load any already created modules */ 6989 7026 module_head = SWIG_GetModule(clientdata); 6990 if (module_head) { 7027 if (!module_head) { 7028 /* This is the first module loaded for this interpreter */ 7029 /* so set the swig module into the interpreter */ 7030 SWIG_SetModule(clientdata, &swig_module); 7031 module_head = &swig_module; 7032 } else { 7033 /* the interpreter has loaded a SWIG module, but has it loaded this one? */ 7034 found=0; 7035 iter=module_head; 7036 do { 7037 if (iter==&swig_module) { 7038 found=1; 7039 break; 7040 } 7041 iter=iter->next; 7042 } while (iter!= module_head); 7043 7044 /* if the is found in the list, then all is done and we may leave */ 7045 if (found) return; 7046 /* otherwise we must add out module into the list */ 6991 7047 swig_module.next = module_head->next; 6992 7048 module_head->next = &swig_module; 6993 } else { 6994 /* This is the first module loaded */ 6995 swig_module.next = &swig_module; 6996 SWIG_SetModule(clientdata, &swig_module); 6997 } 7049 } 7050 7051 /* When multiple interpeters are used, a module could have already been initialized in 7052 a different interpreter, but not yet have a pointer in this interpreter. 7053 In this case, we do not want to continue adding types... everything should be 7054 set up already */ 7055 if (init == 0) return; 6998 7056 6999 7057 /* Now work on filling in swig_module.types */ … … 7307 7365 7308 7366 SWIGINTERN PyObject * 7309 SWIG_globals( ) {7367 SWIG_globals(void) { 7310 7368 static PyObject *_SWIG_globals = 0; 7311 7369 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); … … 7352 7410 size_t i; 7353 7411 for (i = 0; methods[i].ml_name; ++i) { 7354 c har *c = methods[i].ml_doc;7412 const char *c = methods[i].ml_doc; 7355 7413 if (c && (c = strstr(c, "swig_ptr: "))) { 7356 7414 int j; 7357 7415 swig_const_info *ci = 0; 7358 c har *name = c + 10;7416 const char *name = c + 10; 7359 7417 for (j = 0; const_table[j].type; ++j) { 7360 7418 if (strncmp(const_table[j].name, name, … … 7630 7688 SWIG_Python_SetConstant(d, "RESOURCE_T_ALL",SWIG_From_int((int)(-1))); 7631 7689 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); 7632 SWIG_addvarlink(SWIG_globals(),(char*)"pbs_errno", pbs_errno_get,pbs_errno_set);7633 SWIG_addvarlink(SWIG_globals(),(char*)"pbs_server", pbs_server_get,pbs_server_set);7690 SWIG_addvarlink(SWIG_globals(),(char*)"pbs_errno",Swig_var_pbs_errno_get, Swig_var_pbs_errno_set); 7691 SWIG_addvarlink(SWIG_globals(),(char*)"pbs_server",Swig_var_pbs_server_get, Swig_var_pbs_server_set); 7634 7692 SWIG_Python_SetConstant(d, "LOG_BUF_SIZE",SWIG_From_int((int)(4096))); 7635 SWIG_addvarlink(SWIG_globals(),(char*)"log_event_mask", log_event_mask_get,log_event_mask_set);7636 SWIG_addvarlink(SWIG_globals(),(char*)"log_buffer", log_buffer_get,log_buffer_set);7693 SWIG_addvarlink(SWIG_globals(),(char*)"log_event_mask",Swig_var_log_event_mask_get, Swig_var_log_event_mask_set); 7694 SWIG_addvarlink(SWIG_globals(),(char*)"log_buffer",Swig_var_log_buffer_get, Swig_var_log_buffer_set); 7637 7695 SWIG_Python_SetConstant(d, "PBSEVENT_ERROR",SWIG_From_int((int)(0x0001))); 7638 7696 SWIG_Python_SetConstant(d, "PBSEVENT_SYSTEM",SWIG_From_int((int)(0x0002))); … … 7653 7711 SWIG_Python_SetConstant(d, "PBS_EVENTCLASS_NODE",SWIG_From_int((int)(7))); 7654 7712 SWIG_Python_SetConstant(d, "PBSEVENT_MASK",SWIG_From_int((int)(0x01ff))); 7655 SWIG_addvarlink(SWIG_globals(),(char*)"msg_daemonname", msg_daemonname_get,msg_daemonname_set);7656 } 7657 7713 SWIG_addvarlink(SWIG_globals(),(char*)"msg_daemonname",Swig_var_msg_daemonname_get, Swig_var_msg_daemonname_set); 7714 } 7715
Note: See TracChangeset
for help on using the changeset viewer.