diff options
author | Sam James <sam@gentoo.org> | 2021-03-22 06:16:06 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-03-30 08:53:23 +0200 |
commit | bb1891eac5da63da15967397a1326cb680b5b0c6 (patch) | |
tree | 5282f51a29923c2a11bb469b99ed03108ac0c5bb | |
parent | eclass-writing: mention etiquette with respect to metadata invalidation (diff) | |
download | devmanual-bb1891eac5da63da15967397a1326cb680b5b0c6.tar.gz devmanual-bb1891eac5da63da15967397a1326cb680b5b0c6.tar.bz2 devmanual-bb1891eac5da63da15967397a1326cb680b5b0c6.zip |
eclass-writing: mention that prefixing with the eclass name is "namespacing"
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | eclass-writing/text.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass-writing/text.xml b/eclass-writing/text.xml index ccebfb6..6ac9f0d 100644 --- a/eclass-writing/text.xml +++ b/eclass-writing/text.xml @@ -658,10 +658,10 @@ domacosapp() { <p> An eclass may provide default implementations for any of the ebuild phase -functions (<c>src_unpack</c>, <c>pkg_postinst</c> etc). This can be done either as a +functions (<c>src_unpack</c>, <c>pkg_postinst</c>, etc). This can be done either as a simple function definition (which is not multiple eclass friendly) or using <c>EXPORT_FUNCTIONS</c>. Functions given to <c>EXPORT_FUNCTIONS</c> are implemented -as normal, but have their name prefixed with <c>${ECLASS}_</c>. +as normal, but have their name prefixed ("namespaced") with <c>${ECLASS}_</c>. </p> <important> |