gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. 109b29aafedd04a2ec14


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 109b29aafedd04a2ec147fcbd5554bb2dd4a9520
Date: Fri, 01 Oct 2010 09:55:05 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  109b29aafedd04a2ec147fcbd5554bb2dd4a9520 (commit)
      from  3ddaf5d39bcb038b63ce884eafdd61d036e132c6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=109b29aafedd04a2ec147fcbd5554bb2dd4a9520


commit 109b29aafedd04a2ec147fcbd5554bb2dd4a9520
Author: Benjamin Wolsey <address@hidden>
Date:   Fri Oct 1 11:40:34 2010 +0200

    Fix docs, drop all namespace references.

diff --git a/libcore/as_object.h b/libcore/as_object.h
index 23eb5b9..54eca56 100644
--- a/libcore/as_object.h
+++ b/libcore/as_object.h
@@ -386,7 +386,7 @@ public:
     /// it destroys itself after setting its property to the return value of
     /// getValue.
     //
-    /// @param uri      name/namespace property identifier.
+    /// @param uri      Property identifier.
     /// @param getter   A function to invoke when this property value is
     ///                 requested.
     /// @param flags    Flags for the new member. By default dontEnum.
@@ -438,7 +438,7 @@ public:
 
     /// Add a watch trigger, overriding any other defined for same name.
     //
-    /// @param uri      property namespace.
+    /// @param uri      property identifier
     /// @param trig     A function to invoke when this property value is
     ///                 assigned to. The function will be called with old
     ///                 val, new val and the custom value below. Its
@@ -491,9 +491,7 @@ public:
     //
     /// This function does *not* recurse in this object's prototype.
     //
-    /// @param uri      Property identifier. Note that
-    ///                 if you do not care about the namespace (AS2 does not),
-    ///                 you can call this function with the name key only.
+    /// @param uri      Property identifier. 
     /// @return         a pair of boolean values expressing whether the 
property
     ///                 was found (first) and whether it was deleted (second).
     ///                 Of course a pair(false, true) would be invalid (deleted
@@ -507,9 +505,7 @@ public:
     //
     /// This function does *not* recurse in this object's prototype.
     //
-    /// @param uri      The name and namespace of the property. Note that
-    ///                 if you do not care about the namespace (AS2 does not),
-    ///                 you can call this function with the name key only.
+    /// @param uri      Property identifier. 
     /// @return         A Property pointer, or NULL if this object doesn't
     ///                 contain the named property.
     Property* getOwnProperty(const ObjectURI& uri);
@@ -800,9 +796,7 @@ void sendEvent(as_object& o, const as_environment& env, 
const ObjectURI& name);
 /// Note: this is the only full lookup process available in ActionScript code.
 //
 //
-/// @param uri      Property identifier. Note that
-///                 if you do not care about the namespace (AS2 does not),
-///                 you can call this function with the name key only.
+/// @param uri      Property identifier. 
 /// @param o        The object whose member is required.
 /// @return         Value of the member (possibly undefined),
 ///                 or undefined if not found. Use get_member if you
@@ -823,17 +817,15 @@ getMember(as_object& o, const ObjectURI& uri)
 /// Note: this requires two steps in ActionScript (hasOwnProperty + lookup), so
 /// is probably only for use in native functions.
 //
-/// @param uri      Property identifier. Note that
-///                 if you do not care about the namespace (AS2 does not),
-///                 you can call this function with the name key only.
+/// @param uri      Property identifier.
 /// @param o        The object whose own member is required.
 /// @return         Value of the member (possibly undefined),
 ///                 or undefined if not found. Use get_member if you
 ///                 need to know whether it was found or not.
 inline as_value
-getOwnProperty(as_object& o, const ObjectURI& prop)
+getOwnProperty(as_object& o, const ObjectURI& uri)
 {
-    Property* p = o.getOwnProperty(prop);
+    Property* p = o.getOwnProperty(uri);
     return p ? p->getValue(o) : as_value();
 }
 
@@ -896,10 +888,7 @@ get(as_object* o)
 /// Return true if this object has the named property
 //
 /// @param o        The object whose property should be searched for.
-/// @param uri      Name and namespace of the property. Note that
-///                 if you do not care about the namespace (AS2 does not),
-///                 you can call this function with the name key only.
-///
+/// @param uri      Property identifier. 
 /// @return         true if the object has the property, false otherwise.
 inline bool
 hasOwnProperty(as_object& o, const ObjectURI& uri)

-----------------------------------------------------------------------

Summary of changes:
 libcore/as_object.h |   29 +++++++++--------------------
 1 files changed, 9 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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