gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 3ddaf5d39bcb038b


From: strk
Subject: Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 3ddaf5d39bcb038b63ce884eafdd61d036e132c6
Date: Fri, 1 Oct 2010 11:34:33 +0200

On Fri, Oct 01, 2010 at 09:10:28AM +0000, Benjamin Wolsey wrote:

> +/// @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 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)

Dox-signature mismatch here (+ obsoleted namespace references)

> -            const as_value& bv = arrayProperty(*bo, *pit);
> +            const as_value& av = getOwnProperty(*ao, *pit);

Uhm, you sure you want to drop arrayProperty ?
It may have a few optimizations possible (if it's just for numbers,
which have no need to do lowercase lookups)

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



reply via email to

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