Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
6286ddd2
Commit
6286ddd2
authored
Mar 15, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document vcc optional arguments in changelog
parent
48bb211b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
upgrading-6.0.rst
doc/sphinx/whats-new/upgrading-6.0.rst
+18
-0
No files found.
doc/sphinx/whats-new/upgrading-6.0.rst
View file @
6286ddd2
...
...
@@ -866,4 +866,22 @@ Other changes
the generated docs altogether; so you can write the ``SYNOPSIS``
section yourself, if you prefer.
* Support for a new declaration of optional arguments in vcc files
has been added: ``[ argname ]`` can be used to mark *argname* as
optional.
If this declaration is used for any argument, _all_ user arguments
and ``PRIV_*`` pointers (no object pointers) to the respective
function/method will be passed in a ``struct`` *funcname*\
``_arg`` specific to this function which contains the arguments by
their name (or the name ``arg``\ *n* for unnamed arguments, *n*
being the argument position starting with 1) plus ``valid_``\
*argname* members for optional arguments which are being set to
non-zero iff the respective *argname* was provided.
Argument presence is determined at VCC time, so it is not possible
to pass an unset argument from another function call.
*eof*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment