[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC ??
From: |
Andreas Rottmann |
Subject: |
Re: GC ?? |
Date: |
02 Dec 2003 15:32:42 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
address@hidden writes:
> hi,
> I am using guile 1.6.0. and programming in C.
>
> I am using scm_boot_guile and scm_shell in the function
> I pass to scm_boot_guile. All the SCM objects that are
> created, say using 'scm_make_string', 'scm_make_vector'
> etc, and assigned to globals don't seem to exist after
> call to scm_shell is made. My code looks something like
> this..
>
> #include <libguile.h>
> static SCM vector;
> static SCM
> retVec()
> {
> return vector;
> }
> static void
> CreateVector()
> {
> vector = scm_make_vector(SCM_MAKINUM(2), SCM_EOL);
> }
use 'vector = scm_permanent_object (scm_make_vector(...'
Regards, Andy
--
Andreas Rottmann
- GC ??, dv . praveen, 2003/12/02
- Re: GC ??,
Andreas Rottmann <=
- Re: GC ??, Andreas Rottmann, 2003/12/03
- Re: GC ??, dv . praveen, 2003/12/03