gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog doc/C/actionscript/new_as_class...


From: Ann Barcomb
Subject: [Gnash-commit] gnash ChangeLog doc/C/actionscript/new_as_class...
Date: Mon, 19 Mar 2007 17:12:56 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Ann Barcomb <ann>       07/03/19 17:12:56

Modified files:
        .              : ChangeLog 
        doc/C/actionscript: new_as_class.xml 

Log message:
        document the changed syntax for returning a value (see Bastiaan's 
commit).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2628&r2=1.2629
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/actionscript/new_as_class.xml?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2628
retrieving revision 1.2629
diff -u -b -r1.2628 -r1.2629
--- ChangeLog   19 Mar 2007 17:11:13 -0000      1.2628
+++ ChangeLog   19 Mar 2007 17:12:55 -0000      1.2629
@@ -1,3 +1,8 @@
+2007-03-19 Ann Barcomb <address@hidden>
+
+       * doc/C/actionscript/new_as_class.xml: document the changed syntax
+         for returning a value (see Bastiaan's commit).
+
 2007-03-19 Bastiaan Jacques <address@hidden>
 
        * server/vm/fn_call.h: Remove fn_call::result. Instead, all methods and

Index: doc/C/actionscript/new_as_class.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/actionscript/new_as_class.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- doc/C/actionscript/new_as_class.xml 19 Mar 2007 16:43:22 -0000      1.2
+++ doc/C/actionscript/new_as_class.xml 19 Mar 2007 17:12:55 -0000      1.3
@@ -106,13 +106,6 @@
           Every method you implement and 
           <link linkend="prototype">attach</link> will receive an
           &fn_call; data structure as an argument when it is called.
-          The most important members of the &fn_call; structure are
-          the <link linkend="arguments">stack of arguments</link>
-          to the function and a
-          <link linkend="return">pointer to the result</link>, which will
-          be returned to the (ActionScript) caller.  The remainder
-          of the <link linkend="additional_fn_call">&fn_call; 
-          structure</link> is described later in this section.
         </para>
 
         <sect3 id="arguments">
@@ -133,17 +126,13 @@
         <sect3 id="return">
           <title>Returning a Value to ActionScript</title>
           <para>
-            The return value should be set <emphasis>result</emphasis>
-            pointer of the &fn_call; structure.  For example:
+            The return value should be an
+            <link linkend="as_value"><emphasis>as_value</emphasis> 
+            object</link>.  For example:
             <programlisting>
-              fn.result->set_string('Goodbye, cruel world.');
+              return as_value('Goodbye, cruel world.');
             </programlisting>
           </para>
-          <para>
-            The return value is an 
-            <link linkend="as_value"><emphasis>as_value</emphasis> 
-            object</link>.
-          </para>
         </sect3>
 
         <sect3 id="additional_fn_call">
@@ -171,7 +160,6 @@
             can be used in debugging to output the entire argument
             stack.
          </para>
-
         </sect3>
       </sect2>
 




reply via email to

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