- Timestamp:
- 09/13/06 12:47:38 (18 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/pbs_python.h
r123 r124 328 328 329 329 extern int pbs_rescquery(int connect, char **IN, int nresc, int *OUTPUT, 330 int * INPUT, int *INPUT, int *INPUT);330 int *OUTPUT, int *OUTPUT, int *OUTPUT); 331 331 332 332 extern int pbs_rescreserve(int connect, char **IN, int nresc, resource_t *phandle); -
trunk/src/pbs_wrap.c
r123 r124 3226 3226 PyObject * obj1 = 0 ; 3227 3227 PyObject * obj2 = 0 ; 3228 PyObject * obj3 = 0 ;3229 PyObject * obj4 = 0 ;3230 PyObject * obj5 = 0 ;3231 3228 3232 3229 arg4 = &temp4; res4 = SWIG_NEWOBJ; 3233 if(!PyArg_ParseTuple(args,(char *)"OOOOOO:pbs_rescquery",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; 3230 arg5 = &temp5; res5 = SWIG_NEWOBJ; 3231 arg6 = &temp6; res6 = SWIG_NEWOBJ; 3232 arg7 = &temp7; res7 = SWIG_NEWOBJ; 3233 if(!PyArg_ParseTuple(args,(char *)"OOO:pbs_rescquery",&obj0,&obj1,&obj2)) goto fail; 3234 3234 { 3235 3235 arg1 = (int)(SWIG_As_int(obj0)); … … 3274 3274 if (SWIG_arg_fail(3)) SWIG_fail; 3275 3275 } 3276 {3277 if (!(SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_int,0) != -1)) {3278 temp5 = SWIG_As_int(obj3);3279 if (SWIG_arg_fail(5)) SWIG_fail;3280 arg5 = &temp5;3281 res5 = SWIG_NEWOBJ;3282 }3283 }3284 {3285 if (!(SWIG_ConvertPtr(obj4,(void **)(&arg6),SWIGTYPE_p_int,0) != -1)) {3286 temp6 = SWIG_As_int(obj4);3287 if (SWIG_arg_fail(6)) SWIG_fail;3288 arg6 = &temp6;3289 res6 = SWIG_NEWOBJ;3290 }3291 }3292 {3293 if (!(SWIG_ConvertPtr(obj5,(void **)(&arg7),SWIGTYPE_p_int,0) != -1)) {3294 temp7 = SWIG_As_int(obj5);3295 if (SWIG_arg_fail(7)) SWIG_fail;3296 arg7 = &temp7;3297 res7 = SWIG_NEWOBJ;3298 }3299 }3300 3276 result = (int)pbs_rescquery(arg1,arg2,arg3,arg4,arg5,arg6,arg7); 3301 3277 … … 3305 3281 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? 3306 3282 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); 3283 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? 3284 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); 3285 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ? 3286 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0))); 3287 resultobj = t_output_helper(resultobj, ((res7 == SWIG_NEWOBJ) ? 3288 SWIG_From_int((*arg7)) : SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_int, 0))); 3307 3289 { 3308 3290 free( (char *) arg2);
Note: See TracChangeset
for help on using the changeset viewer.