siz-ext); #ifdef DEBUGCFUNCS fprintf(stderr, "debug-capi:create_cb_arglist:maxnofargs(-nofoptargs)," "tot,opt,ext,siz,nofargs = %d(-%d), %zd, %zd, %zd, %zd, %d\n", maxnofargs, nofoptargs, tot, opt, ext, siz, *nofargs); #endif if (siz < tot-opt) { fprintf(stderr, "create_cb_arglist: Failed to build argument list " "(siz) with enough arguments (tot-opt) required by " "user-supplied function (siz,tot,opt=%zd, %zd, %zd).\n", siz, tot, opt); goto capi_fail; } /* Initialize argument list */ *args = (PyTupleObject *)PyTuple_New(siz); for (i=0;i<*nofargs;i++) { Py_INCREF(Py_None); PyTuple_SET_ITEM((PyObject *)(*args),i,Py_None); } if (xa != NULL) for (i=(*nofargs);i