summaryrefslogtreecommitdiffstats
path: root/SCons/Script/SConscript.xml
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2022-09-14 14:58:08 (GMT)
committerMats Wichmann <mats@linux.com>2022-09-14 16:36:35 (GMT)
commita1084687b353463fd6a0caedea4b00413431cf04 (patch)
tree25326c924d7a0b8e8ecb75ee513004b17526e3e2 /SCons/Script/SConscript.xml
parent4cc86dac98bbeb84587b7399efa3693283042f45 (diff)
downloadSCons-a1084687b353463fd6a0caedea4b00413431cf04.zip
SCons-a1084687b353463fd6a0caedea4b00413431cf04.tar.gz
SCons-a1084687b353463fd6a0caedea4b00413431cf04.tar.bz2
doc: change five functions to appear global-only
The five functions EnsureSConsVersion, EnsurePythonVersion, Exit, GetLaunchDir, SConscriptChdir were listed as both global and environment functions, but they do nothing in the context of an environment, so marked in the xml as "global". This only changes the presentation in the manpage & userguide appendix, not the behavior. Minor tweaks in the code around SConscriptChdir - actually use a bool True/False instead of 0/1, and added a couple of type annotations. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Script/SConscript.xml')
-rw-r--r--SCons/Script/SConscript.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/SCons/Script/SConscript.xml b/SCons/Script/SConscript.xml
index eb52acc..7a4bc29 100644
--- a/SCons/Script/SConscript.xml
+++ b/SCons/Script/SConscript.xml
@@ -84,7 +84,7 @@ env.Default(hello)
</scons_function>
<scons_function name="EnsurePythonVersion">
-<arguments>
+<arguments signature="global">
(major, minor)
</arguments>
<summary>
@@ -107,7 +107,7 @@ EnsurePythonVersion(2,2)
</scons_function>
<scons_function name="EnsureSConsVersion">
-<arguments>
+<arguments signature="global">
(major, minor, [revision])
</arguments>
<summary>
@@ -137,7 +137,7 @@ EnsureSConsVersion(0,96,90)
</scons_function>
<scons_function name="Exit">
-<arguments>
+<arguments signature="global">
([value])
</arguments>
<summary>
@@ -215,7 +215,7 @@ See the description below.
</scons_function>
<scons_function name="GetLaunchDir">
-<arguments>
+<arguments signature="global">
()
</arguments>
<summary>