From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B0B2A13835A for ; Tue, 30 Mar 2021 06:55:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 917FFE086B; Tue, 30 Mar 2021 06:55:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6BB18E086B for ; Tue, 30 Mar 2021 06:55:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6894933BE3B for ; Tue, 30 Mar 2021 06:55:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F3CB637 for ; Tue, 30 Mar 2021 06:55:49 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1617087203.bb1891eac5da63da15967397a1326cb680b5b0c6.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: eclass-writing/ X-VCS-Repository: proj/devmanual X-VCS-Files: eclass-writing/text.xml X-VCS-Directories: eclass-writing/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: bb1891eac5da63da15967397a1326cb680b5b0c6 X-VCS-Branch: master Date: Tue, 30 Mar 2021 06:55:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b87aa6b5-fcd7-4133-a0c5-4a07cd4d8623 X-Archives-Hash: 70e1e11135e4d6ddc58fdcbf37b4b2af commit: bb1891eac5da63da15967397a1326cb680b5b0c6 Author: Sam James gentoo org> AuthorDate: Mon Mar 22 06:16:06 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Mar 30 06:53:23 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=bb1891ea eclass-writing: mention that prefixing with the eclass name is "namespacing" Signed-off-by: Sam James gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> eclass-writing/text.xml | 4 ++-- 1 file 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() {

An eclass may provide default implementations for any of the ebuild phase -functions (src_unpack, pkg_postinst etc). This can be done either as a +functions (src_unpack, pkg_postinst, etc). This can be done either as a simple function definition (which is not multiple eclass friendly) or using EXPORT_FUNCTIONS. Functions given to EXPORT_FUNCTIONS are implemented -as normal, but have their name prefixed with ${ECLASS}_. +as normal, but have their name prefixed ("namespaced") with ${ECLASS}_.