help-octave
[Top][All Lists]
Advanced

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

Re: Octave Memory Management


From: Sebastian Schöps
Subject: Re: Octave Memory Management
Date: Sun, 18 Aug 2019 13:36:03 -0500 (CDT)

Thomas D. Dean-2 wrote
> I have an .oct file that I want to open a device, return the pointer to 
> the device structure.
> 
> ...
> 
> Does octave keep the allocation of dev_ptr between function calls?
> 
> Is it possible to use a static variable in the .cc file?  Would I have 
> to free it when the device is closed?
> 
> I can post the full application if necessary.
> 
> Tom Dean

Maybe Carlo‘s old advice helps?
https://octave.1599824.n4.nabble.com/Persistent-dara-across-oct-files-tp4689039.html

Seb.
Seb.




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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