[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] assigning scheme object to foreign pointer
From: |
pluijzer |
Subject: |
[Chicken-users] assigning scheme object to foreign pointer |
Date: |
Mon, 16 Dec 2013 00:59:10 +0100 |
Hello everybody.
I am using a C-library that lets you assign user data to objects via a void
pointer.
I would like to assign a scheme object to this pointer, but as I understand I
cannot use
'object->pointer' for this, as the garbage collector might move the object.
Is there another way to accomplish this, maybe by telling the gc not to move
the object?
thank you very much in advance,
Pluijzer
- [Chicken-users] assigning scheme object to foreign pointer,
pluijzer <=