[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accessing global variables in dynamically linked functions
From: |
Heber Farnsworth |
Subject: |
Re: accessing global variables in dynamically linked functions |
Date: |
10 Apr 2002 15:20:04 -0500 |
That works great. Thanks.
Heber
On Wed, 2002-04-10 at 13:53, Paul Kienzle wrote:
> src/variables.cc exports
> octave_value get_global_value("name")
> and
> void set_global_value("name",octave_value &)
> I believe you will need
> #include <octave/variables.h>
>
> Paul Kienzle
> address@hidden
>
> On Wed, Apr 10, 2002 at 01:39:46PM -0500, Heber Farnsworth wrote:
> > I need to write a dynamically linked function which can access some
> > global variables. I've written lots of dynamically linked functions but
> > I've never had to do access a global variable before. Does anyone know
> > how to do this?
> >
> > Heber Farnsworth
> >
> >
> >
> > -------------------------------------------------------------
> > Octave is freely available under the terms of the GNU GPL.
> >
> > Octave's home on the web: http://www.octave.org
> > How to fund new projects: http://www.octave.org/funding.html
> > Subscription information: http://www.octave.org/archive.html
> > -------------------------------------------------------------
> >
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------