[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accessing global variables in dynamically linked functions
From: |
Paul Kienzle |
Subject: |
Re: accessing global variables in dynamically linked functions |
Date: |
Wed, 10 Apr 2002 14:53:04 -0400 |
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
-------------------------------------------------------------