On Mon, 2010-02-15 at 13:44 -0800, TP wrote:
> Doesn't the first example in The Boost.Python Tutorial
> (http://www.boost.org/doc/libs/1_42_0/libs/python/doc/tutorial/doc/html/index.html)
> show it making a simple C function available to Python?
>
> I want to be able to use the open source, Lepton
On Mon, Feb 15, 2010 at 11:50 PM, TP wrote:
> Thank you for your response. ctypes was on my list of options to
> investigate. I wonder if you know if it will be able to handle
> parameters like PIX** ppix?
Definitely
> A generator would be nice, as the Leptonica Image Processing Library
> is qui
On Mon, Feb 15, 2010 at 1:41 PM, Stefan Seefeld wrote:
> On 02/15/2010 04:26 PM, TP wrote:
>>
>> On Sun, Feb 14, 2010 at 5:04 PM, Stefan Seefeld
>> wrote:
>>
>>>
>>> Yes. Do you have the definition of PIX available ? In that case, you
>>> could
>>> use that via class_
>>>
>>
>> Yes. The entir
On Sun, Feb 14, 2010 at 9:31 PM, Roman Yakovenko
wrote:
> On Mon, Feb 15, 2010 at 2:32 AM, TP wrote:
>> Suppose I am attempting to use a C (not C++) library that has an .h file
>> with things like this:
>>
>> extern PIX * pixCreate ( l_int32 width, l_int32 height, l_int32 depth );
>> extern voi
Doesn't the first example in The Boost.Python Tutorial
(http://www.boost.org/doc/libs/1_42_0/libs/python/doc/tutorial/doc/html/index.html)
show it making a simple C function available to Python?
I want to be able to use the open source, Leptonica C Image Processing
Library (available at http::/lep
On 02/15/2010 04:26 PM, TP wrote:
On Sun, Feb 14, 2010 at 5:04 PM, Stefan Seefeld wrote:
Yes. Do you have the definition of PIX available ? In that case, you could
use that via class_
Yes. The entire source of the Leptonica C Image Processing Library is
available at http::/lepton
On Sun, Feb 14, 2010 at 5:04 PM, Stefan Seefeld wrote:
> Yes. Do you have the definition of PIX available ? In that case, you could
> use that via class_
Yes. The entire source of the Leptonica C Image Processing Library is
available at http::/leptonica.com.
Could you give a little more deta
On Mon, Feb 15, 2010 at 1:30 PM, peoro wrote:
> On Sun, Feb 14, 2010 at 8:39 PM, Roman Yakovenko
>> Can you create small and complete example? ( C++ code, Py++ script and
>> Py++ generated code )?
>>
>> Thanks
>>
>
> Sure:
>
> # main.cpp
> #include
> std::set f( ) {
> return std::set()
On Sun, Feb 14, 2010 at 8:39 PM, Roman Yakovenko
wrote:
> On Sun, Feb 14, 2010 at 6:22 PM, peoro wrote:
>> On Sat, Feb 13, 2010 at 8:05 PM, Roman Yakovenko
>> wrote:
>>> Did you try len( x )?
>>>
>>
>> Yes, I tried and it isn't working.
>> ...
>> I've been trying with SVN revisions 1814 and 1824