[Top][All Lists]

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

Re: [Chicken-users] FFI c++ issue

From: felix winkelmann
Subject: Re: [Chicken-users] FFI c++ issue
Date: Mon, 3 Jan 2005 07:52:03 +0100

On Sun, 2 Jan 2005 17:02:03 +0000, Joel Reymont <address@hidden> wrote:
> Folks,
> I cannot compile the following code with csc -c++ -ffi. Is there a
> workaround?
> class foo {
> public:
>         foo bar();
> };

Since the ffi is not able to box the foo (which would result in 
copying, and other things which may result in subtle C++
problems), I recommend to let bar return a pointer to foo.
The ffi parser does currently not support code like above.


reply via email to

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