Skip to content

Commit 04eed99

Browse files
committed
Added blurb to CHANGES.txt, RELEASE.txt and updated CheckFunc() in manpage
1 parent edc14d6 commit 04eed99

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

CHANGES.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer suppo
99

1010
RELEASE VERSION/DATE TO BE FILLED IN LATER
1111

12-
From John Doe:
13-
14-
- Whatever John Doe did.
12+
From Joseph Brill:
13+
- Add an optional argument list string to configures CheckFunc method so
14+
that the generated function argument list matches the function's
15+
prototype when including a header file. Fixes GH Issue #4320
1516

1617

1718
RELEASE 4.6.0 - Sun, 19 Nov 2023 17:22:20 -0700

RELEASE.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ DEPRECATED FUNCTIONALITY
2626
CHANGED/ENHANCED EXISTING FUNCTIONALITY
2727
---------------------------------------
2828

29-
- List modifications to existing features, where the previous behavior
30-
wouldn't actually be considered a bug
29+
- Add an optional argument list string to configures CheckFunc method so
30+
that the generated function argument list matches the function's
31+
prototype when including a header file. Fixes GH Issue #4320
3132

3233
FIXES
3334
-----

doc/man/scons.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3954,7 +3954,7 @@ Returns a boolean indicating success or failure.</para>
39543954
</varlistentry>
39553955

39563956
<varlistentry>
3957-
<term><replaceable>context</replaceable>.<methodname>CheckFunc</methodname>(<parameter>function_name, [header, language]</parameter>)</term>
3957+
<term><replaceable>context</replaceable>.<methodname>CheckFunc</methodname>(<parameter>function_name, [header, language, funcargs]</parameter>)</term>
39583958
<listitem>
39593959
<para>Checks if <parameter>function_name</parameter> is usable
39603960
in the context's local environment, using the compiler
@@ -3974,6 +3974,11 @@ If omitted, the default stanza will be
39743974
(with <parameter>function_name</parameter> appropriately substituted):
39753975
</para>
39763976

3977+
<para>
3978+
The optional <parameter>funcargs</parameter> can be defined to specify an argument list for the generated
3979+
function invocation.
3980+
</para>
3981+
39773982
<programlisting language="C">
39783983
#ifdef __cplusplus
39793984
extern "C"

0 commit comments

Comments
 (0)