Hello On Thu, Feb 19, 2009 at 3:49 AM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > Hi, > > I'm interfacing a C++ class with cython. Because my C++ class inherit > from a std::basic_string class I inherit some tests method like : > bool My_class :: test_function() > > It seems that Cython do not know the C++ bool type and, consequently, > there is no direct conversion between C++ boolean to Python boolean.
You should use 'bint' -- http://wiki.cython.org/DifferencesFromPyrex#head-90545890b58c440ab5b67c722a2eecdaabdc077c --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---