chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Question about easyffi


From: Ivan Raikov
Subject: Re: [Chicken-users] Question about easyffi
Date: Mon, 06 Aug 2007 14:45:50 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

The whole file is a bit long, but the neighborhood of line 55 is
pasted below. I am guessing the reason for the error message is the
fact that #define pyobject is after the function declaration?


___declare(type, "pyobject;(c-pointer 
\"PyObject\");py-object-to;py-object-from")

pyobject PyObject_CallObject (pyobject , pyobject );


#define pyobject PyObject *




"felix winkelmann" <address@hidden> writes:

> On 8/6/07, Ivan Raikov <address@hidden> wrote:
>>
>> This results in an error message from the C compiler:
>>
>> pyffi-support.c:55: error: expected '=', ',', ';', 'asm' or
>> '__attribute__' before 'PyObject_CallObject'
>>
>>
>
> Can you show me the relevant C code line, or even attach the whole compiled
> file?
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]