[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Question about easyffi
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Question about easyffi |
Date: |
Mon, 6 Aug 2007 06:46:08 +0200 |
On 8/6/07, Ivan Raikov <address@hidden> wrote:
>
> ;; Parse & embed
> #>!
>
> ___declare(type, "pyobject;\"PyObject\";py-object-to;py-object-from")
>
> PyObject *PyObject_CallObject (PyObject *, PyObject *);
>
> <#
>
>[...]
>
> It compiles, but when I actually try to evaluate this:
>
> (PyObject_CallObject func (list->vector (list)))
>
> I get an exception:
>
> Error: bad argument type - not a pointer: #()
>
Try this instead:
#>!
___declare(type, "pyobject;(c-pointer
\"PyObject\");py-object-to;py-object-from")
pyobject PyObject_CallObject (pyobject, pyobject);
<#
cheers,
felix
- [Chicken-users] Question about easyffi, Ivan Raikov, 2007/08/03
- Re: [Chicken-users] Question about easyffi, felix winkelmann, 2007/08/03
- Re: [Chicken-users] Question about easyffi, Ivan Raikov, 2007/08/06
- Re: [Chicken-users] Question about easyffi,
felix winkelmann <=
- Re: [Chicken-users] Question about easyffi, Ivan Raikov, 2007/08/06
- Re: [Chicken-users] Question about easyffi, felix winkelmann, 2007/08/06
- Re: [Chicken-users] Question about easyffi, Ivan Raikov, 2007/08/06
- Re: [Chicken-users] Question about easyffi, felix winkelmann, 2007/08/06
- Re: [Chicken-users] Question about easyffi, Ivan Raikov, 2007/08/06
- Re: [Chicken-users] Question about easyffi, felix winkelmann, 2007/08/06
- [Chicken-users] Problem with sqlite3 egg, Alejandro Forero Cuervo, 2007/08/08
- [Chicken-users] Re: Problem with sqlite3 egg, Thomas Christian Chust, 2007/08/09
- [Chicken-users] Re: Problem with sqlite3 egg, Alejandro Forero Cuervo, 2007/08/10
- [Chicken-users] Re: Problem with sqlite3 egg, Thomas Christian Chust, 2007/08/10