Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: eclass-writing/
Date: Tue, 30 Mar 2021 06:55:53
Message-Id: 1617087203.bb1891eac5da63da15967397a1326cb680b5b0c6.ulm@gentoo
1 commit: bb1891eac5da63da15967397a1326cb680b5b0c6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 22 06:16:06 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 06:53:23 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=bb1891ea
7
8 eclass-writing: mention that prefixing with the eclass name is "namespacing"
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 eclass-writing/text.xml | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/eclass-writing/text.xml b/eclass-writing/text.xml
17 index ccebfb6..6ac9f0d 100644
18 --- a/eclass-writing/text.xml
19 +++ b/eclass-writing/text.xml
20 @@ -658,10 +658,10 @@ domacosapp() {
21
22 <p>
23 An eclass may provide default implementations for any of the ebuild phase
24 -functions (<c>src_unpack</c>, <c>pkg_postinst</c> etc). This can be done either as a
25 +functions (<c>src_unpack</c>, <c>pkg_postinst</c>, etc). This can be done either as a
26 simple function definition (which is not multiple eclass friendly) or using
27 <c>EXPORT_FUNCTIONS</c>. Functions given to <c>EXPORT_FUNCTIONS</c> are implemented
28 -as normal, but have their name prefixed with <c>${ECLASS}_</c>.
29 +as normal, but have their name prefixed ("namespaced") with <c>${ECLASS}_</c>.
30 </p>
31
32 <important>