All of lore.kernel.org
 help / color / mirror / Atom feed
* what happens if i set up a class function for exporting, but don't export?
@ 2015-03-11  8:50 Robert P. J. Day
  2015-03-20  8:59 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2015-03-11  8:50 UTC (permalink / raw)
  To: BitBake developer list


  reading bitbake user manual, section 3.4.5, "Flexible Inheritance
for Class Functions", and i know how it works, but what happens if
you're writing a .bbclass file, define a function with the format such
that it's ready for exporting:

  <classname>_<functionmame>

but subsequently don't export it with EXPORT_FUNCTIONS? by what name
will it still be available to inheriting files?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: what happens if i set up a class function for exporting, but don't export?
  2015-03-11  8:50 what happens if i set up a class function for exporting, but don't export? Robert P. J. Day
@ 2015-03-20  8:59 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2015-03-20  8:59 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: bitbake-devel

On Wednesday 11 March 2015 04:50:14 Robert P. J. Day wrote:
>   reading bitbake user manual, section 3.4.5, "Flexible Inheritance
> for Class Functions", and i know how it works, but what happens if
> you're writing a .bbclass file, define a function with the format such
> that it's ready for exporting:
> 
>   <classname>_<functionmame>
> 
> but subsequently don't export it with EXPORT_FUNCTIONS? by what name
> will it still be available to inheriting files?

Whether EXPORT_FUNCTIONS is used or not, the function will always be callable 
as <classname>_<functionname> (since that's how you have defined it).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-20  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11  8:50 what happens if i set up a class function for exporting, but don't export? Robert P. J. Day
2015-03-20  8:59 ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.