pike.git / src / post_modules / GTK2 / source / support.c

version» Context lines:

pike.git/src/post_modules/GTK2/source/support.c:430:   }      void push_atom(GdkAtom a) {    /* this should really be inserted in the GDK.Atom mapping. */    push_pgdk2object((void *)a,pgdk2__atom_program,0);   }      void push_Xpseudo32bitstring(void *f, int nelems) {    if (sizeof(long)!=4) {    long *q=(long *)f; -  int *res=(int *)xalloc(nelems*4),i; +  int *res=xalloc(nelems*4),i;    for (i=0; i<nelems; i++)    res[i]=q[i];    push_string(make_shared_binary_string2((const p_wchar2 *)res,nelems));    xfree(res);    } else {    push_string(make_shared_binary_string2(f,nelems));    }   }      /*