[racket] forward pointer declarations

From: Anthony Carrico (acarrico at memebeam.org)
Date: Sun Feb 1 19:08:08 EST 2015

On 02/01/2015 05:57 PM, Anthony Carrico wrote:
> I get a "duplicate definition" error if I declare a pointer ahead:
> 
> (define _wl_interface-pointer (_cpointer 'wl_interface))

This isn't perfectly satisfying, but one option is to use a different
name for the forward declaration:

(define _wl_interface_foward_pointer (_pointer 'wl_interface))

-- 
Anthony Carrico


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.racket-lang.org/users/archive/attachments/20150201/84c93ade/attachment.sig>

Posted on the users mailing list.