gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10156: fix doxygen warnings


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10156: fix doxygen warnings
Date: Mon, 27 Oct 2008 21:00:30 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10156
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Mon 2008-10-27 21:00:30 +0100
message:
  fix doxygen warnings
modified:
  libcore/as_value.h
=== modified file 'libcore/as_value.h'
--- a/libcore/as_value.h        2008-10-25 10:38:32 +0000
+++ b/libcore/as_value.h        2008-10-27 20:00:30 +0000
@@ -208,13 +208,29 @@
        ///
        /// TODO restore first parameter on parse errors
        ///
+       /// @param b
+    ///     Pointer to buffer where to start reading.
+    ///     Will be moved as data is read.
+    ///
+       /// @param end
+    ///     Pointer to end of buffer. Reading from this would
+    ///     be invalid.
+    ///
+       /// @param inType
+    ///     Type of the AMF object to read. If -1, type will be
+    ///     read from a type byte.
+    ///
        /// @param objRefs
        ///     A vector of already-parsed objects to properly interpret 
references.
        ///     Pass an empty vector on first call as it will be used 
internally.
        ///     On return, the vector will be filled with pointers to every 
complex object
        ///     parsed from the stream.
+    ///
+       /// @param vm
+    ///     Virtual machine to use for initialization of the values 
(string_table)
        ///
-       bool readAMF0(boost::uint8_t *&b, boost::uint8_t *end, int inType, 
std::vector<as_object*>& objRefs, VM& vm);
+       bool readAMF0(boost::uint8_t *&b, boost::uint8_t *end, int inType,
+            std::vector<as_object*>& objRefs, VM& vm);
 
     /// Serialize value in AMF0 format.
     //
@@ -225,6 +241,10 @@
     ///     A map of already-parsed objects, pass an empty map on first call as
     ///     it will be used internally.
     ///
+       /// @param vm
+    ///     Virtual machine to use for serialization of property names
+    ///     (string_table)
+    ///
     bool writeAMF0(SimpleBuffer& buf, std::map<as_object*, size_t>& 
offsetTable, VM& vm) const;
 
        /// Convert numeric value to string value, following ECMA-262 
specification
@@ -297,11 +317,6 @@
        }
 
        /// Get a std::string representation for this value.
-       //
-       /// @param env
-       ///     The environment to use for running the toString() method
-       ///     for object values. If NULL, toString() won't be run.
-       ///
        std::string to_string() const;
 
     // Used for operator<< to give useful information about an
@@ -315,18 +330,12 @@
        /// source. 
        /// @@ shouldn't this be the default ?
        ///
-       /// @param env
-       ///     The environment to use for running the toString() method
-       ///     for object values. If NULL, toString() won't be run.
+       /// @param version
+    ///     SWF version for which the operation is desired.
        ///
        std::string to_string_versioned(int version) const;
 
        /// Get a number representation for this value
-       //
-       /// @param env
-       ///     The environment to use for running the valueOf() method
-       ///     for object values. If NULL, valueOf() won't be run.
-       ///
        double  to_number() const;
 
        /// Get an AMF element representation for this value
@@ -337,10 +346,6 @@
        /// Use this conversion whenever an int is needed.
        /// This is NOT the same as calling to_number<boost::int32_t>().
        ///
-       /// @param env
-       ///     The environment to use for running the valueOf() method
-       ///     for object values. 
-       ///
        boost::int32_t  to_int() const;
 
        /// Shorthand: casts the result of to_number() to the requested number
@@ -453,9 +458,6 @@
        /// Primitive types are: undefined, null, boolean, string, number.
        /// See ECMA-2.6.2 (sections 4.3.2 and 8.6.2.6).
        ///
-       /// @param env
-       ///     The environment to use for calling the valueOf method.
-       ///
        /// @param hint
        ///     NUMBER or STRING, the preferred representation we're asking for.
        ///
@@ -476,11 +478,6 @@
        as_value& convert_to_primitive(AsType hint);
 
        /// Force type to number.
-       //
-       /// @param env
-       ///     The environment to use for running the valueOf() method
-       ///     for object values. If NULL, valueOf() won't be run.
-       ///
        void convert_to_number();
 
        /// Force type to string.
@@ -492,12 +489,11 @@
        /// Force type to string.
        //
        /// uses swf-version-aware converter
-       ///
-       /// @param env
-       ///     The environment to use for running the toString() method
-       ///     for object values. If NULL, toString() won't be run.
-       ///
-       /// @see to_string_versionioned
+    ///
+       /// @param version
+    ///     SWF version for which the operation is desired.
+       ///
+       /// @see to_string_versioned
        ///
        void convert_to_string_versioned(int version);
 
@@ -594,9 +590,8 @@
        ///     - A == B is equivalent to B == A, except for order of
        ///       evaluation of A and B.
        ///
-       /// @param env
-       ///     The environment to use for running the toString() and valueOf()
-       ///     methods for object values. 
+       /// @param v
+    ///     The as_value to compare to
        ///
        bool equals(const as_value& v) const;
 


reply via email to

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