On Mon, Dec 14, 2009 at 3:14 PM, Nikolaus Rath <nikol...@rath.org> wrote: > Roman Yakovenko <roman.yakove...@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/ _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig