guile-user
[Top][All Lists]
Advanced

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

Re: A little guile query.


From: nkv
Subject: Re: A little guile query.
Date: Mon, 06 Dec 2004 10:40:52 +0530
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Neil Jerram <address@hidden> writes:


[...]

> Noufal,
>
> I think the problem is actually the first arg.  scm_c_lookup returns a
> variable which holds your array, not the array itself; you need to add
> scm_variable_ref to fix this:
>
> scm_uniform_vector_ref(scm_variable_ref(scm_c_lookup("foo")),
>                         SCM_LIST2(SCM_MAKINUM(5),SCM_MAKINUM(5)));

[...]

Thanks Neil. I got an answer to this earlier and hadn't checked my Yahoo!
mail for a while. 

Thanks for the reply. :)

-- 
Noufal
http://hcoop.net/~nkv


AWAKE! FEAR! FIRE! FOES! AWAKE!
        FEAR! FIRE! FOES!
                AWAKE! AWAKE!
                -- J. R. R. Tolkien





reply via email to

[Prev in Thread] Current Thread [Next in Thread]