[C++-sig] [Py++] Missing struct
Roman Yakovenko
roman.yakovenko at gmail.com
Mon Dec 14 14:40:44 CET 2009
On Mon, Dec 14, 2009 at 3:14 PM, Nikolaus Rath <Nikolaus at rath.org> wrote:
> Roman Yakovenko <roman.yakovenko at gmail.com> writes:
>>> Why is the fuse_file_info struct not translated into ctypes code?
>>
>> This is because Py++ tries to make some intelligent guess what to
>> export. By default it exports all declarations found in the files in
>> the same directory.
>
> Hmm. Is there any actual use case for that? Just exporting the
> declarations in one file without taking into account their dependencies
> doesn't make much sense to me.
//pseudo code
#include "stdio.h"
void do_smth( int i ){
printf( i );
}
Do you still think Py++ needs to export every declaration that comes
from "stdio.h" header?
Py++ assumes, that files, that belongs to the same directory as the
file you pass, contain "interface", why all others contain
implementation.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list