[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Passing C pointers through guile
From: |
Maciek Godek |
Subject: |
Passing C pointers through guile |
Date: |
Sat, 5 Jul 2008 00:18:32 +0200 |
Hi,
is there any portable and recommended way for passing C pointers around
in guile environment?
I think of something like scm_to_ptr (analogous to scm_to_int etc.).
Certainly such a value would be completely useless for the interpreter.
One can achieve simillar functionality using the aforementioned
scm_to_int (keeping track on the word length of the build target),
but it seems rather unnatural.
Perhaps the need for passing pointers is a sign of a weakness
in design of a given system, is it so?
very good regards
mg
- Passing C pointers through guile,
Maciek Godek <=
Re: Passing C pointers through guile, Kjetil S. Matheussen, 2008/07/10