> Zen's lesson for today:
> THOU SHALT NOT MESS WITH ANY PYTHON'S SEMI-GODS, DEMI-GODS, AND
> PYTHON'S GOD.
>
> You're lucky Diez still want to help you with your attitude like that.
> May I remind you that we here helps you for free in our free time, be
> rude, especially to a frequent member, an
On Aug 1, 6:35 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
> > On Jul 31, 10:47 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> >> I take the freedom to do so as I see fit - this is usenet...
>
> > Fine, then keep beating a dead horse by replying to this thr
[EMAIL PROTECTED] schrieb:
On Jul 31, 10:47 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
I take the freedom to do so as I see fit - this is usenet...
Fine, then keep beating a dead horse by replying to this thread with
things that do nobody any good. It seems like there are a lot better
w
On Thu, Jul 31, 2008 at 10:27 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> On Jul 31, 10:47 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> I take the freedom to do so as I see fit - this is usenet...
>
> Fine, then keep beating a dead horse by replying to this thread with
> things that
[EMAIL PROTECTED] wrote:
Greetings,
I'm trying to wrap a function in a C library as a compiled C Python
module. Everything is going great, but I've hit a snag. There's a
function in the form of this:
First the typedef:
typedef void(*FPtr_DeviceMessageHandler) (const DeviceMessage, const
char*);
>> Ctypes is a since python2.5 built-in module that allows to declare
>> interfaces to C-libraries in pure python. You declare datatypes and
>> function prototypes, load a DLL/SO and then happily work with it. No C, no
>> compiler, no refcounts, no nothing.
>>
>> And you can pass python-functions a
On Jul 31, 10:47 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> I take the freedom to do so as I see fit - this is usenet...
Fine, then keep beating a dead horse by replying to this thread with
things that do nobody any good. It seems like there are a lot better
way to waste time, though.
Th
[EMAIL PROTECTED] wrote:
>> How much more liberal can it get than MIT-licensed?
>
> Again, the licensing issue is everything to do with the original
> library distributor, NOT ctypes.
I read library distributor as "ctypes-library distributor" because it is
3rd-party under 2.4. Which was the reas
> How much more liberal can it get than MIT-licensed?
Again, the licensing issue is everything to do with the original
library distributor, NOT ctypes.
> But then, if you insist, go down the hard road.
Irrelevant and unnecessary. If you don't want to help, don't please
don't reply.
--
http://mai
Diez B. Roggisch wrote:
> [EMAIL PROTECTED] wrote:
>
>>> Ctypes is a since python2.5 built-in module that allows to declare
>>> interfaces to C-libraries in pure python. You declare datatypes and
>>> function prototypes, load a DLL/SO and then happily work with it. No C,
>>> no compiler, no refco
[EMAIL PROTECTED] wrote:
>> Ctypes is a since python2.5 built-in module that allows to declare
>> interfaces to C-libraries in pure python. You declare datatypes and
>> function prototypes, load a DLL/SO and then happily work with it. No C,
>> no compiler, no refcounts, no nothing.
>>
>> And you c
> Ctypes is a since python2.5 built-in module that allows to declare
> interfaces to C-libraries in pure python. You declare datatypes and
> function prototypes, load a DLL/SO and then happily work with it. No C, no
> compiler, no refcounts, no nothing.
>
> And you can pass python-functions as call
[EMAIL PROTECTED] wrote:
> Hello Diez.
>
>> May I suggest you move to ctypes for wrapping? It's easier, pure python
>> and callbacks are already built-in.
>
> I'm pretty new to extending Python in C, I don't understand what
> you're saying. Are there any examples or a brief explanation/URL you
>
Hello Diez.
> May I suggest you move to ctypes for wrapping? It's easier, pure python and
> callbacks are already built-in.
I'm pretty new to extending Python in C, I don't understand what
you're saying. Are there any examples or a brief explanation/URL you
could point me to?
--
http://mail.pyth
[EMAIL PROTECTED] wrote:
> Greetings,
>
> I'm trying to wrap a function in a C library as a compiled C Python
> module. Everything is going great, but I've hit a snag. There's a
> function in the form of this:
>
> First the typedef:
> typedef void(*FPtr_DeviceMessageHandler) (const DeviceMessage
15 matches
Mail list logo