[bitbake-devel] [PATCH] cache: Make virtualfn2realfn/realfn2virtual standalone functions

Christopher Larson clarson at kergoth.com
Mon Aug 15 17:21:53 UTC 2016


On Mon, Aug 15, 2016 at 10:00 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> Needing to build an object to access these static methods doesn't
> make sense. Move these to become module level standalone functions.
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
>

Might want to tweak this message -- you don't need to build an object to
access the static methods, they're static :) You do need to reference the
class, so it's a pointless namespacing, however.


-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160815/5d4c99b5/attachment-0002.html>


More information about the bitbake-devel mailing list