chicken-users
[Top][All Lists]
Advanced

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

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


From: Joel Reymont
Subject: Re: [Chicken-users] FFI c++ issue
Date: Mon, 3 Jan 2005 09:36:38 +0000

> felix winkelmann wrote:

>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.

foo& foo:bar() does work. How would I box/unbox a reference? Define a
reference type and the same code as for a pointer?

    Thanks, Joel 

-- 
OpenPoker: The Linux of poker software
http://wagerlabs.com/forums
* Tenerife * Canary Islands * Spain






reply via email to

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