Changeset 326 for devel/5.X


Ignore:
Timestamp:
02/23/15 17:19:20 (8 years ago)
Author:
bas
Message:

use standard header files so we just can copy them and renmove obsole print statement:

  • pbs_node_info works
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/5.X/pbs.i

    r324 r326  
    3838 * Convert Python batch status list to a valid C-linked list
    3939*/
    40 %typemap(in) struct batch_status *BATCH_STATUS {
     40%typemap(in) struct batch_status *stat {
    4141  PyObject              *py_obj;
    4242  struct batch_status   *ptr, *prev;
     
    151151 * Convert Python attropl list to a valid C-linked list
    152152*/
    153 %typemap(in) struct attropl *ATTROPL {
     153%typemap(in) struct attropl *attrib {
    154154  PyObject          *py_obj;
    155155  struct attropl    *ptr, *prev;
     
    424424  for (i=0; i < number; i++)
    425425  {
    426     printf("constructor called\n");
     426    // printf("constructor called\n");
    427427    current->name     = (char *) malloc(MAXNAMLEN * sizeof(char));
    428428    current->resource = (char *) malloc(MAXNAMLEN * sizeof(char));
     
    461461  for (i=0; i < number; i++)
    462462  {
    463     printf("constructor called\n");
     463    // printf("constructor called\n");
    464464    current->name     = (char *) malloc(MAXNAMLEN * sizeof(char));
    465465    current->resource = (char *) malloc(MAXNAMLEN * sizeof(char));
Note: See TracChangeset for help on using the changeset viewer.