[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Swig] SWIG 1.3.18, Python Bindings

From: David Beazley <beazley_at_cs.uchicago.edu>
Date: 2003-03-25 20:45:44 CET

Dale Hirt writes:
>
> And when run through SWIG, I get the following:
> util.c:
> {
> if (!PyInt_Check(obj1)) {
> PyErr_SetString(PyExc_TypeError,
> "expecting an integer for the buffer size");
> return NULL;
> }
> temp2 = PyInt_AsLong(obj1);
> if (temp2 < 0) {
> PyErr_SetString(PyExc_ValueError,
> "buffer size must be a positive integer");
> return NULL;
> }
> arg2 = malloc(temp2);
> 1.3.17 >> arg3 = (apr_size_t *)&temp2;
> 1.3.18 >> arg3 = (apr_size_t *)&temp;
> }
>
> If I can be of any further assistance, please let me know.
>

Hmmm. That's pretty interesting. I'll take a look at this---I know
some other bugs related to variable substitution were "fixed"
in 1.3.18 so maybe this is related.

Cheers,

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 25 20:46:30 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.