~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_static_tuple_c.h

  • Committer: John Arbash Meinel
  • Date: 2009-10-01 21:00:16 UTC
  • mto: (4679.6.1 2.1-export-c-api)
  • mto: This revision was merged to the branch mainline in revision 4735.
  • Revision ID: john@arbash-meinel.com-20091001210016-qpui2k190ngeslyh
Clean up the fprintf() debugging code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
        goto bad;
123
123
    }
124
124
    *f = PyCObject_AsVoidPtr(c_obj);
125
 
    fprintf(stderr, "Imported function %s @%x\n", funcname, *f);
126
125
    Py_DECREF(d);
127
126
    return 0;
128
127
bad:
129
 
    fprintf(stderr, "Returning -1\n");
130
128
    Py_XDECREF(d);
131
129
    return -1;
132
130
}