chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Passing C pointers into C++ code


From: Joel Reymont
Subject: [Chicken-users] Passing C pointers into C++ code
Date: Thu, 16 Dec 2004 21:52:52 +0000

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?

I set a breakpoint in the debugger on the setTarget wrapper (this is SWIG
code) but the error pops up even BEFORE I get to the wrapper.

Is this a Chicken or a SWIG error?

    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]