Re: svn commit: r8713 - trunk/subversion/bindings/swig
"C. Michael Pilato" <[email protected]> 20 Feb 2004 01:50:40 -0600
| Newsgroups | gmane.mail.eyebrowse.devel,gmane.comp.version-control.subversion.svn |
|---|---|
| Message-ID | <m38yiy9okv.fsf__20816.8297693648$1077263497@localhost.localdomain> |
[email protected] writes: > +#ifdef SVN_FILESIZE_T_FMT == "lld" > + > +%typemap(python,argout,fragment="t_output_helper") svn_filesize_t * > + "$result = t_output_helper($result, > + PyInt_FromLongLong((long long) (*$1)));"; > + I now get: /bin/sh /home/cmpilato/projects/subversion/libtool --silent --mode=compile gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I/home/cmpilato/projects/subversion/subversion/bindings/swig -I/home/cmpilato/projects/subversion/subversion/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/include/python2.2 -prefer-pic -c -o subversion/bindings/swig/python/svn_fs.lo subversion/bindings/swig/python/svn_fs.c subversion/bindings/swig/python/svn_fs.c: In function `_wrap_svn_fs_file_length': subversion/bindings/swig/python/svn_fs.c:3540: warning: passing arg 2 of `t_output_helper' makes pointer from integer without a cast Here's the relevant piece of svn_fs.c: ... resultobj = t_output_helper(resultobj, PyInt_FromLongLong((long long) (*arg1))); ... And finally, neither Google nor the ActiveState doc search engine return any hits for PyInt_FromLongLong(). Did you just make that up? :-)