accessing variables in an environment from C

From: Brian Denheyer <briand_at_seanet.com>
Date: Sat, 2 Oct 1999 12:40:17 -0700 (PDT)

Given that vec is

SCM vec;

and string is

  char *string;

The following :

    vec = *STk_varlookup(Intern(string), NIL, 0);

Seems to get the variable from the global environment (I assume
because env=NIL). Anyone know how to grab the current environment for
use in the lookup function ?

Brian
Received on Sat Oct 02 1999 - 21:40:58 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST