Changeset 276 for trunk/src


Ignore:
Timestamp:
02/14/12 10:16:00 (12 years ago)
Author:
bas
Message:

Added new generated swig files to fix tabs problem. see #24

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/pbs_2.1.py

    r268 r276  
    686686#
    687687default_linux_res = [   
    688         "availmem",     # available memory size in KB
    689         "ideal_load",   # static ideal_load value
    690         "loadave",      # the current load average
    691         "max_load",     # static max_load value
    692         "ncpus",        # number of cpus
    693         "physmem",      # physical memory size in KB
    694         "resi",         # resident memory size for a pid or session in KB
    695         "totmem",       # total memory size in KB
    696         "walltime",     # wall clock time for a pid
     688    "availmem",     # available memory size in KB
     689    "ideal_load",       # static ideal_load value
     690    "loadave",      # the current load average
     691    "max_load",     # static max_load value
     692    "ncpus",        # number of cpus
     693    "physmem",      # physical memory size in KB
     694    "resi",                 # resident memory size for a pid or session in KB
     695    "totmem",       # total memory size in KB
     696    "walltime",     # wall clock time for a pid
    697697]
    698698
     
    700700#
    701701default_irix6_res = [   
    702         "availmem",     # available memory size in KB
    703         "loadave",      # the current load average
    704         "ncpus",        # number of cpus
    705         "physmem",      # physical memory size in KB
    706         "resi",         # resident memory size for a pid or session in KB
    707         "walltime",     # wall clock time for a pid
    708         "quota",        # quota information (sizes in KB)
     702    "availmem", # available memory size in KB
     703    "loadave",      # the current load average
     704    "ncpus",        # number of cpus
     705    "physmem",      # physical memory size in KB
     706    "resi",             # resident memory size for a pid or session in KB
     707    "walltime", # wall clock time for a pid
     708    "quota",    # quota information (sizes in KB)
    709709]
    710710
    711711default_mom_res = [   
    712         "arch",         # the architecture of the machine
    713         "uname",        # the architecture of the machine
    714         "cput",         # cpu time for a pid or session
    715         "idletime",     # seconds of idle time
    716         "mem",          # memory size for a pid or session in KB
    717         "sessions",     # list of sessions in the system
    718         "pids",         # list of pids in a session
    719         "nsessions",    # number of sessions in the system
    720         "nusers",       # number of users in the system
    721         "size",         # size of a file or filesystem
    722         "host",         # Name  of host on which job should be run
    723         "nodes",        # Number and/or type of nodes to be reserved for exclusive use by the job
    724         "other",        # Allows a  user  to  specify  site  specific  information
    725         "software",     # Allows a user to specify software required by the job
     712    "arch",             # the architecture of the machine
     713    "uname",    # the architecture of the machine
     714    "cput",             # cpu time for a pid or session
     715    "idletime", # seconds of idle time
     716    "mem",              # memory size for a pid or session in KB
     717    "sessions", # list of sessions in the system
     718    "pids",         # list of pids in a session
     719    "nsessions",        # number of sessions in the system
     720    "nusers",   # number of users in the system
     721    "size",             # size of a file or filesystem
     722    "host",             # Name  of host on which job should be run
     723    "nodes",    # Number and/or type of nodes to be reserved for exclusive use by the job
     724    "other",    # Allows a  user  to  specify  site  specific  information
     725    "software", # Allows a user to specify software required by the job
    726726]
    727727
     
    741741  key = string.strip(l[0])
    742742  if len(l) > 2:
    743         val = string.strip( '='.join(l[1:]) )
     743    val = string.strip( '='.join(l[1:]) )
    744744  else:
    745         val = string.strip(l[1])
     745    val = string.strip(l[1])
    746746
    747747  key = string.strip(key)
  • trunk/src/pbs_2.4.py

    r268 r276  
    718718#
    719719default_linux_res = [   
    720         "availmem",     # available memory size in KB
    721         "ideal_load",   # static ideal_load value
    722         "loadave",      # the current load average
    723         "max_load",     # static max_load value
    724         "ncpus",        # number of cpus
    725         "physmem",      # physical memory size in KB
    726         "resi",         # resident memory size for a pid or session in KB
    727         "totmem",       # total memory size in KB
    728         "walltime",     # wall clock time for a pid
     720    "availmem",     # available memory size in KB
     721    "ideal_load",       # static ideal_load value
     722    "loadave",      # the current load average
     723    "max_load",     # static max_load value
     724    "ncpus",        # number of cpus
     725    "physmem",      # physical memory size in KB
     726    "resi",                 # resident memory size for a pid or session in KB
     727    "totmem",       # total memory size in KB
     728    "walltime",     # wall clock time for a pid
    729729]
    730730
     
    732732#
    733733default_irix6_res = [   
    734         "availmem",     # available memory size in KB
    735         "loadave",      # the current load average
    736         "ncpus",        # number of cpus
    737         "physmem",      # physical memory size in KB
    738         "resi",         # resident memory size for a pid or session in KB
    739         "walltime",     # wall clock time for a pid
    740         "quota",        # quota information (sizes in KB)
     734    "availmem", # available memory size in KB
     735    "loadave",      # the current load average
     736    "ncpus",        # number of cpus
     737    "physmem",      # physical memory size in KB
     738    "resi",             # resident memory size for a pid or session in KB
     739    "walltime", # wall clock time for a pid
     740    "quota",    # quota information (sizes in KB)
    741741]
    742742
    743743default_mom_res = [   
    744         "arch",         # the architecture of the machine
    745         "uname",        # the architecture of the machine
    746         "cput",         # cpu time for a pid or session
    747         "idletime",     # seconds of idle time
    748         "mem",          # memory size for a pid or session in KB
    749         "sessions",     # list of sessions in the system
    750         "pids",         # list of pids in a session
    751         "nsessions",    # number of sessions in the system
    752         "nusers",       # number of users in the system
    753         "size",         # size of a file or filesystem
    754         "host",         # Name  of host on which job should be run
    755         "nodes",        # Number and/or type of nodes to be reserved for exclusive use by the job
    756         "other",        # Allows a  user  to  specify  site  specific  information
    757         "software",     # Allows a user to specify software required by the job
     744    "arch",             # the architecture of the machine
     745    "uname",    # the architecture of the machine
     746    "cput",             # cpu time for a pid or session
     747    "idletime", # seconds of idle time
     748    "mem",              # memory size for a pid or session in KB
     749    "sessions", # list of sessions in the system
     750    "pids",         # list of pids in a session
     751    "nsessions",        # number of sessions in the system
     752    "nusers",   # number of users in the system
     753    "size",             # size of a file or filesystem
     754    "host",             # Name  of host on which job should be run
     755    "nodes",    # Number and/or type of nodes to be reserved for exclusive use by the job
     756    "other",    # Allows a  user  to  specify  site  specific  information
     757    "software", # Allows a user to specify software required by the job
    758758]
    759759
     
    773773  key = string.strip(l[0])
    774774  if len(l) > 2:
    775         val = string.strip( '='.join(l[1:]) )
     775    val = string.strip( '='.join(l[1:]) )
    776776  else:
    777         val = string.strip(l[1])
     777    val = string.strip(l[1])
    778778
    779779  key = string.strip(key)
  • trunk/src/pbs_wrap_2.1.c

    r268 r276  
    31083108  }
    31093109SWIGINTERN void delete_attrl(struct attrl *self){
    3110         if (SARA_DEBUG)
    3111                 printf("Bas free attrl\n");
    3112 
    3113         /*
     3110    if (SARA_DEBUG)
     3111       printf("Bas free attrl\n");
     3112
     3113    /*
    31143114        free(self);
    3115         */
     3115    */
    31163116  }
    31173117SWIGINTERN char *attropl___str__(struct attropl *self){
     
    31233123  }
    31243124SWIGINTERN void delete_attropl(struct attropl *self){
    3125         if (SARA_DEBUG)
    3126                 printf("Bas free attropl\n");
    3127 
    3128         /*
     3125    if (SARA_DEBUG)
     3126       printf("Bas free attropl\n");
     3127
     3128    /*
    31293129        free(self);
    3130         */
     3130    */
    31313131  }
    31323132
     
    32333233  result = (struct attrl *)new_attrl(arg1);
    32343234  {
    3235     PyObject    *obj_batch;
    3236     struct attrl        *ptr;
    3237     int         i=0, len=0;
     3235    PyObject      *obj_batch;
     3236    struct attrl  *ptr;
     3237    int           i=0, len=0;
    32383238   
    32393239    if (SARA_DEBUG) printf("Converteren c (struct attrl *) -> python:\n");
     
    32523252    for (i=0; i < len; i++) {
    32533253      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attrl,1);
    3254       PyList_SetItem(resultobj, i, obj_batch);         
     3254      PyList_SetItem(resultobj, i, obj_batch);
    32553255      if (SARA_DEBUG) printf("\t\t- %s\n", ptr->name);
    32563256      ptr = ptr->next;
     
    32803280  result = (struct attropl *)new_attropl(arg1);
    32813281  {
    3282     PyObject            *obj_batch;
    3283     struct attropl      *ptr;
    3284     int                 i=0, len=0;
     3282    PyObject          *obj_batch;
     3283    struct attropl    *ptr;
     3284    int               i=0, len=0;
    32853285   
    32863286    if (SARA_DEBUG) printf("Converteren c (struct attropl *) -> python:\n");
     
    32983298    for (i=0; i < len; i++) {
    32993299      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attropl,1);
    3300       PyList_SetItem(resultobj, i, obj_batch);          
     3300      PyList_SetItem(resultobj, i, obj_batch);
    33013301      ptr = ptr->next;
    33023302    }
     
    33163316  result = (struct batch_status *)new_batch_status();
    33173317  {
    3318     PyObject *obj_batch;
    3319     struct batch_status *ptr;
    3320     int i=0, len=0;
     3318    PyObject              *obj_batch;
     3319    struct batch_status   *ptr;
     3320    int                   i=0, len=0;
    33213321   
    33223322    // printf("Ja we are in bussniss\n");
     
    33403340    for (i=0; i < len; i++) {
    33413341      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    3342       PyList_SetItem(resultobj, i, obj_batch);         
     3342      PyList_SetItem(resultobj, i, obj_batch);
    33433343      if (SARA_DEBUG)  {
    33443344        printf("\t\t- %s\n", ptr->name);
     
    34143414  result = (struct attrl *) ((arg1)->next);
    34153415  {
    3416     PyObject    *obj_batch;
    3417     struct attrl        *ptr;
    3418     int         i=0, len=0;
     3416    PyObject      *obj_batch;
     3417    struct attrl  *ptr;
     3418    int           i=0, len=0;
    34193419   
    34203420    if (SARA_DEBUG) printf("Converteren c (struct attrl *) -> python:\n");
     
    34333433    for (i=0; i < len; i++) {
    34343434      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attrl,1);
    3435       PyList_SetItem(resultobj, i, obj_batch);         
     3435      PyList_SetItem(resultobj, i, obj_batch);
    34363436      if (SARA_DEBUG) printf("\t\t- %s\n", ptr->name);
    34373437      ptr = ptr->next;
     
    37763776  result = (struct attropl *) ((arg1)->next);
    37773777  {
    3778     PyObject            *obj_batch;
    3779     struct attropl      *ptr;
    3780     int                 i=0, len=0;
     3778    PyObject          *obj_batch;
     3779    struct attropl    *ptr;
     3780    int               i=0, len=0;
    37813781   
    37823782    if (SARA_DEBUG) printf("Converteren c (struct attropl *) -> python:\n");
     
    37943794    for (i=0; i < len; i++) {
    37953795      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attropl,1);
    3796       PyList_SetItem(resultobj, i, obj_batch);          
     3796      PyList_SetItem(resultobj, i, obj_batch);
    37973797      ptr = ptr->next;
    37983798    }
     
    41364136  result = (struct batch_status *) ((arg1)->next);
    41374137  {
    4138     PyObject *obj_batch;
    4139     struct batch_status *ptr;
    4140     int i=0, len=0;
     4138    PyObject              *obj_batch;
     4139    struct batch_status   *ptr;
     4140    int                   i=0, len=0;
    41414141   
    41424142    // printf("Ja we are in bussniss\n");
     
    41604160    for (i=0; i < len; i++) {
    41614161      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    4162       PyList_SetItem(resultobj, i, obj_batch);         
     4162      PyList_SetItem(resultobj, i, obj_batch);
    41634163      if (SARA_DEBUG)  {
    41644164        printf("\t\t- %s\n", ptr->name);
     
    42824282  result = (struct attrl *) ((arg1)->attribs);
    42834283  {
    4284     PyObject    *obj_batch;
    4285     struct attrl        *ptr;
    4286     int         i=0, len=0;
     4284    PyObject      *obj_batch;
     4285    struct attrl  *ptr;
     4286    int           i=0, len=0;
    42874287   
    42884288    if (SARA_DEBUG) printf("Converteren c (struct attrl *) -> python:\n");
     
    43014301    for (i=0; i < len; i++) {
    43024302      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attrl,1);
    4303       PyList_SetItem(resultobj, i, obj_batch);         
     4303      PyList_SetItem(resultobj, i, obj_batch);
    43044304      if (SARA_DEBUG) printf("\t\t- %s\n", ptr->name);
    43054305      ptr = ptr->next;
     
    45564556  arg2 = (char *)(buf2);
    45574557  {
    4558     PyObject    *py_obj;
    4559     struct attrl        *ptr, *prev;
    4560     char                s[255];
    4561     int         i=0, size=0;
     4558    PyObject      *py_obj;
     4559    struct attrl  *ptr, *prev;
     4560    char          s[255];
     4561    int           i=0, size=0;
    45624562   
    45634563    // printf("Python --> C\n");
     
    49174917  arg4 = (char *)(buf4);
    49184918  {
    4919     PyObject            *py_obj;
    4920     struct attropl      *ptr, *prev;
    4921     char                        s[255];
    4922     int                 i=0, size=0;
     4919    PyObject          *py_obj;
     4920    struct attropl    *ptr, *prev;
     4921    char              s[255];
     4922    int               i=0, size=0;
    49234923   
    49244924    // printf("Python --> C\n");
     
    52035203  arg1 = (int)(val1);
    52045204  {
    5205     int         i=0, size=0;
    5206     PyObject    *py_obj;
     5205    int       i=0, size=0;
     5206    PyObject  *py_obj;
    52075207   
    52085208    if (SARA_DEBUG) printf("Convert python -> c (char **):\n");
     
    53005300  arg1 = (int)(val1);
    53015301  {
    5302     int         i=0, size=0;
    5303     PyObject    *py_obj;
     5302    int       i=0, size=0;
     5303    PyObject  *py_obj;
    53045304   
    53055305    if (SARA_DEBUG) printf("Convert python -> c (char **):\n");
     
    55725572  arg1 = (int)(val1);
    55735573  {
    5574     PyObject            *py_obj;
    5575     struct attropl      *ptr, *prev;
    5576     char                        s[255];
    5577     int                 i=0, size=0;
     5574    PyObject          *py_obj;
     5575    struct attropl    *ptr, *prev;
     5576    char              s[255];
     5577    int               i=0, size=0;
    55785578   
    55795579    // printf("Python --> C\n");
     
    57285728  if (!PyArg_ParseTuple(args,(char *)"O:pbs_statfree",&obj0)) SWIG_fail;
    57295729  {
    5730     PyObject            *py_obj;
    5731     struct batch_status *ptr, *prev;
    5732     char                        s[255];
    5733     int                 i=0, size=0;
     5730    PyObject              *py_obj;
     5731    struct batch_status   *ptr, *prev;
     5732    char                  s[255];
     5733    int                   i=0, size=0;
    57345734   
    57355735    // printf("Python --> C\n");
     
    58195819  arg2 = (char *)(buf2);
    58205820  {
    5821     PyObject    *py_obj;
    5822     struct attrl        *ptr, *prev;
    5823     char                s[255];
    5824     int         i=0, size=0;
     5821    PyObject      *py_obj;
     5822    struct attrl  *ptr, *prev;
     5823    char          s[255];
     5824    int           i=0, size=0;
    58255825   
    58265826    // printf("Python --> C\n");
     
    58755875  result = (struct batch_status *)pbs_statjob(arg1,arg2,arg3,arg4);
    58765876  {
    5877     PyObject *obj_batch;
    5878     struct batch_status *ptr;
    5879     int i=0, len=0;
     5877    PyObject              *obj_batch;
     5878    struct batch_status   *ptr;
     5879    int                   i=0, len=0;
    58805880   
    58815881    // printf("Ja we are in bussniss\n");
     
    58995899    for (i=0; i < len; i++) {
    59005900      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    5901       PyList_SetItem(resultobj, i, obj_batch);         
     5901      PyList_SetItem(resultobj, i, obj_batch);
    59025902      if (SARA_DEBUG)  {
    59035903        printf("\t\t- %s\n", ptr->name);
     
    59405940  arg1 = (int)(val1);
    59415941  {
    5942     PyObject            *py_obj;
    5943     struct attropl      *ptr, *prev;
    5944     char                        s[255];
    5945     int                 i=0, size=0;
     5942    PyObject          *py_obj;
     5943    struct attropl    *ptr, *prev;
     5944    char              s[255];
     5945    int               i=0, size=0;
    59465946   
    59475947    // printf("Python --> C\n");
     
    59965996  result = (struct batch_status *)pbs_selstat(arg1,arg2,arg3);
    59975997  {
    5998     PyObject *obj_batch;
    5999     struct batch_status *ptr;
    6000     int i=0, len=0;
     5998    PyObject              *obj_batch;
     5999    struct batch_status   *ptr;
     6000    int                   i=0, len=0;
    60016001   
    60026002    // printf("Ja we are in bussniss\n");
     
    60206020    for (i=0; i < len; i++) {
    60216021      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6022       PyList_SetItem(resultobj, i, obj_batch);         
     6022      PyList_SetItem(resultobj, i, obj_batch);
    60236023      if (SARA_DEBUG)  {
    60246024        printf("\t\t- %s\n", ptr->name);
     
    60696069  arg2 = (char *)(buf2);
    60706070  {
    6071     PyObject    *py_obj;
    6072     struct attrl        *ptr, *prev;
    6073     char                s[255];
    6074     int         i=0, size=0;
     6071    PyObject      *py_obj;
     6072    struct attrl  *ptr, *prev;
     6073    char          s[255];
     6074    int           i=0, size=0;
    60756075   
    60766076    // printf("Python --> C\n");
     
    61256125  result = (struct batch_status *)pbs_statque(arg1,arg2,arg3,arg4);
    61266126  {
    6127     PyObject *obj_batch;
    6128     struct batch_status *ptr;
    6129     int i=0, len=0;
     6127    PyObject              *obj_batch;
     6128    struct batch_status   *ptr;
     6129    int                   i=0, len=0;
    61306130   
    61316131    // printf("Ja we are in bussniss\n");
     
    61496149    for (i=0; i < len; i++) {
    61506150      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6151       PyList_SetItem(resultobj, i, obj_batch);         
     6151      PyList_SetItem(resultobj, i, obj_batch);
    61526152      if (SARA_DEBUG)  {
    61536153        printf("\t\t- %s\n", ptr->name);
     
    61906190  arg1 = (int)(val1);
    61916191  {
    6192     PyObject    *py_obj;
    6193     struct attrl        *ptr, *prev;
    6194     char                s[255];
    6195     int         i=0, size=0;
     6192    PyObject      *py_obj;
     6193    struct attrl  *ptr, *prev;
     6194    char          s[255];
     6195    int           i=0, size=0;
    61966196   
    61976197    // printf("Python --> C\n");
     
    62466246  result = (struct batch_status *)pbs_statserver(arg1,arg2,arg3);
    62476247  {
    6248     PyObject *obj_batch;
    6249     struct batch_status *ptr;
    6250     int i=0, len=0;
     6248    PyObject              *obj_batch;
     6249    struct batch_status   *ptr;
     6250    int                   i=0, len=0;
    62516251   
    62526252    // printf("Ja we are in bussniss\n");
     
    62706270    for (i=0; i < len; i++) {
    62716271      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6272       PyList_SetItem(resultobj, i, obj_batch);         
     6272      PyList_SetItem(resultobj, i, obj_batch);
    62736273      if (SARA_DEBUG)  {
    62746274        printf("\t\t- %s\n", ptr->name);
     
    63196319  arg2 = (char *)(buf2);
    63206320  {
    6321     PyObject    *py_obj;
    6322     struct attrl        *ptr, *prev;
    6323     char                s[255];
    6324     int         i=0, size=0;
     6321    PyObject      *py_obj;
     6322    struct attrl  *ptr, *prev;
     6323    char          s[255];
     6324    int           i=0, size=0;
    63256325   
    63266326    // printf("Python --> C\n");
     
    63756375  result = (struct batch_status *)pbs_statnode(arg1,arg2,arg3,arg4);
    63766376  {
    6377     PyObject *obj_batch;
    6378     struct batch_status *ptr;
    6379     int i=0, len=0;
     6377    PyObject              *obj_batch;
     6378    struct batch_status   *ptr;
     6379    int                   i=0, len=0;
    63806380   
    63816381    // printf("Ja we are in bussniss\n");
     
    63996399    for (i=0; i < len; i++) {
    64006400      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6401       PyList_SetItem(resultobj, i, obj_batch);         
     6401      PyList_SetItem(resultobj, i, obj_batch);
    64026402      if (SARA_DEBUG)  {
    64036403        printf("\t\t- %s\n", ptr->name);
     
    64506450  arg1 = (int)(val1);
    64516451  {
    6452     PyObject            *py_obj;
    6453     struct attropl      *ptr, *prev;
    6454     char                        s[255];
    6455     int                 i=0, size=0;
     6452    PyObject          *py_obj;
     6453    struct attropl    *ptr, *prev;
     6454    char              s[255];
     6455    int               i=0, size=0;
    64566456   
    64576457    // printf("Python --> C\n");
  • trunk/src/pbs_wrap_2.4.c

    r268 r276  
    31083108  }
    31093109SWIGINTERN void delete_attrl(struct attrl *self){
    3110         if (SARA_DEBUG)
    3111                 printf("Bas free attrl\n");
    3112 
    3113         /*
     3110    if (SARA_DEBUG)
     3111       printf("Bas free attrl\n");
     3112
     3113    /*
    31143114        free(self);
    3115         */
     3115    */
    31163116  }
    31173117SWIGINTERN char *attropl___str__(struct attropl *self){
     
    31233123  }
    31243124SWIGINTERN void delete_attropl(struct attropl *self){
    3125         if (SARA_DEBUG)
    3126                 printf("Bas free attropl\n");
    3127 
    3128         /*
     3125    if (SARA_DEBUG)
     3126       printf("Bas free attropl\n");
     3127
     3128    /*
    31293129        free(self);
    3130         */
     3130    */
    31313131  }
    31323132
     
    32333233  result = (struct attrl *)new_attrl(arg1);
    32343234  {
    3235     PyObject    *obj_batch;
    3236     struct attrl        *ptr;
    3237     int         i=0, len=0;
     3235    PyObject      *obj_batch;
     3236    struct attrl  *ptr;
     3237    int           i=0, len=0;
    32383238   
    32393239    if (SARA_DEBUG) printf("Converteren c (struct attrl *) -> python:\n");
     
    32523252    for (i=0; i < len; i++) {
    32533253      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attrl,1);
    3254       PyList_SetItem(resultobj, i, obj_batch);         
     3254      PyList_SetItem(resultobj, i, obj_batch);
    32553255      if (SARA_DEBUG) printf("\t\t- %s\n", ptr->name);
    32563256      ptr = ptr->next;
     
    32803280  result = (struct attropl *)new_attropl(arg1);
    32813281  {
    3282     PyObject            *obj_batch;
    3283     struct attropl      *ptr;
    3284     int                 i=0, len=0;
     3282    PyObject          *obj_batch;
     3283    struct attropl    *ptr;
     3284    int               i=0, len=0;
    32853285   
    32863286    if (SARA_DEBUG) printf("Converteren c (struct attropl *) -> python:\n");
     
    32983298    for (i=0; i < len; i++) {
    32993299      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attropl,1);
    3300       PyList_SetItem(resultobj, i, obj_batch);          
     3300      PyList_SetItem(resultobj, i, obj_batch);
    33013301      ptr = ptr->next;
    33023302    }
     
    33163316  result = (struct batch_status *)new_batch_status();
    33173317  {
    3318     PyObject *obj_batch;
    3319     struct batch_status *ptr;
    3320     int i=0, len=0;
     3318    PyObject              *obj_batch;
     3319    struct batch_status   *ptr;
     3320    int                   i=0, len=0;
    33213321   
    33223322    // printf("Ja we are in bussniss\n");
     
    33403340    for (i=0; i < len; i++) {
    33413341      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    3342       PyList_SetItem(resultobj, i, obj_batch);         
     3342      PyList_SetItem(resultobj, i, obj_batch);
    33433343      if (SARA_DEBUG)  {
    33443344        printf("\t\t- %s\n", ptr->name);
     
    34143414  result = (struct attrl *) ((arg1)->next);
    34153415  {
    3416     PyObject    *obj_batch;
    3417     struct attrl        *ptr;
    3418     int         i=0, len=0;
     3416    PyObject      *obj_batch;
     3417    struct attrl  *ptr;
     3418    int           i=0, len=0;
    34193419   
    34203420    if (SARA_DEBUG) printf("Converteren c (struct attrl *) -> python:\n");
     
    34333433    for (i=0; i < len; i++) {
    34343434      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attrl,1);
    3435       PyList_SetItem(resultobj, i, obj_batch);         
     3435      PyList_SetItem(resultobj, i, obj_batch);
    34363436      if (SARA_DEBUG) printf("\t\t- %s\n", ptr->name);
    34373437      ptr = ptr->next;
     
    37763776  result = (struct attropl *) ((arg1)->next);
    37773777  {
    3778     PyObject            *obj_batch;
    3779     struct attropl      *ptr;
    3780     int                 i=0, len=0;
     3778    PyObject          *obj_batch;
     3779    struct attropl    *ptr;
     3780    int               i=0, len=0;
    37813781   
    37823782    if (SARA_DEBUG) printf("Converteren c (struct attropl *) -> python:\n");
     
    37943794    for (i=0; i < len; i++) {
    37953795      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attropl,1);
    3796       PyList_SetItem(resultobj, i, obj_batch);          
     3796      PyList_SetItem(resultobj, i, obj_batch);
    37973797      ptr = ptr->next;
    37983798    }
     
    41364136  result = (struct batch_status *) ((arg1)->next);
    41374137  {
    4138     PyObject *obj_batch;
    4139     struct batch_status *ptr;
    4140     int i=0, len=0;
     4138    PyObject              *obj_batch;
     4139    struct batch_status   *ptr;
     4140    int                   i=0, len=0;
    41414141   
    41424142    // printf("Ja we are in bussniss\n");
     
    41604160    for (i=0; i < len; i++) {
    41614161      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    4162       PyList_SetItem(resultobj, i, obj_batch);         
     4162      PyList_SetItem(resultobj, i, obj_batch);
    41634163      if (SARA_DEBUG)  {
    41644164        printf("\t\t- %s\n", ptr->name);
     
    42824282  result = (struct attrl *) ((arg1)->attribs);
    42834283  {
    4284     PyObject    *obj_batch;
    4285     struct attrl        *ptr;
    4286     int         i=0, len=0;
     4284    PyObject      *obj_batch;
     4285    struct attrl  *ptr;
     4286    int           i=0, len=0;
    42874287   
    42884288    if (SARA_DEBUG) printf("Converteren c (struct attrl *) -> python:\n");
     
    43014301    for (i=0; i < len; i++) {
    43024302      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_attrl,1);
    4303       PyList_SetItem(resultobj, i, obj_batch);         
     4303      PyList_SetItem(resultobj, i, obj_batch);
    43044304      if (SARA_DEBUG) printf("\t\t- %s\n", ptr->name);
    43054305      ptr = ptr->next;
     
    45564556  arg2 = (char *)(buf2);
    45574557  {
    4558     PyObject    *py_obj;
    4559     struct attrl        *ptr, *prev;
    4560     char                s[255];
    4561     int         i=0, size=0;
     4558    PyObject      *py_obj;
     4559    struct attrl  *ptr, *prev;
     4560    char          s[255];
     4561    int           i=0, size=0;
    45624562   
    45634563    // printf("Python --> C\n");
     
    49174917  arg4 = (char *)(buf4);
    49184918  {
    4919     PyObject            *py_obj;
    4920     struct attropl      *ptr, *prev;
    4921     char                        s[255];
    4922     int                 i=0, size=0;
     4919    PyObject          *py_obj;
     4920    struct attropl    *ptr, *prev;
     4921    char              s[255];
     4922    int               i=0, size=0;
    49234923   
    49244924    // printf("Python --> C\n");
     
    52035203  arg1 = (int)(val1);
    52045204  {
    5205     int         i=0, size=0;
    5206     PyObject    *py_obj;
     5205    int       i=0, size=0;
     5206    PyObject  *py_obj;
    52075207   
    52085208    if (SARA_DEBUG) printf("Convert python -> c (char **):\n");
     
    53005300  arg1 = (int)(val1);
    53015301  {
    5302     int         i=0, size=0;
    5303     PyObject    *py_obj;
     5302    int       i=0, size=0;
     5303    PyObject  *py_obj;
    53045304   
    53055305    if (SARA_DEBUG) printf("Convert python -> c (char **):\n");
     
    55725572  arg1 = (int)(val1);
    55735573  {
    5574     PyObject            *py_obj;
    5575     struct attropl      *ptr, *prev;
    5576     char                        s[255];
    5577     int                 i=0, size=0;
     5574    PyObject          *py_obj;
     5575    struct attropl    *ptr, *prev;
     5576    char              s[255];
     5577    int               i=0, size=0;
    55785578   
    55795579    // printf("Python --> C\n");
     
    57285728  if (!PyArg_ParseTuple(args,(char *)"O:pbs_statfree",&obj0)) SWIG_fail;
    57295729  {
    5730     PyObject            *py_obj;
    5731     struct batch_status *ptr, *prev;
    5732     char                        s[255];
    5733     int                 i=0, size=0;
     5730    PyObject              *py_obj;
     5731    struct batch_status   *ptr, *prev;
     5732    char                  s[255];
     5733    int                   i=0, size=0;
    57345734   
    57355735    // printf("Python --> C\n");
     
    58195819  arg2 = (char *)(buf2);
    58205820  {
    5821     PyObject    *py_obj;
    5822     struct attrl        *ptr, *prev;
    5823     char                s[255];
    5824     int         i=0, size=0;
     5821    PyObject      *py_obj;
     5822    struct attrl  *ptr, *prev;
     5823    char          s[255];
     5824    int           i=0, size=0;
    58255825   
    58265826    // printf("Python --> C\n");
     
    58755875  result = (struct batch_status *)pbs_statjob(arg1,arg2,arg3,arg4);
    58765876  {
    5877     PyObject *obj_batch;
    5878     struct batch_status *ptr;
    5879     int i=0, len=0;
     5877    PyObject              *obj_batch;
     5878    struct batch_status   *ptr;
     5879    int                   i=0, len=0;
    58805880   
    58815881    // printf("Ja we are in bussniss\n");
     
    58995899    for (i=0; i < len; i++) {
    59005900      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    5901       PyList_SetItem(resultobj, i, obj_batch);         
     5901      PyList_SetItem(resultobj, i, obj_batch);
    59025902      if (SARA_DEBUG)  {
    59035903        printf("\t\t- %s\n", ptr->name);
     
    59405940  arg1 = (int)(val1);
    59415941  {
    5942     PyObject            *py_obj;
    5943     struct attropl      *ptr, *prev;
    5944     char                        s[255];
    5945     int                 i=0, size=0;
     5942    PyObject          *py_obj;
     5943    struct attropl    *ptr, *prev;
     5944    char              s[255];
     5945    int               i=0, size=0;
    59465946   
    59475947    // printf("Python --> C\n");
     
    59965996  result = (struct batch_status *)pbs_selstat(arg1,arg2,arg3);
    59975997  {
    5998     PyObject *obj_batch;
    5999     struct batch_status *ptr;
    6000     int i=0, len=0;
     5998    PyObject              *obj_batch;
     5999    struct batch_status   *ptr;
     6000    int                   i=0, len=0;
    60016001   
    60026002    // printf("Ja we are in bussniss\n");
     
    60206020    for (i=0; i < len; i++) {
    60216021      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6022       PyList_SetItem(resultobj, i, obj_batch);         
     6022      PyList_SetItem(resultobj, i, obj_batch);
    60236023      if (SARA_DEBUG)  {
    60246024        printf("\t\t- %s\n", ptr->name);
     
    60696069  arg2 = (char *)(buf2);
    60706070  {
    6071     PyObject    *py_obj;
    6072     struct attrl        *ptr, *prev;
    6073     char                s[255];
    6074     int         i=0, size=0;
     6071    PyObject      *py_obj;
     6072    struct attrl  *ptr, *prev;
     6073    char          s[255];
     6074    int           i=0, size=0;
    60756075   
    60766076    // printf("Python --> C\n");
     
    61256125  result = (struct batch_status *)pbs_statque(arg1,arg2,arg3,arg4);
    61266126  {
    6127     PyObject *obj_batch;
    6128     struct batch_status *ptr;
    6129     int i=0, len=0;
     6127    PyObject              *obj_batch;
     6128    struct batch_status   *ptr;
     6129    int                   i=0, len=0;
    61306130   
    61316131    // printf("Ja we are in bussniss\n");
     
    61496149    for (i=0; i < len; i++) {
    61506150      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6151       PyList_SetItem(resultobj, i, obj_batch);         
     6151      PyList_SetItem(resultobj, i, obj_batch);
    61526152      if (SARA_DEBUG)  {
    61536153        printf("\t\t- %s\n", ptr->name);
     
    61906190  arg1 = (int)(val1);
    61916191  {
    6192     PyObject    *py_obj;
    6193     struct attrl        *ptr, *prev;
    6194     char                s[255];
    6195     int         i=0, size=0;
     6192    PyObject      *py_obj;
     6193    struct attrl  *ptr, *prev;
     6194    char          s[255];
     6195    int           i=0, size=0;
    61966196   
    61976197    // printf("Python --> C\n");
     
    62466246  result = (struct batch_status *)pbs_statserver(arg1,arg2,arg3);
    62476247  {
    6248     PyObject *obj_batch;
    6249     struct batch_status *ptr;
    6250     int i=0, len=0;
     6248    PyObject              *obj_batch;
     6249    struct batch_status   *ptr;
     6250    int                   i=0, len=0;
    62516251   
    62526252    // printf("Ja we are in bussniss\n");
     
    62706270    for (i=0; i < len; i++) {
    62716271      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6272       PyList_SetItem(resultobj, i, obj_batch);         
     6272      PyList_SetItem(resultobj, i, obj_batch);
    62736273      if (SARA_DEBUG)  {
    62746274        printf("\t\t- %s\n", ptr->name);
     
    63196319  arg2 = (char *)(buf2);
    63206320  {
    6321     PyObject    *py_obj;
    6322     struct attrl        *ptr, *prev;
    6323     char                s[255];
    6324     int         i=0, size=0;
     6321    PyObject      *py_obj;
     6322    struct attrl  *ptr, *prev;
     6323    char          s[255];
     6324    int           i=0, size=0;
    63256325   
    63266326    // printf("Python --> C\n");
     
    63756375  result = (struct batch_status *)pbs_statnode(arg1,arg2,arg3,arg4);
    63766376  {
    6377     PyObject *obj_batch;
    6378     struct batch_status *ptr;
    6379     int i=0, len=0;
     6377    PyObject              *obj_batch;
     6378    struct batch_status   *ptr;
     6379    int                   i=0, len=0;
    63806380   
    63816381    // printf("Ja we are in bussniss\n");
     
    63996399    for (i=0; i < len; i++) {
    64006400      obj_batch = SWIG_NewPointerObj((void *)ptr, SWIGTYPE_p_batch_status,0);
    6401       PyList_SetItem(resultobj, i, obj_batch);         
     6401      PyList_SetItem(resultobj, i, obj_batch);
    64026402      if (SARA_DEBUG)  {
    64036403        printf("\t\t- %s\n", ptr->name);
     
    64506450  arg1 = (int)(val1);
    64516451  {
    6452     PyObject            *py_obj;
    6453     struct attropl      *ptr, *prev;
    6454     char                        s[255];
    6455     int                 i=0, size=0;
     6452    PyObject          *py_obj;
     6453    struct attropl    *ptr, *prev;
     6454    char              s[255];
     6455    int               i=0, size=0;
    64566456   
    64576457    // printf("Python --> C\n");
     
    67496749  arg2 = (char *)(buf2);
    67506750  {
    6751     PyObject    *py_obj;
    6752     struct attrl        *ptr, *prev;
    6753     char                s[255];
    6754     int         i=0, size=0;
     6751    PyObject      *py_obj;
     6752    struct attrl  *ptr, *prev;
     6753    char          s[255];
     6754    int           i=0, size=0;
    67556755   
    67566756    // printf("Python --> C\n");
Note: See TracChangeset for help on using the changeset viewer.