[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Passing C pointers into C++ code
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Passing C pointers into C++ code |
Date: |
Sun, 19 Dec 2004 11:15:09 +0100 |
On Thu, 16 Dec 2004 21:52:52 +0000, Joel Reymont <address@hidden> wrote:
> Folks,
>
> I'm trying to pass a C pointer into a C++ function. This is what I get:
>
> (setTarget graphics (slot-ref screen 'swig-this))
>
> Error: (class-of) can not compute class of primitive object: #<SWIG-
> pointer 163c4a0>
>
> What does this mean?
>
TinyCLOS currently doesn't know about swig-pointers. I'll fix
this. `setTarget' looks like a generic function, so it want's to compute the
class of the argument values to dispatch to the proper method.
cheers,
felix