<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to persist_image</title><link>https://sourceforge.net/p/arcanfe/wiki/persist_image/</link><description>Recent changes to persist_image</description><atom:link href="https://sourceforge.net/p/arcanfe/wiki/persist_image/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 09 Dec 2012 17:56:25 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/arcanfe/wiki/persist_image/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage persist_image modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/persist_image/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -15,7 +15,7 @@
 
 This adds severe restrictions to the object (thus can fail IF some of these constraints are already violated);
 
-persistent objects are not allowed to be instanced, rendertargets or linked.
+persistent objects are not allowed to be instanced, rendertargets or linked. They cannot have a frameset or be part of one.
 
 [system_context_size] changes that would reduce the size of the next context from the current size will fail if there are any persistent objects in it. 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Sun, 09 Dec 2012 17:56:25 -0000</pubDate><guid>https://sourceforge.neted7b7a3014d47e377bc6f90d67a1afb90a755517</guid></item><item><title>WikiPage persist_image modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/persist_image/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,7 @@
 **declaration:**
 
 ~~~~
+(introduced in 0.2.2)
 function persist_image(vid); =&gt; bool
 ~~~~
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Sun, 09 Dec 2012 17:55:48 -0000</pubDate><guid>https://sourceforge.net710ab85de36c605c493a9fe12d0947a5576831c1</guid></item><item><title>WikiPage persist_image modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/persist_image/</link><description>**declaration:**

~~~~
function persist_image(vid); =&gt; bool
~~~~

The VID will irreversibly be marked as persistent in the current context stack. The object will be transfered upwards on [push_video_context] operations, and be synched downwards on any [pop_video_context] call down to the current active level. 

It can be actively deleted with [delete_image][expire_image], and deletion will then propagate downwards. 

The primary purpose for this function is to allow some key resources (background image, network frameservers etc.) to be maintained and accessible even though stack manipulation has occurred. 

**caveats:**

This adds severe restrictions to the object (thus can fail IF some of these constraints are already violated);

persistent objects are not allowed to be instanced, rendertargets or linked.

[system_context_size] changes that would reduce the size of the next context from the current size will fail if there are any persistent objects in it. 



</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Sun, 09 Dec 2012 17:55:29 -0000</pubDate><guid>https://sourceforge.net2c36a1ec9585a4a1dc23ab5da6ec2f18f91ab172</guid></item></channel></rss>